Views
No views yet
10: anger
21: disgust
32: fear
43: joy
54: sadness
65: surprise
76: neutral1def set_seed(seed=42):
2 random.seed(seed)
3 np.random.seed(seed)
4 torch.manual_seed(seed)
5 if torch.cuda.is_available():
6 torch.cuda.manual_seed_all(seed)1max_length: null
2batch_size: 32
3shuffle: True
4num_workers: 4
5pin_memory: False
6drop_last: False
7optimizer: adam
8lr: 0.000005
9weight_decay: 0
10problem_type: multi_label_classification
11num_epochs: 3| Precision | Recall | F1-score | Support | |
|---|---|---|---|---|
| anger | 0.57 | 0.36 | 0.44 | 726 |
| disgust | 0.42 | 0.29 | 0.35 | 123 |
| fear | 0.59 | 0.43 | 0.50 | 98 |
| joy | 0.78 | 0.80 | 0.79 | 2104 |
| sadness | 0.65 | 0.42 | 0.51 | 379 |
| surprise | 0.62 | 0.38 | 0.47 | 677 |
| neutral | 0.66 | 0.58 | 0.62 | 1787 |
| micro avg | 0.70 | 0.59 | 0.64 | 5894 |
| macro avg | 0.61 | 0.46 | 0.52 | 5894 |
| weighted avg | 0.68 | 0.59 | 0.63 | 5894 |
| samples avg | 0.62 | 0.61 | 0.61 | 5894 |
| Precision | Recall | F1-score | Support | |
|---|---|---|---|---|
| anger | 0.94 | 0.87 | 0.90 | 12013 |
| disgust | 0.92 | 0.92 | 0.92 | 14117 |
| fear | 0.74 | 0.80 | 0.77 | 3342 |
| joy | 0.87 | 0.88 | 0.87 | 5913 |
| sadness | 0.81 | 0.80 | 0.81 | 4786 |
| surprise | 0.93 | 0.57 | 0.71 | 1510 |
| micro avg | 0.89 | 0.87 | 0.88 | 41681 |
| macro avg | 0.74 | 0.69 | 0.71 | 41681 |
| weighted avg | 0.89 | 0.87 | 0.88 | 41681 |
| samples avg | 0.86 | 0.87 | 0.86 | 41681 |