Downloads · 30 days
4
16% of all-time downloads
BaoNhan/visobert-ViClickbait-2025
visobert-ViClickbait-2025 is a text classification model from BaoNhan. Use it when you need a label for a piece of text. It is set up for transformers.
Fine-tuned from uitnlp/visobert for binary Vietnamese clickbait detection.
Downloads · 30 days
4
16% of all-time downloads
All-time downloads
25
Public
Parameters
97.6M
391 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors390 MB · 99%
From the Hugging Face model README
Fine-tuned from uitnlp/visobert for binary Vietnamese clickbait detection.
StratifiedGroupKFold with seed 42.True.| Metric | Mean ± sample std |
|---|---|
| Test Macro-F1 | 0.7629 ± 0.0039 |
| Test accuracy | 0.7788 ± 0.0034 |
| Dev Macro-F1 | 0.7589 ± 0.0056 |
Representative seed: 22, selected only by development Macro-F1.
| seed | dev_macro_f1 | test_macro_f1 | test_accuracy |
|---|---|---|---|
| 22 | 0.7645 | 0.7585 | 0.7749 |
| 42 | 0.759 | 0.7655 | 0.7807 |
| 202 | 0.7534 | 0.7648 | 0.7807 |
0: non-clickbait1: clickbaitfrom transformers import AutoModelForSequenceClassification, AutoTokenizer
model_id = "BaoNhan/visobert-ViClickbait-2025"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForSequenceClassification.from_pretrained(model_id)
title = "Tiêu đề bài báo"
lead = "Đoạn dẫn của bài báo"
inputs = tokenizer(title, lead, return_tensors="pt", truncation=True, max_length=256)
prediction = model(**inputs).logits.argmax(dim=-1).item()
print(model.config.id2label[prediction])
The dataset is small, temporally bounded to 2023–2025, and collected from eight Vietnamese news platforms. Results may not transfer to social media, other publishers, or emerging clickbait styles.