visolex / emotion-roberta-gru

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: January 05 2026
text-classification

Introduction of emotion-roberta-gru

Model Details of emotion-roberta-gru

roberta-gru: Emotion Recognition for Vietnamese Text

This model is a fine-tuned version of vinai/phobert-base-v2 on the VSMEC dataset for emotion recognition in Vietnamese text.

Model Details
  • Base Model : vinai/phobert-base-v2
  • Description : RoBERTa + GRU Hybrid
  • Dataset : VSMEC (Vietnamese Social Media Emotion Corpus)
  • Fine-tuning Framework : HuggingFace Transformers
  • Task : Emotion Classification (7 classes)
Hyperparameters
  • Batch size: 32
  • Learning rate: 2e-5
  • Epochs: 100
  • Max sequence length: 256
  • Weight decay: 0.01
  • Warmup steps: 500
Dataset

The model was trained on the VSMEC dataset, which contains 6,927 Vietnamese social media text samples annotated with emotion labels. The dataset includes the following emotion categories:

  • Enjoyment (0): Positive emotions, joy, happiness
  • Sadness (1): Sad, disappointed, gloomy feelings
  • Anger (2): Angry, frustrated, irritated
  • Fear (3): Scared, anxious, worried
  • Disgust (4): Disgusted, repelled
  • Surprise (5): Surprised, shocked, amazed
  • Other (6): Neutral or unclassified emotions
Results

The model was evaluated using the following metrics:

  • Accuracy : 0.6595
  • Macro-F1 : 0.6464
  • Macro-Precision : 0.6440
  • Macro-Recall : 0.6591
Usage

You can use this model for emotion recognition in Vietnamese text. Below is an example of how to use it with the HuggingFace Transformers library:

from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch

# Load model and tokenizer
tokenizer = AutoTokenizer.from_pretrained(f"visolex/{model_key}")
model = AutoModelForSequenceClassification.from_pretrained(f"visolex/{model_key}")

# Example text
text = "Tôi rất vui vì hôm nay trời đẹp!"

# Tokenize
inputs = tokenizer(text, return_tensors="pt", truncation=True, max_length=256)

# Predict
outputs = model(**inputs)
predicted_class = outputs.logits.argmax(dim=-1).item()

# Map to emotion name
emotion_map = {{
    0: "Enjoyment",
    1: "Sadness",
    2: "Anger",
    3: "Fear",
    4: "Disgust",
    5: "Surprise",
    6: "Other"
}}

predicted_emotion = emotion_map[predicted_class]
print(f"Text: {{text}}")
print(f"Predicted emotion: {{predicted_emotion}}")
Citation

If you use this model, please cite:

@misc{{visolex_emotion_{model_key},
  title={{ {description} for Vietnamese Emotion Recognition}},
  author={{ViSoLex Team}},
  year={{2024}},
  url={{https://huggingface.co/visolex/{model_key}}}
}}
License

This model is released under the Apache-2.0 license.

Acknowledgments
  • Base model: {base_model}
  • Dataset: VSMEC (Vietnamese Social Media Emotion Corpus)
  • ViSoLex Toolkit

Runs of visolex emotion-roberta-gru on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About emotion-roberta-gru huggingface.co Model

More emotion-roberta-gru license Visit here:

https://choosealicense.com/licenses/apache-2.0

emotion-roberta-gru huggingface.co

emotion-roberta-gru huggingface.co is an AI model on huggingface.co that provides emotion-roberta-gru's model effect (), which can be used instantly with this visolex emotion-roberta-gru model. huggingface.co supports a free trial of the emotion-roberta-gru model, and also provides paid use of the emotion-roberta-gru. Support call emotion-roberta-gru model through api, including Node.js, Python, http.

emotion-roberta-gru huggingface.co Url

https://huggingface.co/visolex/emotion-roberta-gru

visolex emotion-roberta-gru online free

emotion-roberta-gru huggingface.co is an online trial and call api platform, which integrates emotion-roberta-gru's modeling effects, including api services, and provides a free online trial of emotion-roberta-gru, you can try emotion-roberta-gru online for free by clicking the link below.

visolex emotion-roberta-gru online free url in huggingface.co:

https://huggingface.co/visolex/emotion-roberta-gru

emotion-roberta-gru install

emotion-roberta-gru is an open source model from GitHub that offers a free installation service, and any user can find emotion-roberta-gru on GitHub to install. At the same time, huggingface.co provides the effect of emotion-roberta-gru install, users can directly use emotion-roberta-gru installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

emotion-roberta-gru install url in huggingface.co:

https://huggingface.co/visolex/emotion-roberta-gru

Url of emotion-roberta-gru

emotion-roberta-gru huggingface.co Url

Provider of emotion-roberta-gru huggingface.co

visolex
ORGANIZATIONS

Other API from visolex

huggingface.co

Total runs: 56
Run Growth: 20
Growth Rate: 35.09%
Updated:January 05 2026
huggingface.co

Total runs: 49
Run Growth: 24
Growth Rate: 46.15%
Updated:January 05 2026
huggingface.co

Total runs: 32
Run Growth: 17
Growth Rate: 53.13%
Updated:January 05 2026
huggingface.co

Total runs: 19
Run Growth: 8
Growth Rate: 42.11%
Updated:June 20 2025
huggingface.co

Total runs: 18
Run Growth: -18
Growth Rate: -94.74%
Updated:January 05 2026
huggingface.co

Total runs: 12
Run Growth: -2
Growth Rate: -15.38%
Updated:January 05 2026
huggingface.co

Total runs: 9
Run Growth: -2
Growth Rate: -25.00%
Updated:January 05 2026
huggingface.co

Total runs: 3
Run Growth: 0
Growth Rate: 0.00%
Updated:January 05 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:October 17 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:October 29 2025