christinacdl/clickbait_notclickbait_dataset
Viewer • Updated • 54.8k • 164
How to use christinacdl/clickbait_binary_detection_DeBERTa with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="christinacdl/clickbait_binary_detection_DeBERTa") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("christinacdl/clickbait_binary_detection_DeBERTa")
model = AutoModelForSequenceClassification.from_pretrained("christinacdl/clickbait_binary_detection_DeBERTa")This model is a fine-tuned version of microsoft/deberta-v3-large on an unknown dataset. It achieves the following results on the evaluation set:
Performance on test set:
Accuracy: 0.911986301369863
F1 score: 0.9053903329555788
Precision: 0.9069346899004087
Recall : 0.9039394560612273
Matthews Correlation Coefficient: 0.8108686139956713
Precision of each class: [0.92560647 0.88826291]
Recall of each class: [0.93518519 0.87269373]
F1 score of each class: [0.93037117 0.88040949]
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.2692 | 1.0 | 5475 | 0.2676 | 0.9051 | 0.9142 | 0.9142 |
| 0.2492 | 2.0 | 10951 | 0.3331 | 0.9078 | 0.9156 | 0.9156 |
| 0.2189 | 3.0 | 16426 | 0.3909 | 0.9107 | 0.9169 | 0.9169 |
| 0.1769 | 4.0 | 21902 | 0.3799 | 0.9114 | 0.9178 | 0.9178 |
| 0.1479 | 5.0 | 27377 | 0.5103 | 0.8980 | 0.9032 | 0.9032 |
| 0.108 | 6.0 | 32853 | 0.5215 | 0.9123 | 0.9183 | 0.9183 |
| 0.0957 | 7.0 | 38328 | 0.6549 | 0.8974 | 0.9028 | 0.9028 |
| 0.0773 | 8.0 | 43804 | 0.6768 | 0.9044 | 0.9101 | 0.9101 |
| 0.0586 | 9.0 | 49279 | 0.6837 | 0.9023 | 0.9083 | 0.9083 |
| 0.0439 | 10.0 | 54750 | 0.7269 | 0.9010 | 0.9069 | 0.9069 |