You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Emotion DeBERTa – 5-Class Emotion Classifier

Model Description

Emotion DeBERTa – 5-Class Emotion Classifier

Model Description

This model is a fine-tuned version of DeBERTa-v3-base for emotion classification. It predicts one of five emotional states from input text:

  • anger
  • fear
  • joy
  • sadness
  • surprise

The model was trained as part of a university capstone project focused on building an emotion-aware mental healthcare companion.

Base Model

  • microsoft/deberta-v3-base

Training Details

  • Task: Text-based emotion classification
  • Architecture: DeBERTa encoder with a custom classification head
  • Number of labels: 5
  • Training method: Supervised fine-tuning
  • Output: Single-label emotion prediction

The model was originally trained using a custom PyTorch class and later converted into Hugging Face format for deployment and reproducibility.

Intended Use

This model is designed for:

  • Emotion-aware chat applications
  • Mental health companion systems
  • Sentiment and emotional analysis in academic projects
  • Research and educational purposes

It is not intended for clinical diagnosis or professional mental health decisions.

Limitations

  • Trained on a limited dataset
  • May not generalize well to:
    • Slang-heavy text
    • Code-mixed or multilingual inputs
    • Highly sarcastic or ambiguous sentences
  • Predictions should be treated as probabilistic, not factual

Example Usage

from transformers import pipeline

classifier = pipeline(
    "text-classification",
    model="Sadman4701/Deberta-v3-base-for-apricity"
)

classifier("I feel empty and tired all the time.")
Downloads last month
43
Safetensors
Model size
0.2B params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support