BERT Emotion Encoder

Encoder-only BERT fine-tuned for six-class emotion classification on dair-ai/emotion.

  • Base model: google-bert/bert-base-uncased
  • Dataset: dair-ai/emotion
  • Labels: sadness, joy, love, anger, fear, surprise
  • Training: 2 epochs, learning rate 2e-5
  • Test metrics: { "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 AutoModelForSequenceClassification and AutoTokenizer.

Downloads last month
45
Safetensors
Model size
0.1B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support