Commit
•
edb0d6e
1
Parent(s):
232a6c3
End of training
Browse files- README.md +81 -0
- eval_results.txt +6 -0
- logs/events.out.tfevents.1649426059.algo-1.599.0 +2 -2
- logs/events.out.tfevents.1649426207.algo-1.599.2 +3 -0
- pytorch_model.bin +1 -1
README.md
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
datasets:
|
5 |
+
- glue
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: MiniLMv2-L6-H384-sst2
|
10 |
+
results:
|
11 |
+
- task:
|
12 |
+
name: Text Classification
|
13 |
+
type: text-classification
|
14 |
+
dataset:
|
15 |
+
name: glue
|
16 |
+
type: glue
|
17 |
+
args: sst2
|
18 |
+
metrics:
|
19 |
+
- name: Accuracy
|
20 |
+
type: accuracy
|
21 |
+
value: 0.9197247706422018
|
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-L6-H384-sst2
|
28 |
+
|
29 |
+
This model is a fine-tuned version of [nreimers/MiniLMv2-L6-H384-distilled-from-RoBERTa-Large](https://huggingface.co/nreimers/MiniLMv2-L6-H384-distilled-from-RoBERTa-Large) on the glue dataset.
|
30 |
+
It achieves the following results on the evaluation set:
|
31 |
+
- Loss: 0.2532
|
32 |
+
- Accuracy: 0.9197
|
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: 32
|
53 |
+
- eval_batch_size: 32
|
54 |
+
- seed: 42
|
55 |
+
- distributed_type: sagemaker_data_parallel
|
56 |
+
- num_devices: 8
|
57 |
+
- total_train_batch_size: 256
|
58 |
+
- total_eval_batch_size: 256
|
59 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
+
- lr_scheduler_type: linear
|
61 |
+
- lr_scheduler_warmup_steps: 500
|
62 |
+
- num_epochs: 5
|
63 |
+
- mixed_precision_training: Native AMP
|
64 |
+
|
65 |
+
### Training results
|
66 |
+
|
67 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
68 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
69 |
+
| 0.5787 | 1.0 | 264 | 0.3496 | 0.8624 |
|
70 |
+
| 0.3413 | 2.0 | 528 | 0.2599 | 0.8991 |
|
71 |
+
| 0.2716 | 3.0 | 792 | 0.2651 | 0.9048 |
|
72 |
+
| 0.2343 | 4.0 | 1056 | 0.2532 | 0.9197 |
|
73 |
+
| 0.2165 | 5.0 | 1320 | 0.2636 | 0.9151 |
|
74 |
+
|
75 |
+
|
76 |
+
### Framework versions
|
77 |
+
|
78 |
+
- Transformers 4.17.0
|
79 |
+
- Pytorch 1.10.2+cu113
|
80 |
+
- Datasets 1.18.4
|
81 |
+
- Tokenizers 0.11.6
|
eval_results.txt
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
epoch = 5.0
|
2 |
+
eval_accuracy = 0.9197247706422018
|
3 |
+
eval_loss = 0.2532024085521698
|
4 |
+
eval_runtime = 0.472
|
5 |
+
eval_samples_per_second = 1847.543
|
6 |
+
eval_steps_per_second = 8.475
|
logs/events.out.tfevents.1649426059.algo-1.599.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:2ea05215b64f88ed7a06810ed9d84c6db8e61dd7f1d15cf4d0099217ffa30ebe
|
3 |
+
size 6218
|
logs/events.out.tfevents.1649426207.algo-1.599.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a19d02953fcd4d4570ca0eac6a175cbe0553b4ef76f03c148b8d1c27ed1cae93
|
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 121229421
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dd015302b443805216a9b5c80911e88dd5444f2ba843610cac4640b2365c43ea
|
3 |
size 121229421
|