File size: 1,000 Bytes
5f601d6
 
 
 
 
 
 
 
 
 
 
 
 
 
7ed447f
5f601d6
 
7ed447f
5f601d6
 
 
7ed447f
 
 
 
 
 
 
5f601d6
b878213
5f601d6
 
 
 
 
 
b878213
 
 
5f601d6
 
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
language: en
tags:
- emotion-classification
- text-classification
- distilbert
datasets:
- dair-ai/emotion
metrics:
- accuracy
---

# Emotion Classification Model
## Model Description
This model fine-tunes DistilBERT for a multi-class emotion classification task. The dataset that is used is dair-ai/emotion containing six emotion classes: sadness, joy, love, anger, fear and suprise
## Training and Evaluation
- Training Dataset: dair-ai/emotion (16,000 examples)
- Validation Dataset: dair-ai/emotion (2,000 examples)
- Validation Accuracy: [Your Results]
- Test Accuracy: [Your Results]
- Training Time: [Your Time]

## Hyperparameters
- Learning Rate: 5e-5
- Batch Size: 16
- Epochs: 4
- Weight Decay: 0.01

## Usage
```python
from transformers import pipeline
classifier = pipeline("text-classification",
model="your-username/emotion-classification-model")
text = "I’m so happy today!"
result = classifier(text)
print(result)
```


## Limitations
[Discuss any limitations you observed...]