Test metrics are reported as mean ± sample standard deviation over seeds [42, 22, 202].
1{
2 "0": "negative",
3 "1": "neutral",
4 "2": "positive"
5}
1import torch
2from transformers import AutoModelForSequenceClassification, AutoTokenizer
3
4model_id = "BaoNhan/wikibert-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())
UIT-VSFC contains student feedback from a specific educational context. Performance may not transfer to other institutions, domains, informal writing styles, or newly emerging vocabulary. Predictions should not be treated as explanations of student intent.
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}