Downloads · 30 days
4
12% of all-time downloads
sweetpablo/sentiment_fine_tune_bert
sentiment_fine_tune_bert is a text classification model from sweetpablo. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
probably proofread and complete it, then remove this comment. --
Downloads · 30 days
4
12% of all-time downloads
All-time downloads
33
Public
Repo size
268 MB
Likes
0
Public
Click a slice to open those files.
.h5268 MB · 99%
From the Hugging Face model README
This model is a fine-tuned version of distilbert-base-uncased on a spam classification dataset. It achieves the following results on the evaluation set: {'eval_loss': 0.017569826330457415}
The model can be used for classifing whether the text is spam or not.
Trained using TFTrainer
num_train_epochs = 2,
per_device_train_batch_size = 8,
per_device_eval_batch_size = 16,
eval_steps=100,
warmup_steps = 500,
weight_decay = 0.01,
logging_steps = 10,
Confusion matrix - [[955, 0], [ 0, 160]]
precision recall f1-score support
0 1.00 1.00 1.00 955
1 1.00 1.00 1.00 160
accuracy 1.00 1115
macro avg 1.00 1.00 1.00 1115
weighted avg 1.00 1.00 1.00 1115