Test metrics are reported as mean ± sample standard deviation over seeds [42, 22, 202].
1{
2 "0": "lecturer",
3 "1": "training_program",
4 "2": "facility",
5 "3": "others"
6}
1import torch
2from transformers import AutoModelForSequenceClassification, AutoTokenizer
3
4model_id = "BaoNhan/bn-newsbert-UITVSFC-T"
5tokenizer = AutoTokenizer.from_pretrained(model_id, use_fast=False)
6model = AutoModelForSequenceClassification.from_pretrained(model_id)
7
8# This checkpoint follows PhoBERT-style preprocessing; segment raw Vietnamese with VnCoreNLP first.
9text = "Đây là văn_bản tiếng_Việt đã được chuẩn_hóa ."
10inputs = tokenizer(text, return_tensors="pt", truncation=True, max_length=256)
11with torch.no_grad():
12 probabilities = model(**inputs).logits.softmax(dim=-1)[0]
13predicted_id = int(probabilities.argmax())
14print(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}