Views
No views yet
uitnlp/visobert fine-tuned for binary Vietnamese fake-news classification on the text-only ViFN benchmark.| Metric | Mean ± std |
|---|---|
| Test Macro-F1 | 0.8675 ± 0.0164 |
| Test accuracy | 0.8676 ± 0.0164 |
| Test macro precision | 0.8686 ± 0.0158 |
| Test macro recall | 0.8677 ± 0.0164 |
| Development Macro-F1 | 0.8603 ± 0.0107 |
| seed | dev_macro_f1 | test_macro_f1 | test_accuracy | micro_batch_size | gradient_accumulation_steps |
|---|---|---|---|---|---|
| 22.000000 | 0.872025 | 0.857977 | 0.858156 | 4.000000 | 2.000000 |
| 42.000000 | 0.857806 | 0.886519 | 0.886525 | 4.000000 | 2.000000 |
| 202.000000 | 0.851034 | 0.858092 | 0.858156 | 4.000000 | 2.000000 |
1{
2 "0": "0",
3 "1": "1"
4}1import torch
2from transformers import AutoModelForSequenceClassification, AutoTokenizer
3
4model_id = "BaoNhan/visobert-vifn"
5tokenizer = AutoTokenizer.from_pretrained(model_id, use_fast=False)
6model = AutoModelForSequenceClassification.from_pretrained(model_id)
7
8text = "Đây là nội dung tin tức tiếng Việt cần phân loại."
9inputs = tokenizer(text, return_tensors="pt", truncation=True, max_length=256)
10with torch.no_grad():
11 probabilities = model(**inputs).logits.softmax(dim=-1)[0]
12predicted_id = int(probabilities.argmax())
13print(model.config.id2label[predicted_id], probabilities.tolist())aggregate_metrics.json: complete aggregate metrics and training manifest.artifacts/per_seed_results.csv: one row per fine-tuning seed.artifacts/seed_*_confusion_matrix.csv: confusion matrix for each seed.artifacts/seed_*_classification_report.json: per-class metrics.artifacts/seed_*_test_predictions.csv: IDs, gold/predicted labels and probabilities; raw text is excluded.1@article{huynh2025vifn,
2 title={Utilizing Transformer Models To Detect Vietnamese Fake News on Social Media Platforms},
3 author={Huynh, Anh-Tuan and Tran, Phuoc},
4 journal={KSII Transactions on Internet and Information Systems},
5 volume={19},
6 number={2},
7 pages={472--487},
8 year={2025},
9 doi={10.3837/TIIS.2025.02.006}
10}