|
--- |
|
license: apache-2.0 |
|
metrics: |
|
- accuracy |
|
- f1 |
|
base_model: |
|
- distilbert/distilbert-base-cased |
|
--- |
|
|
|
See https://www.kaggle.com/code/dima806/email-spam-classification-distilbert for details. |
|
|
|
![image/png](https://cdn-uploads.huggingface.co/production/uploads/6449300e3adf50d864095b90/8wjnr2lO94oGM1TzgPIh6.png) |
|
|
|
``` |
|
Classification report: |
|
|
|
precision recall f1-score support |
|
|
|
No spam 0.9933 0.9898 0.9915 7908 |
|
Spam 0.9908 0.9940 0.9924 8782 |
|
|
|
accuracy 0.9920 16690 |
|
macro avg 0.9920 0.9919 0.9919 16690 |
|
weighted avg 0.9920 0.9920 0.9920 16690 |
|
``` |