Views
No views yet
xlm-roberta-base fine-tuned for UITVSFC-S on UIT-VSFC.| Metric | Mean ± std |
|---|---|
| Test Macro-F1 | 0.8144 ± 0.0215 |
| Test accuracy | 0.9483 ± 0.0029 |
| Test macro precision | 0.8832 ± 0.0033 |
| Test macro recall | 0.7821 ± 0.0245 |
| Development Macro-F1 | 0.8346 ± 0.0147 |
| seed | dev_macro_f1 | test_macro_f1 | test_accuracy | micro_batch_size | gradient_accumulation_steps |
|---|---|---|---|---|---|
| 22.000000 | 0.839254 | 0.822235 | 0.950556 | 8.000000 | 1.000000 |
| 42.000000 | 0.846464 | 0.830901 | 0.949320 | 8.000000 | 1.000000 |
| 202.000000 | 0.818184 | 0.790007 | 0.944994 | 8.000000 | 1.000000 |
1{
2 "0": "negative",
3 "1": "neutral",
4 "2": "positive"
5}1import torch
2from transformers import AutoModelForSequenceClassification, AutoTokenizer
3
4model_id = "BaoNhan/xlm-roberta-base-UITVSFC-S"
5tokenizer = AutoTokenizer.from_pretrained(model_id, use_fast=False)
6model = AutoModelForSequenceClassification.from_pretrained(model_id)
7
8text = "Đây là nội dung 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: 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@InProceedings{8573337,
2 author={Nguyen, Kiet Van and Nguyen, Vu Duc and Nguyen, Phu X. V. and Truong, Tham T. H. and Nguyen, Ngan Luu-Thuy},
3 booktitle={2018 10th International Conference on Knowledge and Systems Engineering (KSE)},
4 title={UIT-VSFC: Vietnamese Students' Feedback Corpus for Sentiment Analysis},
5 year={2018},
6 pages={19--24},
7 doi={10.1109/KSE.2018.8573337}
8}