Training in progress, step 61875
Browse files- README.md +31 -31
- config.json +1 -1
- generation_config.json +1 -1
- logs/attn_loss_fn=cos, attn_weight=10.0, projector=ensemble/completed.flag +0 -0
- logs/attn_loss_fn=raw_mse, attn_weight=10.0, projector=mlp/events.out.tfevents.1724321123.f383272e719b +3 -0
- model.safetensors +1 -1
- training_args.bin +1 -1
README.md
CHANGED
@@ -44,42 +44,42 @@ More information needed
|
|
44 |
| step | epoch | enwikippl | frwikippl | loss | runtime | samples_per_second | steps_per_second | tinystoriesppl | zhwikippl |
|
45 |
| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
|
46 |
| **teacher eval** | | 43.25 | 61.25 | | | | | 11.6875 | 19.125 |
|
47 |
-
| 0 | 0 | 2473901162496.0 | 170424302305280.0 | 30.7740 |
|
48 |
-
| 2500 | 0.0404 |
|
49 |
-
| 5000 | 0.0808 | 412.0 |
|
50 |
-
| 7500 | 0.1212 | 245.0 |
|
51 |
-
| 10000 | 0.1616 |
|
52 |
-
| 12500 | 0.2020 |
|
53 |
-
| 15000 | 0.2424 |
|
54 |
-
| 17500 | 0.2828 | 93.
|
55 |
-
| 20000 | 0.3232 |
|
56 |
-
| 22500 | 0.3636 |
|
57 |
-
| 25000 | 0.4040 | 63.5 |
|
58 |
-
| 27500 | 0.4444 |
|
59 |
-
| 30000 | 0.4848 |
|
60 |
-
| 32500 | 0.5253 | 58.5 | 171.0 | 5.
|
61 |
-
| 35000 | 0.5657 | 57.
|
62 |
-
| 37500 | 0.6061 |
|
63 |
-
| 40000 | 0.6465 |
|
64 |
-
| 42500 | 0.6869 | 54.
|
65 |
-
| 45000 | 0.7273 |
|
66 |
-
| 47500 | 0.7677 | 50.
|
67 |
-
| 50000 | 0.8081 |
|
68 |
-
| 52500 | 0.8485 | 48.
|
69 |
-
| 55000 | 0.8889 | 48.
|
70 |
-
| 57500 | 0.9293 | 48.0 |
|
71 |
-
| 60000 | 0.9697 | 48.
|
72 |
-
| 61875 | 1.0 | 48.0 |
|
73 |
|
74 |
# Resource Usage Comparison
|
75 |
|
76 |
- VRAM Use: 7.7843 GB
|
77 |
|
78 |
-
|
79 |
|
80 |
- **Architecture**: `GPT2LMHeadModel` -> `GPT2LMHeadModel`
|
81 |
- **Total Parameters**: 124,439,808 -> 124,439,808
|
82 |
-
- **Data Type (dtype)**:
|
83 |
- **Model Size**: 0.24 GB -> 0.24 GB
|
84 |
|
85 |
<details>
|
@@ -122,7 +122,7 @@ The following hyperparameters were used during training:
|
|
122 |
- num_epochs: `1.0`
|
123 |
- distillation_objective: `DistillationObjective(logits_loss_component=LossComponent(label=logits, weight=1, loss_fn=kl), attn_loss_component=LossComponent(label=attn, weight=10.0, loss_fn=cos, layer_mapper=layer-2))`
|
124 |
- train_embeddings: `True`
|
125 |
-
- lr_scheduler: `<torch.optim.lr_scheduler.LambdaLR object at
|
126 |
- student_model_name_or_path: `None`
|
127 |
- student_config_name_or_path: `None`
|
128 |
- student_model_config: `None`
|
@@ -154,6 +154,6 @@ The following hyperparameters were used during training:
|
|
154 |
|
155 |
# Framework Versions
|
156 |
- Distily 0.2.0
|
157 |
-
- Transformers 4.44.
|
158 |
-
- Pytorch 2.
|
159 |
- Datasets 2.21.0
|
|
|
44 |
| step | epoch | enwikippl | frwikippl | loss | runtime | samples_per_second | steps_per_second | tinystoriesppl | zhwikippl |
|
45 |
| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
|
46 |
| **teacher eval** | | 43.25 | 61.25 | | | | | 11.6875 | 19.125 |
|
47 |
+
| 0 | 0 | 2473901162496.0 | 170424302305280.0 | 30.7740 | 30.8629 | 81.003 | 10.142 | 4060086272.0 | 71468255805440.0 |
|
48 |
+
| 2500 | 0.0404 | 1176.0 | 11520.0 | 9.8202 | 30.363 | 82.337 | 10.309 | 776.0 | 15040.0 |
|
49 |
+
| 5000 | 0.0808 | 412.0 | 2240.0 | 8.3984 | 30.2576 | 82.624 | 10.344 | 290.0 | 438.0 |
|
50 |
+
| 7500 | 0.1212 | 245.0 | 908.0 | 7.6616 | 30.2286 | 82.703 | 10.354 | 218.0 | 198.0 |
|
51 |
+
| 10000 | 0.1616 | 183.0 | 672.0 | 7.2414 | 30.2767 | 82.572 | 10.338 | 165.0 | 205.0 |
|
52 |
+
| 12500 | 0.2020 | 132.0 | 504.0 | 6.6901 | 30.2951 | 82.522 | 10.332 | 114.5 | 155.0 |
|
53 |
+
| 15000 | 0.2424 | 113.0 | 434.0 | 6.4131 | 30.208 | 82.76 | 10.362 | 89.5 | 137.0 |
|
54 |
+
| 17500 | 0.2828 | 93.0 | 340.0 | 6.1935 | 30.2459 | 82.656 | 10.349 | 71.0 | 130.0 |
|
55 |
+
| 20000 | 0.3232 | 74.5 | 280.0 | 5.9346 | 30.3009 | 82.506 | 10.33 | 64.5 | 117.0 |
|
56 |
+
| 22500 | 0.3636 | 66.5 | 213.0 | 5.6624 | 30.1305 | 82.972 | 10.388 | 50.75 | 78.0 |
|
57 |
+
| 25000 | 0.4040 | 63.5 | 197.0 | 5.5619 | 30.139 | 82.949 | 10.385 | 45.25 | 79.0 |
|
58 |
+
| 27500 | 0.4444 | 57.75 | 209.0 | 5.4901 | 30.2173 | 82.734 | 10.358 | 40.5 | 79.0 |
|
59 |
+
| 30000 | 0.4848 | 60.25 | 202.0 | 5.4756 | 30.2106 | 82.752 | 10.361 | 42.5 | 67.5 |
|
60 |
+
| 32500 | 0.5253 | 58.5 | 171.0 | 5.4479 | 30.148 | 82.924 | 10.382 | 39.5 | 58.75 |
|
61 |
+
| 35000 | 0.5657 | 57.75 | 167.0 | 5.3742 | 30.1599 | 82.892 | 10.378 | 37.0 | 50.25 |
|
62 |
+
| 37500 | 0.6061 | 58.5 | 156.0 | 5.3426 | 30.1592 | 82.893 | 10.378 | 38.25 | 59.75 |
|
63 |
+
| 40000 | 0.6465 | 54.25 | 160.0 | 5.3271 | 30.1125 | 83.022 | 10.394 | 34.25 | 54.5 |
|
64 |
+
| 42500 | 0.6869 | 54.5 | 146.0 | 5.2933 | 30.1199 | 83.002 | 10.392 | 35.75 | 56.5 |
|
65 |
+
| 45000 | 0.7273 | 51.0 | 132.0 | 5.1589 | 30.1122 | 83.023 | 10.394 | 30.375 | 41.75 |
|
66 |
+
| 47500 | 0.7677 | 50.5 | 124.5 | 5.1270 | 30.1744 | 82.852 | 10.373 | 29.5 | 36.25 |
|
67 |
+
| 50000 | 0.8081 | 50.0 | 123.0 | 5.1102 | 30.1217 | 82.997 | 10.391 | 29.0 | 38.0 |
|
68 |
+
| 52500 | 0.8485 | 48.75 | 119.5 | 5.0968 | 30.2475 | 82.651 | 10.348 | 29.25 | 33.75 |
|
69 |
+
| 55000 | 0.8889 | 48.75 | 117.0 | 5.0761 | 30.1367 | 82.955 | 10.386 | 28.625 | 33.75 |
|
70 |
+
| 57500 | 0.9293 | 48.0 | 116.5 | 5.0695 | 30.1291 | 82.976 | 10.389 | 28.125 | 31.875 |
|
71 |
+
| 60000 | 0.9697 | 48.25 | 116.0 | 5.0657 | 30.2483 | 82.649 | 10.348 | 28.125 | 31.875 |
|
72 |
+
| 61875 | 1.0 | 48.0 | 116.5 | 5.0641 | 30.2256 | 82.711 | 10.355 | 28.125 | 32.0 |
|
73 |
|
74 |
# Resource Usage Comparison
|
75 |
|
76 |
- VRAM Use: 7.7843 GB
|
77 |
|
78 |
+
`# Distillation (Teacher -> Student) Architecture Difference:
|
79 |
|
80 |
- **Architecture**: `GPT2LMHeadModel` -> `GPT2LMHeadModel`
|
81 |
- **Total Parameters**: 124,439,808 -> 124,439,808
|
82 |
+
- **Data Type (dtype)**: 124439808 -> torch.bfloat16
|
83 |
- **Model Size**: 0.24 GB -> 0.24 GB
|
84 |
|
85 |
<details>
|
|
|
122 |
- num_epochs: `1.0`
|
123 |
- distillation_objective: `DistillationObjective(logits_loss_component=LossComponent(label=logits, weight=1, loss_fn=kl), attn_loss_component=LossComponent(label=attn, weight=10.0, loss_fn=cos, layer_mapper=layer-2))`
|
124 |
- train_embeddings: `True`
|
125 |
+
- lr_scheduler: `<torch.optim.lr_scheduler.LambdaLR object at 0x7f02802ab190>`
|
126 |
- student_model_name_or_path: `None`
|
127 |
- student_config_name_or_path: `None`
|
128 |
- student_model_config: `None`
|
|
|
154 |
|
155 |
# Framework Versions
|
156 |
- Distily 0.2.0
|
157 |
+
- Transformers 4.44.0
|
158 |
+
- Pytorch 2.3.0
|
159 |
- Datasets 2.21.0
|
config.json
CHANGED
@@ -33,7 +33,7 @@
|
|
33 |
}
|
34 |
},
|
35 |
"torch_dtype": "bfloat16",
|
36 |
-
"transformers_version": "4.44.
|
37 |
"use_cache": true,
|
38 |
"vocab_size": 50257
|
39 |
}
|
|
|
33 |
}
|
34 |
},
|
35 |
"torch_dtype": "bfloat16",
|
36 |
+
"transformers_version": "4.44.0",
|
37 |
"use_cache": true,
|
38 |
"vocab_size": 50257
|
39 |
}
|
generation_config.json
CHANGED
@@ -2,5 +2,5 @@
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 50256,
|
4 |
"eos_token_id": 50256,
|
5 |
-
"transformers_version": "4.44.
|
6 |
}
|
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 50256,
|
4 |
"eos_token_id": 50256,
|
5 |
+
"transformers_version": "4.44.0"
|
6 |
}
|
logs/attn_loss_fn=cos, attn_weight=10.0, projector=ensemble/completed.flag
ADDED
File without changes
|
logs/attn_loss_fn=raw_mse, attn_weight=10.0, projector=mlp/events.out.tfevents.1724321123.f383272e719b
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4016ce1b427cdc89d42d3a9e8f3e821ca7793a0fff7c9e822fdc28cd74a56a35
|
3 |
+
size 29632520
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 248894656
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:20d8621d6d94e804ca31a4e420d3c62c86caa7388f9a1c731d1f8ab62654fb38
|
3 |
size 248894656
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1017899144
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:583096a2f5136fc2f40e01ef9082bd0bd038e85cf116331465ccd250dd8d23a8
|
3 |
size 1017899144
|