Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
metrics:
|
4 |
+
- accuracy
|
5 |
+
- f1
|
6 |
+
base_model:
|
7 |
+
- distilbert/distilbert-base-cased
|
8 |
+
---
|
9 |
+
|
10 |
+
See https://www.kaggle.com/code/dima806/email-spam-classification-distilbert for details.
|
11 |
+
|
12 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/6449300e3adf50d864095b90/8wjnr2lO94oGM1TzgPIh6.png)
|
13 |
+
|
14 |
+
```
|
15 |
+
Classification report:
|
16 |
+
|
17 |
+
precision recall f1-score support
|
18 |
+
|
19 |
+
No spam 0.9933 0.9898 0.9915 7908
|
20 |
+
Spam 0.9908 0.9940 0.9924 8782
|
21 |
+
|
22 |
+
accuracy 0.9920 16690
|
23 |
+
macro avg 0.9920 0.9919 0.9919 16690
|
24 |
+
weighted avg 0.9920 0.9920 0.9920 16690
|
25 |
+
```
|