thainq107/vi-ntc-scv
Viewer β’ Updated β’ 50k β’ 6
How to use edith81/phobert_vietnamese_sentiment_analysis with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("edith81/phobert_vietnamese_sentiment_analysis", dtype="auto")This model is a fine-tuned version of VinAI/phobert-base using LoRA (Low-Rank Adaptation) for Vietnamese sentiment classification.
It is trained on a Vietnamese dataset to classify sentiments into positive, negative.
PhoBERT (VinAI/phobert-base)TaskType.SEQ_CLS)LoraConfig(
r=16,
lora_alpha=32,
target_modules=["query", "value"],
lora_dropout=0.1,
bias="none",
task_type=TaskType.SEQ_CLS
)
Base model
vinai/phobert-base-v2