community-datasets/id_clickbait
Updated • 182
How to use intanm/clickbait-classifier-20230408-001 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="intanm/clickbait-classifier-20230408-001") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("intanm/clickbait-classifier-20230408-001")
model = AutoModelForSequenceClassification.from_pretrained("intanm/clickbait-classifier-20230408-001")This model is a fine-tuned version of indobenchmark/indobert-base-p1 on the id_clickbait dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.4419 | 1.0 | 675 | 0.3934 | 0.8275 |
| 0.3611 | 2.0 | 1350 | 0.4369 | 0.8367 |
| 0.2017 | 3.0 | 2025 | 0.5936 | 0.8258 |
| 0.1369 | 4.0 | 2700 | 0.9894 | 0.8058 |
| 0.0941 | 5.0 | 3375 | 1.1425 | 0.82 |
| 0.0428 | 6.0 | 4050 | 1.3502 | 0.7958 |
| 0.0236 | 7.0 | 4725 | 1.4706 | 0.8058 |
| 0.0197 | 8.0 | 5400 | 1.6508 | 0.7975 |
| 0.0041 | 9.0 | 6075 | 1.7922 | 0.7967 |
| 0.0037 | 10.0 | 6750 | 1.7645 | 0.7992 |