Commit
•
4f973da
1
Parent(s):
21ac126
End of training
Browse files- README.md +80 -0
- pytorch_model.bin +1 -1
README.md
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
datasets:
|
5 |
+
- emotion
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: MiniLMv2-L12-H384-emotion
|
10 |
+
results:
|
11 |
+
- task:
|
12 |
+
name: Text Classification
|
13 |
+
type: text-classification
|
14 |
+
dataset:
|
15 |
+
name: emotion
|
16 |
+
type: emotion
|
17 |
+
args: default
|
18 |
+
metrics:
|
19 |
+
- name: Accuracy
|
20 |
+
type: accuracy
|
21 |
+
value: 0.925
|
22 |
+
---
|
23 |
+
|
24 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
25 |
+
should probably proofread and complete it, then remove this comment. -->
|
26 |
+
|
27 |
+
# MiniLMv2-L12-H384-emotion
|
28 |
+
|
29 |
+
This model is a fine-tuned version of [nreimers/MiniLMv2-L12-H384-distilled-from-RoBERTa-Large](https://huggingface.co/nreimers/MiniLMv2-L12-H384-distilled-from-RoBERTa-Large) on the emotion dataset.
|
30 |
+
It achieves the following results on the evaluation set:
|
31 |
+
- Loss: 0.2069
|
32 |
+
- Accuracy: 0.925
|
33 |
+
|
34 |
+
## Model description
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Intended uses & limitations
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Training and evaluation data
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training procedure
|
47 |
+
|
48 |
+
### Training hyperparameters
|
49 |
+
|
50 |
+
The following hyperparameters were used during training:
|
51 |
+
- learning_rate: 3e-05
|
52 |
+
- train_batch_size: 16
|
53 |
+
- eval_batch_size: 32
|
54 |
+
- seed: 42
|
55 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
56 |
+
- lr_scheduler_type: linear
|
57 |
+
- lr_scheduler_warmup_steps: 500
|
58 |
+
- num_epochs: 8
|
59 |
+
- mixed_precision_training: Native AMP
|
60 |
+
|
61 |
+
### Training results
|
62 |
+
|
63 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
64 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
65 |
+
| 0.8745 | 1.0 | 1000 | 0.6673 | 0.81 |
|
66 |
+
| 0.3466 | 2.0 | 2000 | 0.2816 | 0.918 |
|
67 |
+
| 0.2201 | 3.0 | 3000 | 0.2367 | 0.9215 |
|
68 |
+
| 0.1761 | 4.0 | 4000 | 0.2069 | 0.925 |
|
69 |
+
| 0.1435 | 5.0 | 5000 | 0.2089 | 0.922 |
|
70 |
+
| 0.1454 | 6.0 | 6000 | 0.2168 | 0.923 |
|
71 |
+
| 0.1041 | 7.0 | 7000 | 0.2081 | 0.924 |
|
72 |
+
| 0.0953 | 8.0 | 8000 | 0.2133 | 0.9245 |
|
73 |
+
|
74 |
+
|
75 |
+
### Framework versions
|
76 |
+
|
77 |
+
- Transformers 4.12.3
|
78 |
+
- Pytorch 1.9.1
|
79 |
+
- Datasets 1.15.1
|
80 |
+
- Tokenizers 0.10.3
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 163861421
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9531b684f71f257744cad40647cb93318c48b981560c94f092be732947b77d5a
|
3 |
size 163861421
|