End of training
Browse files
README.md
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- emotion
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
model-index:
|
10 |
+
- name: bert-tiny-emotion-KD-distilBERT
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
name: Text Classification
|
14 |
+
type: text-classification
|
15 |
+
dataset:
|
16 |
+
name: emotion
|
17 |
+
type: emotion
|
18 |
+
config: default
|
19 |
+
split: train
|
20 |
+
args: default
|
21 |
+
metrics:
|
22 |
+
- name: Accuracy
|
23 |
+
type: accuracy
|
24 |
+
value: 0.913
|
25 |
+
---
|
26 |
+
|
27 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
28 |
+
should probably proofread and complete it, then remove this comment. -->
|
29 |
+
|
30 |
+
# bert-tiny-emotion-KD-distilBERT
|
31 |
+
|
32 |
+
This model is a fine-tuned version of [google/bert_uncased_L-2_H-128_A-2](https://huggingface.co/google/bert_uncased_L-2_H-128_A-2) on the emotion dataset.
|
33 |
+
It achieves the following results on the evaluation set:
|
34 |
+
- Loss: 0.5444
|
35 |
+
- Accuracy: 0.913
|
36 |
+
|
37 |
+
## Model description
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Intended uses & limitations
|
42 |
+
|
43 |
+
More information needed
|
44 |
+
|
45 |
+
## Training and evaluation data
|
46 |
+
|
47 |
+
More information needed
|
48 |
+
|
49 |
+
## Training procedure
|
50 |
+
|
51 |
+
### Training hyperparameters
|
52 |
+
|
53 |
+
The following hyperparameters were used during training:
|
54 |
+
- learning_rate: 5e-05
|
55 |
+
- train_batch_size: 16
|
56 |
+
- eval_batch_size: 16
|
57 |
+
- seed: 33
|
58 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
59 |
+
- lr_scheduler_type: linear
|
60 |
+
- num_epochs: 50
|
61 |
+
- mixed_precision_training: Native AMP
|
62 |
+
|
63 |
+
### Training results
|
64 |
+
|
65 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
66 |
+
|:-------------:|:-----:|:-----:|:---------------:|:--------:|
|
67 |
+
| 4.2533 | 1.0 | 1000 | 2.8358 | 0.7675 |
|
68 |
+
| 2.3274 | 2.0 | 2000 | 1.5893 | 0.8675 |
|
69 |
+
| 1.3974 | 3.0 | 3000 | 1.0286 | 0.891 |
|
70 |
+
| 0.9035 | 4.0 | 4000 | 0.7534 | 0.8955 |
|
71 |
+
| 0.6619 | 5.0 | 5000 | 0.6350 | 0.905 |
|
72 |
+
| 0.5482 | 6.0 | 6000 | 0.6180 | 0.899 |
|
73 |
+
| 0.4937 | 7.0 | 7000 | 0.5448 | 0.91 |
|
74 |
+
| 0.4013 | 8.0 | 8000 | 0.5493 | 0.906 |
|
75 |
+
| 0.3839 | 9.0 | 9000 | 0.5481 | 0.9095 |
|
76 |
+
| 0.3281 | 10.0 | 10000 | 0.5528 | 0.9115 |
|
77 |
+
| 0.3098 | 11.0 | 11000 | 0.5864 | 0.9095 |
|
78 |
+
| 0.2762 | 12.0 | 12000 | 0.5566 | 0.9095 |
|
79 |
+
| 0.2467 | 13.0 | 13000 | 0.5444 | 0.913 |
|
80 |
+
| 0.2286 | 14.0 | 14000 | 0.5306 | 0.912 |
|
81 |
+
| 0.2215 | 15.0 | 15000 | 0.5312 | 0.9115 |
|
82 |
+
| 0.2038 | 16.0 | 16000 | 0.5242 | 0.912 |
|
83 |
+
|
84 |
+
|
85 |
+
### Framework versions
|
86 |
+
|
87 |
+
- Transformers 4.22.1
|
88 |
+
- Pytorch 1.12.1+cu113
|
89 |
+
- Datasets 2.5.1
|
90 |
+
- Tokenizers 0.12.1
|
logs/events.out.tfevents.1664047312.85a9cd62cad8.3184.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:023fccbd7605610423045d5ea6e47d51a40d1a737caa87791a953ce2c783cae4
|
3 |
+
size 11965
|
logs/events.out.tfevents.1664047991.85a9cd62cad8.3184.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4668e467236e9138ae818e4edf59a1e1ca596d63096c77bcbd2cdda2ff4b15b5
|
3 |
+
size 363
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 17563879
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1c8fc7f8d7b74354517b204d54b55bfd11cf3212053194931e02470a85154a40
|
3 |
size 17563879
|