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.9158878504672897, | |
| "recall": 0.8235294117647058, | |
| "f1-score": 0.8672566371681416, | |
| "support": 238.0 | |
| }, | |
| "clickbait": { | |
| "precision": 0.671875, | |
| "recall": 0.8269230769230769, | |
| "f1-score": 0.7413793103448276, | |
| "support": 104.0 | |
| }, | |
| "accuracy": 0.8245614035087719, | |
| "macro avg": { | |
| "precision": 0.7938814252336448, | |
| "recall": 0.8252262443438914, | |
| "f1-score": 0.8043179737564846, | |
| "support": 342.0 | |
| }, | |
| "weighted avg": { | |
| "precision": 0.8416851123134941, | |
| "recall": 0.8245614035087719, | |
| "f1-score": 0.8289781518183619, | |
| "support": 342.0 | |
| } | |
| } |