Views
No views yet
vinai/phobert-base fine-tuned for UITVSFC-S on UIT-VSFC.| Metric | Mean ± std |
|---|---|
| Test Macro-F1 | 0.8325 ± 0.0073 |
| Test accuracy | 0.9491 ± 0.0016 |
| Test macro precision | 0.8903 ± 0.0184 |
| Test macro recall | 0.8002 ± 0.0053 |
| Development Macro-F1 | 0.8588 ± 0.0073 |
| seed | dev_macro_f1 | test_macro_f1 | test_accuracy | micro_batch_size | gradient_accumulation_steps |
|---|---|---|---|---|---|
| 22.000000 | 0.866755 | 0.837907 | 0.949320 | 8.000000 | 1.000000 |
| 42.000000 | 0.852248 | 0.835299 | 0.950556 | 8.000000 | 1.000000 |
| 202.000000 | 0.857497 | 0.824158 | 0.947466 | 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/phobert-base-UITVSFC-S"
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())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}