CoolFace
Modelpublic

BaoNhan/wikibert-ViClickbait-2025

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes6downloads
Model Card

WikiBERT — ViClickbait-2025

Fine-tuned from TurkuNLP/wikibert-base-vi-cased for binary Vietnamese clickbait detection.

Experimental setup

  • —Input: headline paired with lead paragraph; no URL, source, category, publish time, image, or engagement metadata.
  • —Fixed 80/10/10 split using StratifiedGroupKFold with seed 42.
  • —Fine-tuning seeds: [42, 22, 202]; 3 epochs per seed.
  • —Development Macro-F1 selects checkpoints and representative seed.
  • —Weighted cross-entropy from training-label frequencies: True.
  • —Effective batch size: 8; max length: 256.

Results

MetricMean ± sample std
Test Macro-F10.7714 ± 0.0046
Test accuracy0.7943 ± 0.0045
Dev Macro-F10.7968 ± 0.0158

Representative seed: 22, selected only by development Macro-F1.

Per-seed

seeddev_macro_f1test_macro_f1test_accuracy
220.81490.77450.7982
420.78880.77360.7953
2020.78660.76620.7895

Labels

  • —0: non-clickbait
  • —1: clickbait

Usage

python
from transformers import AutoModelForSequenceClassification, AutoTokenizer

model_id = "BaoNhan/wikibert-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])

Dataset

  • —Nguyen et al. (2025), ViClickbait-2025: A comprehensive dataset for Vietnamese clickbait detection. https://doi.org/10.1016/j.dib.2025.112164
  • —Dataset: https://doi.org/10.17632/3wc46bfcjc.1

Limitations

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.