Downloads · 30 days
6
6% of all-time downloads
ZycckZ/XLM-Align-base_ABSA_finetuned
XLM-Align-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 microsoft/xlm-align-base for the task of Aspect-Based Sentiment Analysis (ABSA) on Vietnamese text. It is capable of identifying sentiments (Positive, Neutral, Negative) for speci…
Downloads · 30 days
6
6% of all-time downloads
All-time downloads
99
Public
Parameters
278M
1.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.1 GB · 98%
From the Hugging Face model README
This model is a fine-tuned version of microsoft/xlm-align-base for the task of Aspect-Based Sentiment Analysis (ABSA) on Vietnamese text. It is capable of identifying sentiments (Positive, Neutral, Negative) for specific aspects within a given sentence.
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.8250 | 0.8734 | 0.8485 |
| 1 (Neutral) | 0.7098 | 0.4517 | 0.5521 |
| 2 (Positive) | 0.8736 | 0.9344 | 0.9030 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("ZycckZ/XLM-Align-base_ABSA_finetuned")
model = AutoModelForSequenceClassification.from_pretrained("ZycckZ/XLM-Align-base_ABSA_finetuned")