Downloads · 30 days
9
10% of all-time downloads
ZycckZ/phobert-base_ABSA_finetuned
phobert-base_ABSA_finetuned is a machine learning model from ZycckZ. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model is a fine-tuned version of vinai/phobert-base for the task of Aspect-Based Sentiment Analysis (ABSA) on Vietnamese text. It is optimized specifically for the Vietnamese language, providing high accuracy in…
Downloads · 30 days
9
10% of all-time downloads
All-time downloads
90
Public
Parameters
135M
540 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors540 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of vinai/phobert-base for the task of Aspect-Based Sentiment Analysis (ABSA) on Vietnamese text. It is optimized specifically for the Vietnamese language, providing high accuracy in identifying sentiments (Positive, Neutral, Negative) for specific aspects.
The model was trained on Vietnamese ABSA datasets including thinhntr/absa and LuongPhan/UIT-ViSFD.
The model was evaluated on the test set (9141 samples).
| Class | Precision | Recall | F1-Score |
|---|---|---|---|
| 0 (Negative) | 0.8854 | 0.9232 | 0.9039 |
| 1 (Neutral) | 0.7376 | 0.6207 | 0.6741 |
| 2 (Positive) | 0.9236 | 0.9446 | 0.9340 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("ZycckZ/phobert-base_ABSA_finetuned")
model = AutoModelForSequenceClassification.from_pretrained("ZycckZ/phobert-base_ABSA_finetuned")