christinacdl/clickbait_notclickbait_dataset
Viewer • Updated • 54.8k • 20
How to use christinacdl/clickbait_binary_detection with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="christinacdl/clickbait_binary_detection") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("christinacdl/clickbait_binary_detection")
model = AutoModelForSequenceClassification.from_pretrained("christinacdl/clickbait_binary_detection")This model is a fine-tuned version of roberta-large on an unknown dataset. It achieves the following results on the evaluation set:
Performance on test set:
Accuracy: 0.9257990867579908
F1 score: 0.9199282431058413
Precision: 0.9233793490724882
Recall : 0.9168756883647268
Matthews Correlation Coefficient: 0.8402298675576902
Precision of each class: [0.931899 0.91485969]
Recall of each class: [0.95152505 0.88222632]
F1 score of each class: [0.94160977 0.89824671]
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Macro F1 | Micro F1 | Accuracy |
|---|---|---|---|---|---|---|
| 0.2296 | 1.0 | 3650 | 0.2236 | 0.9105 | 0.9183 | 0.9183 |
| 0.228 | 2.0 | 7301 | 0.2708 | 0.9115 | 0.9192 | 0.9192 |
| 0.2075 | 3.0 | 10951 | 0.3141 | 0.9164 | 0.9224 | 0.9224 |
| 0.1881 | 4.0 | 14602 | 0.3211 | 0.9143 | 0.9201 | 0.9201 |
| 0.18 | 5.0 | 18252 | 0.3852 | 0.9130 | 0.9188 | 0.9188 |
| 0.1818 | 6.0 | 21903 | 0.3784 | 0.9110 | 0.9174 | 0.9174 |
| 0.1495 | 7.0 | 25553 | 0.4606 | 0.9106 | 0.9156 | 0.9156 |
| 0.1453 | 8.0 | 29204 | 0.4630 | 0.9155 | 0.9215 | 0.9215 |