Views
No views yet
microsoft/deberta-v3-base fine-tuned for emotion classification
Repository: https://huggingface.co/mcgowee/empathetic-deberta-v3
License: Apache-2.0empathetic_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 categoriesmicrosoft/deberta-v3-base3e-5100.01chat_historyLabelEncoder1from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipeline
2
3# Load tokenizer and model
4tokenizer = AutoTokenizer.from_pretrained("mcgowee/empathetic-deberta-v3")
5model = AutoModelForSequenceClassification.from_pretrained("mcgowee/empathetic-deberta-v3")
6
7# Create classification pipeline
8classifier = pipeline(
9 "text-classification",
10 model=model,
11 tokenizer=tokenizer,
12 device=0 # use -1 for CPU
13)
14
15# Example inference
16text = "I’m frustrated that my flight got canceled again."
17result = classifier(text)
18print(result)1@misc{mcgowee_empathetic-deberta-v3_2025,
2 title = {Empathetic-Deberta-v3: DeBERTa-v3 Model Fine-Tuned for Emotion Classification},
3 author = {Earl McGowen (mcgowee)},
4 year = {2025},
5 howpublished = {\url{https://huggingface.co/mcgowee/empathetic-deberta-v3}}
6}