Run this model with HF Jobs

Run VinMir/GordonAI-emotion_detection on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/VinMir/GordonAI-emotion_detection. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/VinMir/GordonAI-emotion_detection on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Configuration Parsing Warning:Config file config.json cannot be fetched (too big)

Configuration Parsing Warning:Config file tokenizer_config.json cannot be fetched (too big)

GordonAI

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.

Features

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..

Usage

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)

Requirements

Python >= 3.9 transformers torch

You can install the dependencies using:

pip install transformers torch

Limitations and bias

Please consult the original DeBERTa paper and literature on different NLI datasets for potential biases.

Acknowledgments

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.

Downloads last month
56
Safetensors
Model size
0.3B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for VinMir/GordonAI-emotion_detection

Finetuned
(330)
this model