AndersNielsen
commited on
Commit
•
fe18e52
1
Parent(s):
a798f4c
Training completed!
Browse files
README.md
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: distilbert-base-uncased
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
- f1
|
10 |
+
model-index:
|
11 |
+
- name: distilbert-base-uncased-finetuned-emotion
|
12 |
+
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
# distilbert-base-uncased-finetuned-emotion
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.1618
|
23 |
+
- Accuracy: 0.937
|
24 |
+
- F1: 0.9370
|
25 |
+
|
26 |
+
## Model description
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Intended uses & limitations
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training and evaluation data
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training procedure
|
39 |
+
|
40 |
+
### Training hyperparameters
|
41 |
+
|
42 |
+
The following hyperparameters were used during training:
|
43 |
+
- learning_rate: 2e-05
|
44 |
+
- train_batch_size: 64
|
45 |
+
- eval_batch_size: 64
|
46 |
+
- seed: 42
|
47 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
48 |
+
- lr_scheduler_type: linear
|
49 |
+
- num_epochs: 8
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
54 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
55 |
+
| 0.7529 | 1.0 | 250 | 0.2673 | 0.918 | 0.9187 |
|
56 |
+
| 0.1932 | 2.0 | 500 | 0.1696 | 0.9325 | 0.9322 |
|
57 |
+
| 0.1291 | 3.0 | 750 | 0.1491 | 0.937 | 0.9375 |
|
58 |
+
| 0.0996 | 4.0 | 1000 | 0.1465 | 0.937 | 0.9367 |
|
59 |
+
| 0.0806 | 5.0 | 1250 | 0.1475 | 0.9385 | 0.9382 |
|
60 |
+
| 0.0698 | 6.0 | 1500 | 0.1567 | 0.936 | 0.9360 |
|
61 |
+
| 0.0595 | 7.0 | 1750 | 0.1611 | 0.934 | 0.9338 |
|
62 |
+
| 0.0519 | 8.0 | 2000 | 0.1618 | 0.937 | 0.9370 |
|
63 |
+
|
64 |
+
|
65 |
+
### Framework versions
|
66 |
+
|
67 |
+
- Transformers 4.44.2
|
68 |
+
- Pytorch 2.5.0+cu121
|
69 |
+
- Datasets 3.0.2
|
70 |
+
- Tokenizers 0.19.1
|