Mahnazfazal's picture
Upload README.md with huggingface_hub
e19fd3d verified
|
Raw History Blame Contribute Delete
716 Bytes
metadata
language: en
license: apache-2.0
pipeline_tag: text-classification
tags:
  - bert
  - emotion
  - text-classification
  - fine-tuned

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.