Text Classification
Transformers
Safetensors
Vietnamese
xlm-roberta
clickbait-detection
vietnamese
viclickbait-2025
text-embeddings-inference
Instructions to use BaoNhan/cafebert-ViClickbait-2025 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BaoNhan/cafebert-ViClickbait-2025 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="BaoNhan/cafebert-ViClickbait-2025")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("BaoNhan/cafebert-ViClickbait-2025") model = AutoModelForSequenceClassification.from_pretrained("BaoNhan/cafebert-ViClickbait-2025", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "non-clickbait": { | |
| "precision": 0.9310344827586207, | |
| "recall": 0.7941176470588235, | |
| "f1-score": 0.8571428571428571, | |
| "support": 238.0 | |
| }, | |
| "clickbait": { | |
| "precision": 0.6474820143884892, | |
| "recall": 0.8653846153846154, | |
| "f1-score": 0.7407407407407407, | |
| "support": 104.0 | |
| }, | |
| "accuracy": 0.8157894736842105, | |
| "macro avg": { | |
| "precision": 0.7892582485735549, | |
| "recall": 0.8297511312217194, | |
| "f1-score": 0.7989417989417988, | |
| "support": 342.0 | |
| }, | |
| "weighted avg": { | |
| "precision": 0.8448080011489901, | |
| "recall": 0.8157894736842105, | |
| "f1-score": 0.8217457223305178, | |
| "support": 342.0 | |
| } | |
| } |