Downloads · 30 days
0
qdovan03/vietspeech-fusion-ser
vietspeech-fusion-ser is a audio classification model from qdovan03. Use it for the audio classification task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Mô hình nhận diện cảm xúc qua giọng nói tiếng Việt, kết hợp âm thanh (wav2vec2) và văn bản (PhoBERT) theo kiến trúc late-fusion. Mô hình phân loại lời nói tiếng Việt thành 5 lớp cảm xúc.
Downloads · 30 days
0
Access
Public
Updated Jun 23, 2026
Repo size
924 MB
Likes
0
Public
Click a slice to open those files.
.pt924 MB · 100%
From the Hugging Face model README
Mô hình nhận diện cảm xúc qua giọng nói tiếng Việt, kết hợp âm thanh (wav2vec2) và văn bản (PhoBERT) theo kiến trúc late-fusion. Mô hình phân loại lời nói tiếng Việt thành 5 lớp cảm xúc.
| ID | Lớp | Gộp từ |
|---|---|---|
| 0 | Enjoyment (vui) | Enjoyment / happy |
| 1 | Sadness (buồn) | Sadness + Fear / sad + fearful |
| 2 | Anger (giận) | Anger + Disgust / angry + disgusted |
| 3 | Surprise (ngạc nhiên) | Surprise / surprised |
| 4 | Other (khác/trung tính) | Other / neutral |
audio ──→ wav2vec2-base-vietnamese-250h (+LoRA) ──→ mean-pool ─┐
├─→ concat → MLP → 5 lớp
text ──→ PhoBERT-base (+LoRA) ──→ [CLS] ─────────────────────┘
nguyenvulebinh/wav2vec2-base-vietnamese-250h, fine-tune bằng LoRA (r=16).vinai/phobert-base, fine-tune bằng LoRA (r=16).| Chỉ số | Giá trị |
|---|---|
| Accuracy | 0.743 |
| Macro-F1 | 0.613 |
F1 từng lớp: Enjoyment 0.75 · Other 0.81 · Surprise 0.54 · Anger 0.52 · Sadness 0.45.
Nhãn cảm xúc của tập huấn luyện KHÔNG do người gán. Chúng được sinh tự động
bằng mô hình iic/emotion2vec_plus_large (pseudo-labeling) trên dữ liệu giọng nói
NhutP/VietSpeech (vốn không có nhãn cảm xúc). Vì vậy:
Để đánh giá khách quan, nên dùng một tập test có nhãn do người gán.
Đây là kiến trúc tùy biến (không phải lớp model chuẩn của Transformers), cần dựng lại
MultimodalSER rồi nạp trọng số:
import torch
from huggingface_hub import hf_hub_download
# ... định nghĩa lại class MultimodalSER như khi train ...
path = hf_hub_download("qdovan03/vietspeech-fusion-ser", "best_fusion.pt")
model = MultimodalSER(num_labels=5)
state = torch.load(path, map_location="cpu")
state = {k.replace("module.", "", 1): v for k, v in state.items()}
model.load_state_dict(state)
model.eval()
Xem fusion_config.json trong repo để biết các siêu tham số.
NhutP/VietSpeech (Apache-2.0)iic/emotion2vec_plus_largeqdovan03/vietspeech-emo