Downloads · 30 days
7
2% of all-time downloads
NourhanAbosaeed/Coursera_Reviews_Sentiment_Analysis_DistillBERT
Coursera_Reviews_Sentiment_Analysis_DistillBERT is a text classification model from NourhanAbosaeed. 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
7
2% of all-time downloads
All-time downloads
453
Public
Repo size
804 MB
Likes
0
Public
Click a slice to open those files.
.h5268 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of distilbert-base-uncased on an a dataset from Cousera courses reviews, It is publicly available on Kaggle since 2017.
After data preprocessing and model training, It achieves the following results on the evaluation set:
Considering the imbalanced nature of the data, metrics such as recall, precision, and F1 score were employed for evaluation:-
The model achieves these results on the test set:
precision recall f1-score support
0 0.37 0.59 0.46 1928
1 0.71 0.74 0.72 1022
2 0.91 0.79 0.85 8712
accuracy 0.75 11662
macro avg 0.67 0.71 0.68 11662
weighted avg 0.81 0.75 0.77 11662
More information needed
More information needed
After cleaning the data, It becomes 93291 training size, 11661 for validation and 11662 for test sets.
The following hyperparameters were used during training:
| Train Loss | Validation Loss | Train Accuracy | Epoch |
|---|---|---|---|
| 0.6870 | 0.6382 | 0.7505 | 0 |
| 0.5836 | 0.5976 | 0.7583 | 1 |
| 0.4934 | 0.6018 | 0.7498 | 2 |