|
Download README.md from Mahnazfazal/bert-emotion-encoder: direct link, hf CLI and curl.
- Browser
- Download file 716 Bytes
-
https://huggingface.co/Mahnazfazal/bert-emotion-encoder/resolve/main/README.md
- Command line
-
hf download hf://Mahnazfazal/bert-emotion-encoder/README.md
-
curl -L -o README.md https://huggingface.co/Mahnazfazal/bert-emotion-encoder/resolve/main/README.md
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.