Downloads · 30 days
0
mcgowee/empathetic-deberta-v3
empathetic-deberta-v3 is a machine learning model from mcgowee. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Model type: microsoft/deberta-v3-base fine-tuned for emotion classification Repository: https://huggingface.co/mcgowee/empathetic-deberta-v3 License: Apache-2.0
Downloads · 30 days
0
Access
Public
Updated Jun 8, 2025
Repo size
3.4 GB
Likes
0
Public
Click a slice to open those files.
.pt2.3 GB · 66%
From the Hugging Face model README
Model type: microsoft/deberta-v3-base fine-tuned for emotion classification
Repository: https://huggingface.co/mcgowee/empathetic-deberta-v3
License: Apache-2.0
Empathetic-Deberta-v3 is a transformer-based sequence classification model that identifies the underlying emotion of a user’s input, leveraging DeBERTa-v3’s advanced self-attention mechanisms for robust contextual understanding fileciteturn2file0.
empathetic_dialogues_v2 from Hugging Face (Adapting et al., 2023) fileciteturn2file3.chat_history, split into individual user utterancesemotion, labeling each utterance with one of 32 emotion categoriesArchitecture:
microsoft/deberta-v3-baseHyperparameters:
3e-5100.01Libraries & Tools:
Preprocessing:
chat_historyLabelEncoderfrom transformers import AutoTokenizer, AutoModelForSequenceClassification, pipeline
# Load tokenizer and model
tokenizer = AutoTokenizer.from_pretrained("mcgowee/empathetic-deberta-v3")
model = AutoModelForSequenceClassification.from_pretrained("mcgowee/empathetic-deberta-v3")
# Create classification pipeline
classifier = pipeline(
"text-classification",
model=model,
tokenizer=tokenizer,
device=0 # use -1 for CPU
)
# Example inference
text = "I’m frustrated that my flight got canceled again."
result = classifier(text)
print(result)
Intended uses:
Limitations & Risks:
@misc{mcgowee_empathetic-deberta-v3_2025,
title = {Empathetic-Deberta-v3: DeBERTa-v3 Model Fine-Tuned for Emotion Classification},
author = {Earl McGowen (mcgowee)},
year = {2025},
howpublished = {\url{https://huggingface.co/mcgowee/empathetic-deberta-v3}}
}