File size: 716 Bytes
e19fd3d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
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`.