DistilGPT-2 Emotion Decoder
Decoder-only causal language model fine-tuned to generate an emotion label after a text prompt.
- Base model:
distilbert/distilgpt2 - Dataset:
dair-ai/emotion - Labels: sadness, joy, love, anger, fear, surprise
- Training: 2 epochs, learning rate 5e-5
- Test loss/perplexity and generated-label accuracy:
{ "BERT_accuracy": 0.927, "BERT_weighted_f1": 0.9275784931051316, "DistilGPT2_generated_label_accuracy": 0.918, "DistilGPT2_test_loss": 1.4690632820129395, "DistilGPT2_test_perplexity": 4.3451630417782265 }
Load with AutoModelForCausalLM and AutoTokenizer.
- Downloads last month
- 28