Downloads · 30 days
70
39% of all-time downloads
FiinGroup/phobert-finetuned
phobert-finetuned is a text classification model from FiinGroup. Use it when you need a label for a piece of text. It is set up for transformers.
This is a PhoBert-base model fine-tuned on ~ 15,000 Vietnamese financial news from Jan 2020 to Dec 2024.
Downloads · 30 days
70
39% of all-time downloads
All-time downloads
181
Public
Parameters
135M
1.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors540 MB · 100%
From the Hugging Face model README
This is a PhoBert-base model fine-tuned on ~ 15,000 Vietnamese financial news from Jan 2020 to Dec 2024.
Labels: 0 -> Negative, 1 -> Neutral, 2 -> Positive
Accuracy: 0.903
Please don't forget to install transformers library if you have not done it before
!pip install transformers
from transformers import pipeline
model_path = "FiinGroup/phobert-finetuned"
sentiment_task = pipeline("sentiment-analysis", model=model_path, tokenizer=model_path)
sentence = "Covid cases are increasing fast!"
sentiment_task(sentence)
Output
[{'label': 'LABEL_0', 'score': 0.7535950541496277}]
<!-- ## Full Classification Examples
-->
LeeMinTuan - BI team