boltuix / bert-emotion

huggingface.co
Total runs: 1.9K
24-hour runs: 63
7-day runs: 263
30-day runs: 254
Model's Last Updated: June 30 2025
text-classification

Introduction of bert-emotion

Model Details of bert-emotion

๐Ÿ˜Š BERT-Emotions Emotion Classifier

๐ŸŽฏ Overview

A lightweight, Emotions-powered emotion classification model fine-tuned for short text sentiment/emotion detection using BERT architecture.

Each input text is tagged with one of 13 rich emotional categories , mapped to expressive emotions ๐ŸŽญ. This model is ideal for chatbot understanding, social media sentiment, and mental health analysis based on short messages.


๐Ÿ’ซ Supported Emotions
Emotion Emoji
Sadness ๐Ÿ˜ข
Anger ๐Ÿ˜ 
Love โค๏ธ
Surprise ๐Ÿ˜ฒ
Fear ๐Ÿ˜ฑ
Happiness ๐Ÿ˜„
Neutral ๐Ÿ˜
Disgust ๐Ÿคข
Shame ๐Ÿ™ˆ
Guilt ๐Ÿ˜”
Confusion ๐Ÿ˜•
Desire ๐Ÿ”ฅ
Sarcasm ๐Ÿ˜

๐Ÿš€ Use Cases
  • ๐Ÿง  Chatbot emotion understanding
  • ๐ŸŽญ Social media sentiment tagging
  • ๐Ÿ” Mental health context detection
  • ๐Ÿ’ฌ Smart replies and reactions
  • ๐Ÿ“Š Emotional tone analysis in text

๐Ÿ› ๏ธ Usage
๐Ÿ” Basic Inference Example

A minimal example to predict the emotion behind a simple sentence.

from transformers import pipeline

# Load the fine-tuned BERT Mini sentiment analysis model
sentiment_analysis = pipeline("text-classification", model="boltuix/bert-emotions")

# Analyze sentiment
result = sentiment_analysis("i love you")
print(result)
โœ… Output
[{'label': 'love', 'score': 0.8442274928092957}]

This means the model predicts the emotion as Love โค๏ธ with 84.42% confidence.


๐Ÿ” Extended Example with Emoji Mapping

An enhanced version to map model output to human-readable emotion with emojis.

from transformers import pipeline

# Load the fine-tuned BERT-Emotions model
sentiment_analysis = pipeline("text-classification", model="boltuix/bert-emotion")

# Define label-to-emoji mapping
label_to_emoji = {
    "Sadness": "๐Ÿ˜ข",
    "Anger": "๐Ÿ˜ ",
    "Love": "โค๏ธ",
    "Surprise": "๐Ÿ˜ฒ",
    "Fear": "๐Ÿ˜ฑ",
    "Happiness": "๐Ÿ˜„",
    "Neutral": "๐Ÿ˜",
    "Disgust": "๐Ÿคข",
    "Shame": "๐Ÿ™ˆ",
    "Guilt": "๐Ÿ˜”",
    "Confusion": "๐Ÿ˜•",
    "Desire": "๐Ÿ”ฅ",
    "Sarcasm": "๐Ÿ˜"
}

# Input text
text = "i love you"

# Analyze emotion
result = sentiment_analysis(text)[0]
label = result["label"].capitalize()
emoji = label_to_emoji.get(label, "โ“")

# Output
print(f"Text: {text}")
print(f"Predicted Emotion: {label} {emoji}")
print(f"Confidence: {result['score']:.2%}")
โœ… Output
Text: i love you
Predicted Emotion: Love โค๏ธ
Confidence: 84.42%

This version enhances readability and gives an expressive emoji for the predicted emotion.


โš™๏ธ Model Details
  • ๐Ÿง  Base: BERT (uncased)
  • ๐Ÿ”ข Classes: 13 emotions
  • ๐Ÿ—ฃ๏ธ Language: English
  • ๐Ÿท๏ธ Output: Single-label classification
  • ๐Ÿงช Evaluation: Accuracy, F1, Precision, Recall

๐Ÿ“ฆ Model Card Info
  • Name: BERT-Emotions
  • Author: Boltuix
  • License: Apache-2.0
  • Version: v1.0
  • Tags: emotion, emoji, emotions, text-classification
  • Status: Public + Inference-ready

โœ๏ธ Contact

Runs of boltuix bert-emotion on huggingface.co

1.9K
Total runs
63
24-hour runs
96
3-day runs
263
7-day runs
254
30-day runs

More Information About bert-emotion huggingface.co Model

More bert-emotion license Visit here:

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

bert-emotion huggingface.co

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

bert-emotion huggingface.co Url

https://huggingface.co/boltuix/bert-emotion

boltuix bert-emotion online free

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

boltuix bert-emotion online free url in huggingface.co:

https://huggingface.co/boltuix/bert-emotion

bert-emotion install

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

bert-emotion install url in huggingface.co:

https://huggingface.co/boltuix/bert-emotion

Url of bert-emotion

bert-emotion huggingface.co Url

Provider of bert-emotion huggingface.co

boltuix
ORGANIZATIONS

Other API from boltuix

huggingface.co

Total runs: 61.2K
Run Growth: -18.5K
Growth Rate: -30.17%
Updated:June 30 2025
huggingface.co

Total runs: 3.0K
Run Growth: 150
Growth Rate: 5.04%
Updated:June 30 2025
huggingface.co

Total runs: 1.7K
Run Growth: 1.1K
Growth Rate: 62.97%
Updated:June 30 2025
huggingface.co

Total runs: 78
Run Growth: 66
Growth Rate: 84.62%
Updated:June 25 2025
huggingface.co

Total runs: 75
Run Growth: 42
Growth Rate: 56.00%
Updated:June 25 2025
huggingface.co

Total runs: 58
Run Growth: 20
Growth Rate: 34.48%
Updated:June 30 2025
huggingface.co

Total runs: 52
Run Growth: 40
Growth Rate: 76.92%
Updated:June 09 2025
huggingface.co

Total runs: 47
Run Growth: 35
Growth Rate: 74.47%
Updated:June 30 2025
huggingface.co

Total runs: 45
Run Growth: 26
Growth Rate: 57.78%
Updated:June 30 2025
huggingface.co

Total runs: 44
Run Growth: 35
Growth Rate: 79.55%
Updated:June 25 2025
huggingface.co

Total runs: 43
Run Growth: 29
Growth Rate: 67.44%
Updated:June 25 2025
huggingface.co

Total runs: 38
Run Growth: 0
Growth Rate: 0.00%
Updated:March 28 2025
huggingface.co

Total runs: 31
Run Growth: 19
Growth Rate: 61.29%
Updated:June 09 2025
huggingface.co

Total runs: 26
Run Growth: 18
Growth Rate: 69.23%
Updated:June 14 2025
huggingface.co

Total runs: 24
Run Growth: 17
Growth Rate: 70.83%
Updated:June 25 2025
huggingface.co

Total runs: 24
Run Growth: 14
Growth Rate: 58.33%
Updated:June 25 2025
huggingface.co

Total runs: 23
Run Growth: 0
Growth Rate: 0.00%
Updated:March 29 2025
huggingface.co

Total runs: 21
Run Growth: 14
Growth Rate: 66.67%
Updated:June 25 2025
huggingface.co

Total runs: 8
Run Growth: 0
Growth Rate: 0.00%
Updated:April 06 2025