/ Модель

Характеристики

Контекст
512 токенов
Параметры
205 млн
Лицензия
MIT
Архитектура
bert · dense
Базовая модель
multilingual_go_emotions_V1.1
Библиотека
transformers
Опубликована
28 июл 2025

multilingual_go_emotions_V1.2

Классификация текстаТекст → label4 профессии

Мультиязычная BERT-модель для определения нескольких эмоций и нейтрального тона в коротких текстах.

697скачиваний за 30 дней3лайкавеса обновлены6 июл 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

AnasAlokla разработала мультиязычную модель для многометочной классификации эмоций в тексте. Модель основана на BERT и дообучена на AnasAlokla/multilingual_go_emotions_V1.1; в метаданных указаны архитектура BertForSequenceClassification и 205,1 млн параметров. Контекст ограничен 512 токенами.

Модель определяет до 27 категорий эмоций и нейтральный класс, поэтому подходит для анализа отзывов, обращений в поддержку и публикаций в социальных сетях, а также для систем мониторинга настроений и чат-ботов. README заявляет поддержку арабского, английского, французского, испанского, нидерландского и турецкого языков; метаданные подтверждают пять из них, но не нидерландский. Лицензия — MIT.

Классификация может отражать эмоциональные сигналы в тексте, но сама по себе не устанавливает намерения или состояние человека. Результаты на языках и типах текста, не представленных в обучающих данных, могут быть ненадёжными; README не приводит полную таблицу оценки в предоставленном фрагменте.

Сценарии применения

  • определение эмоций в сообщениях пользователей
  • анализ тональности отзывов клиентов
  • мониторинг эмоционального фона публикаций в соцсетях
  • сортировка обращений в поддержку по эмоциональному тону
  • передача эмоциональных меток чат-боту для выбора ответа

Ограничения

Модель классифицирует текстовые сигналы и не устанавливает реальное эмоциональное состояние или намерения автора. Поддержка нидерландского заявлена в README, но отсутствует в метаданных; качество на этом языке отдельно не подтверждено.

Для каких профессий подходит4

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

🌍 Multilingual GoEmotions Classifier 💬

Languages Task Base Model

Table of Contents

Overview

This repository contains a powerful multilingual, multi-label emotion classification model. It is fine-tuned from the robust bert-base-multilingual-cased model on the comprehensive multilingual_go_emotions dataset. The model is designed to analyze text and identify a wide spectrum of 27 different emotions, plus a neutral category. Its ability to detect multiple emotions simultaneously makes it highly effective for understanding nuanced text from diverse sources.

  • Model Name: AnasAlokla/multilingual_go_emotions_V1.2
  • Architecture: BERT (bert-base-multilingual-cased)
  • Tasks: Multi-Label Text Classification | Emotion Detection | Sentiment Analysis
  • Languages: Arabic, English, French, Spanish, Dutch, Turkish

Key Features

  • 🌍 Truly Multilingual: Natively supports 6 major languages, making it ideal for global applications.
  • 🏷️ Multi-Label Classification: Capable of detecting multiple emotions in a single piece of text, capturing complex emotional expressions.
  • 💪 High Performance: Built on bert-base-multilingual-cased, delivering strong results across all supported languages and emotions. See the detailed evaluation metrics.
  • 🔗 Open & Accessible: Comes with a live demo, the full dataset, and the complete training code for full transparency and reproducibility.
  • V1.2 Improved Version: An updated model with an augmented dataset using LLMs.

Supported Emotions

The model is trained to classify text into 27 distinct emotion categories as well as a neutral class:

EmotionEmojiEmotionEmoji
Admiration🤩Love❤️
Amusement😄Nervousness😰
Anger😠Optimism✨
Annoyance🙄Pride👑
Approval👍Realization💡
Caring🤗Relief😌
Confusion😕Remorse😔
Curiosity🤔Sadness😢
Desire🔥Surprise😲
Disappointment😞Disapproval👎
Disgust🤢Gratitude🙏
Embarrassment😳Grief😭
Excitement🎉Joy😊
Fear😱Neutral😐

Links

Installation

Install the required libraries using pip:

pip install transformers torch

Quickstart: Emotion Detection

You can easily use this model for multi-label emotion classification with the transformers pipeline. Set top_k=None to see all predicted emotions above the model's default threshold.

from transformers import pipeline

# Load the multilingual, multi-label emotion classification pipeline
emotion_classifier = pipeline(
    "text-classification",
    model="multilingual_go_emotions_V1.2",
    top_k=None # To return all scores for each label
)

# --- Example 1: English ---
text_en = "I'm so happy for you, but I'm also a little bit sad to see you go."
results_en = emotion_classifier(text_en)
print(f"Text (EN): {text_en}")
print(f"Predictions: {results_en}\n")

# --- Example 2: Spanish ---
text_es = "¡Qué sorpresa! No me lo esperaba para nada."
results_es = emotion_classifier(text_es)
print(f"Text (ES): {text_es}")
print(f"Predictions: {results_es}\n")

# --- Example 3: Arabic ---
text_ar = "أشعر بخيبة أمل وغضب بسبب ما حدث"
results_ar = emotion_classifier(text_ar)
print(f"Text (AR): {text_ar}")
print(f"Predictions: {results_ar}")

Expected Output (structure):

Text (EN): I'm so happy for you, but I'm also a little bit sad to see you go. Predictions: [[{'label': 'joy', 'score': 0.9...}, {'label': 'sadness', 'score': 0.8...}, {'label': 'caring', 'score': 0.5...}, ...]]

Text (ES): ¡Qué sorpresa! No me lo esperaba para nada. Predictions: [[{'label': 'surprise', 'score': 0.9...}, {'label': 'excitement', 'score': 0.4...}, ...]]

Text (AR): أشعر بخيبة أمل وغضب بسبب ما حدث Predictions: [[{'label': 'disappointment', 'score': 0.9...}, {'label': 'anger', 'score': 0.9...}, ...]]

Evaluation

The model's performance was rigorously evaluated on the test set.

Test Set Performance

The following table shows the performance metrics of the fine-tuned model on the test set, broken down by emotion category.

The table below shows the performance of the test model:

Performance of Test Model

Labelsaccuracyprecisionrecallf1mccsupportthreshold
admiration0.9880.9560.9420.9490.942963720.60
amusement0.9890.9510.9360.9430.937817260.55
anger0.9900.9380.9040.9210.915544560.65
annoyance0.9760.8910.8560.8730.860783120.50
approval0.9860.9500.9030.9260.919799920.65
caring0.9920.9580.9360.9470.943642960.55
confusion0.9890.9410.9130.9270.921646380.70
curiosity0.9910.9570.9370.9470.942733080.70
desire0.9920.9530.9340.9430.939598620.55
disappointment0.9790.9100.8580.8830.873757260.60
disapproval0.9820.9000.8790.8900.880671580.50
disgust0.9920.9540.9190.9360.932542160.65
embarrassment0.9940.9490.9310.9400.936443160.60
excitement0.9880.9220.8990.9100.904555600.60
fear0.9890.9120.9040.9080.902506580.50
gratitude0.9960.9760.9790.9780.976741420.50
grief0.9920.9270.9090.9180.914394260.60
joy0.9830.9130.8860.8990.890724980.55
love0.9940.9670.9550.9610.957682260.65
nervousness0.9890.8980.8720.8850.879401460.60
optimism0.9870.9490.9320.9410.933904980.65
pride0.9970.9550.9520.9540.952309180.50
realization0.9900.9560.9260.9410.935739080.55
relief0.9970.9660.9550.9600.959317280.70
remorse0.9950.9660.9490.9570.955490860.65
sadness0.9800.9060.8720.8890.877771540.55
surprise0.9890.9280.9040.9160.910561300.60
neutral0.9810.9200.8760.8980.887791400.55

Test Model Performance (Threshold = 0.5)

The table below shows the performance of the test model with a threshold of 0.5:

Labelsaccuracyprecisionrecallf1mccsupportthreshold
admiration0.9880.9490.9480.9490.942963720.5
amusement0.9890.9470.9380.9430.937817260.5
anger0.9890.9210.9170.9190.913544560.5
annoyance0.9760.8910.8560.8730.860783120.5
approval0.9860.9370.9150.9260.918799920.5
caring0.9920.9550.9390.9470.943642960.5
confusion0.9880.9240.9270.9260.919646380.5
curiosity0.9900.9430.9460.9450.939733080.5
desire0.9920.9490.9370.9430.939598620.5
disappointment0.9790.8940.8720.8830.871757260.5
disapproval0.9820.9000.8790.8900.880671580.5
disgust0.9920.9420.9290.9350.931542160.5
embarrassment0.9930.9410.9370.9390.935443160.5
excitement0.9880.9100.9100.9100.904555600.5
fear0.9890.9120.9040.9080.902506580.5
gratitude0.9960.9760.9790.9780.976741420.5
grief0.9920.9160.9190.9180.913394260.5
joy0.9820.9070.8910.8990.889724980.5
love0.9930.9600.9600.9600.957682260.5
nervousness0.9890.8810.8860.8840.878401460.5
optimism0.9870.9380.9410.9400.932904980.5
pride0.9970.9550.9520.9540.952309180.5
realization0.9890.9520.9280.9400.934739080.5
relief0.9970.9560.9630.9590.958317280.5
remorse0.9950.9570.9560.9560.953490860.5
sadness0.9790.8970.8790.8880.877771540.5
surprise0.9880.9180.9120.9150.909561300.5
neutral0.9810.9140.8820.8970.887791400.5

Use Cases

This model is ideal for applications requiring nuanced emotional understanding across different languages:

Global Customer Feedback Analysis: Analyze customer reviews, support tickets, and survey responses from around the world to gauge sentiment.

Multilingual Social Media Monitoring: Track brand perception and public mood across different regions and languages.

Advanced Chatbot Development: Build more empathetic and responsive chatbots that can understand user emotions in their native language.

Content Moderation: Automatically flag toxic, aggressive, or sensitive content on international platforms.

Market Research: Gain insights into how different cultures express emotions in text.

Trained On

Base Model: AnasAlokla/multilingual_go_emotions - A powerful pretrained model supporting 104 languages.

Dataset: specialized dataset based on the original Google GoEmotions dataset, augmented using LLMs.

Fine-Tuning Guide

To adapt this model for your own dataset or to replicate the training process, you can follow the methodology outlined in the official code repository. The repository provides a complete, end-to-end example, including data preprocessing, training scripts, and evaluation logic.

For full details, please refer to the GitHub repository: emotion_chatbot

Tags

#multilingual-nlp #emotion-classification #text-classification #multi-label #bert #transformer #natural-language-processing #sentiment-analysis #deep-learning #arabic-nlp #french-nlp #spanish-nlp #goemotions #BERT-Emotion #edge-nlp #emotion-detection #offline-nlp
#sentiment-analysis #emojis #emotions #embedded-nlp #ai-for-iot #efficient-bert #nlp2025 #context-aware #edge-ml
#smart-home-ai #emotion-aware #voice-ai #eco-ai #chatbot #social-media
#mental-health #short-text #smart-replies #tone-analysis

Support & Contact

For questions, bug reports, or collaboration inquiries, please open an issue on the Hugging Face Hub repository or contact the author directly.

Author: Anas Hamid Alokla

📬 Email: anasaloklahaaa@gmail.com

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers · text-classification

Можно запустить

Подбираем GPU…

Класс архитектуры
BertForSequenceClassification
Ревизия весов
edcd30d

0 моделей