Downloads · 30 days
13
0% of all-time downloads
VinMir/GordonAI-emotion_detection
GordonAI-emotion_detection is a text classification model from VinMir. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
GordonAI is an AI package designed for sentiment analysis, emotion detection, and fact-checking classification. The models are pre-trained on three languages: Italian, English, and Spanish.
Downloads · 30 days
13
0% of all-time downloads
All-time downloads
5.9K
Public
Parameters
279M
1.1 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors1.1 GB · 98%
From the Hugging Face model README
GordonAI is an AI package designed for sentiment analysis, emotion detection, and fact-checking classification. The models are pre-trained on three languages: Italian, English, and Spanish.
This model has been trained for emotion detection and can categorize text into one of the six basic the six basic emotions defined by Paul Ekman (1992): Joy, Sadness, Fear, Anger, Surprise, Disgust, and Neutral.
The model is based on the pre-trained version of mdeberta-v3-base from Microsoft and has been fine-tuned on an emotion detection dataset to adapt to recognizing emotional expressions in text..
You can use GordonAI to predict the emotion of a text.
from transformers import pipeline
# Load the pipeline for text classification
classifier = pipeline("text-classification", model="VinMir/GordonAI-emotion_detection")
# Use the model to classify the emotion of a text
result = classifier("I love this!")
print(result)
Python >= 3.9 transformers torch
You can install the dependencies using:
pip install transformers torch
Please consult the original DeBERTa paper and literature on different NLI datasets for potential biases.
This package is part of the work for my doctoral thesis. I would like to thank NeoData and Università di Catania for their valuable contributions to the development of this project.