Downloads · 30 days
2
8% of all-time downloads
BaoNhan/bn-newsbert-ViClickbait-2025
bn-newsbert-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 BaoNhan/BN-NewsBERT for binary Vietnamese clickbait detection.
Downloads · 30 days
2
8% of all-time downloads
All-time downloads
25
Public
Parameters
560M
2.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.2 GB · 99%
From the Hugging Face model README
Fine-tuned from BaoNhan/BN-NewsBERT for binary Vietnamese clickbait detection.
StratifiedGroupKFold with seed 42.True.| Metric | Mean ± sample std |
|---|---|
| Test Macro-F1 | 0.7866 ± 0.0058 |
| Test accuracy | 0.8109 ± 0.0074 |
| Dev Macro-F1 | 0.8059 ± 0.0092 |
Representative seed: 202, selected only by development Macro-F1.
| seed | dev_macro_f1 | test_macro_f1 | test_accuracy |
|---|---|---|---|
| 22 | 0.8027 | 0.7926 | 0.8099 |
| 42 | 0.7986 | 0.781 | 0.8187 |
| 202 | 0.8162 | 0.7862 | 0.8041 |
0: non-clickbait1: clickbaitfrom transformers import AutoModelForSequenceClassification, AutoTokenizer
model_id = "BaoNhan/bn-newsbert-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.