Training in progress, step 61875
Browse files- README.md +32 -32
- config.json +1 -1
- generation_config.json +1 -1
- logs/attn_loss_fn=cos, attn_weight=25.0, layer_mapper=last_k_2, projector=linear/completed.flag +0 -0
- logs/attn_loss_fn=cos, attn_weight=5, layer_mapper=last, projector=linear/events.out.tfevents.1724360823.e3f806ea38c9 +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 | 45.7764 |
|
48 |
-
| 2500 | 0.0404 |
|
49 |
-
| 5000 | 0.0808 | 486.0 | 3120.0 | 18.
|
50 |
-
| 7500 | 0.1212 | 276.0 | 1296.0 | 17.0012 |
|
51 |
-
| 10000 | 0.1616 | 202.0 | 756.0 | 16.
|
52 |
-
| 12500 | 0.2020 | 145.0 | 540.0 | 15.
|
53 |
-
| 15000 | 0.2424 |
|
54 |
-
| 17500 | 0.2828 | 95.0 |
|
55 |
-
| 20000 | 0.3232 |
|
56 |
-
| 22500 | 0.3636 | 67.0 |
|
57 |
-
| 25000 | 0.4040 | 63.75 |
|
58 |
-
| 27500 | 0.4444 | 59.
|
59 |
-
| 30000 | 0.4848 | 59.0 |
|
60 |
-
| 32500 | 0.5253 | 58.
|
61 |
-
| 35000 | 0.5657 | 57.25 |
|
62 |
-
| 37500 | 0.6061 | 56.
|
63 |
-
| 40000 | 0.6465 | 55.
|
64 |
-
| 42500 | 0.6869 |
|
65 |
-
| 45000 | 0.7273 |
|
66 |
-
| 47500 | 0.7677 |
|
67 |
-
| 50000 | 0.8081 | 50.
|
68 |
-
| 52500 | 0.8485 | 49.
|
69 |
-
| 55000 | 0.8889 | 49.
|
70 |
-
| 57500 | 0.9293 | 49.
|
71 |
-
| 60000 | 0.9697 | 49.0 | 119.5 | 12.
|
72 |
-
| 61875 | 1.0 |
|
73 |
|
74 |
# Resource Usage Comparison
|
75 |
|
76 |
-
- VRAM Use: 7.
|
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=25.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 | 45.7764 | 25.211 | 99.163 | 12.415 | 4060086272.0 | 71468255805440.0 |
|
48 |
+
| 2500 | 0.0404 | 1728.0 | 17536.0 | 20.6058 | 25.224 | 99.112 | 12.409 | 1136.0 | 44800.0 |
|
49 |
+
| 5000 | 0.0808 | 486.0 | 3120.0 | 18.4108 | 25.2493 | 99.013 | 12.396 | 338.0 | 1112.0 |
|
50 |
+
| 7500 | 0.1212 | 276.0 | 1296.0 | 17.0012 | 25.1973 | 99.217 | 12.422 | 255.0 | 247.0 |
|
51 |
+
| 10000 | 0.1616 | 202.0 | 756.0 | 16.2093 | 25.283 | 98.881 | 12.38 | 187.0 | 294.0 |
|
52 |
+
| 12500 | 0.2020 | 145.0 | 540.0 | 15.1000 | 25.2581 | 98.978 | 12.392 | 131.0 | 175.0 |
|
53 |
+
| 15000 | 0.2424 | 124.0 | 486.0 | 14.5265 | 25.2532 | 98.997 | 12.394 | 93.5 | 146.0 |
|
54 |
+
| 17500 | 0.2828 | 95.0 | 374.0 | 14.1524 | 25.2791 | 98.896 | 12.382 | 75.5 | 135.0 |
|
55 |
+
| 20000 | 0.3232 | 78.5 | 302.0 | 13.6402 | 25.2899 | 98.854 | 12.377 | 63.5 | 162.0 |
|
56 |
+
| 22500 | 0.3636 | 67.0 | 219.0 | 13.1496 | 25.2955 | 98.832 | 12.374 | 49.75 | 85.5 |
|
57 |
+
| 25000 | 0.4040 | 63.75 | 204.0 | 12.9650 | 25.2258 | 99.105 | 12.408 | 44.25 | 80.0 |
|
58 |
+
| 27500 | 0.4444 | 59.75 | 202.0 | 12.8388 | 25.2851 | 98.873 | 12.379 | 39.75 | 78.5 |
|
59 |
+
| 30000 | 0.4848 | 59.0 | 192.0 | 12.8199 | 25.3036 | 98.8 | 12.37 | 41.0 | 58.75 |
|
60 |
+
| 32500 | 0.5253 | 58.25 | 177.0 | 12.7685 | 25.2394 | 99.051 | 12.401 | 38.0 | 67.5 |
|
61 |
+
| 35000 | 0.5657 | 57.25 | 172.0 | 12.6534 | 25.2884 | 98.859 | 12.377 | 35.75 | 45.5 |
|
62 |
+
| 37500 | 0.6061 | 56.5 | 157.0 | 12.6015 | 25.2802 | 98.892 | 12.381 | 36.75 | 49.0 |
|
63 |
+
| 40000 | 0.6465 | 55.5 | 156.0 | 12.5839 | 25.2894 | 98.856 | 12.377 | 33.75 | 63.25 |
|
64 |
+
| 42500 | 0.6869 | 55.0 | 148.0 | 12.5142 | 25.2104 | 99.166 | 12.416 | 35.0 | 43.0 |
|
65 |
+
| 45000 | 0.7273 | 51.25 | 135.0 | 12.2868 | 25.2856 | 98.87 | 12.379 | 29.625 | 46.5 |
|
66 |
+
| 47500 | 0.7677 | 50.75 | 125.0 | 12.2409 | 25.2644 | 98.954 | 12.389 | 29.0 | 37.25 |
|
67 |
+
| 50000 | 0.8081 | 50.75 | 124.5 | 12.2177 | 25.286 | 98.869 | 12.378 | 28.875 | 39.0 |
|
68 |
+
| 52500 | 0.8485 | 49.5 | 121.5 | 12.1931 | 25.2638 | 98.956 | 12.389 | 28.5 | 35.25 |
|
69 |
+
| 55000 | 0.8889 | 49.5 | 120.5 | 12.1621 | 25.2759 | 98.908 | 12.383 | 28.0 | 35.75 |
|
70 |
+
| 57500 | 0.9293 | 49.0 | 120.0 | 12.1492 | 25.2276 | 99.098 | 12.407 | 27.875 | 34.25 |
|
71 |
+
| 60000 | 0.9697 | 49.0 | 119.5 | 12.1404 | 25.2436 | 99.035 | 12.399 | 27.75 | 34.0 |
|
72 |
+
| 61875 | 1.0 | 48.75 | 119.5 | 12.1397 | 25.124 | 99.507 | 12.458 | 27.875 | 34.25 |
|
73 |
|
74 |
# Resource Usage Comparison
|
75 |
|
76 |
+
- VRAM Use: 7.7830 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)**: torch.bfloat16 -> 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=25.0, loss_fn=cos, layer_mapper=layer-2))`
|
124 |
- train_embeddings: `True`
|
125 |
+
- lr_scheduler: `<torch.optim.lr_scheduler.LambdaLR object at 0x7f15017afeb0>`
|
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.1
|
158 |
+
- Pytorch 2.5.0.dev20240821+cu121
|
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.1",
|
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.1"
|
6 |
}
|
logs/attn_loss_fn=cos, attn_weight=25.0, layer_mapper=last_k_2, projector=linear/completed.flag
ADDED
File without changes
|
logs/attn_loss_fn=cos, attn_weight=5, layer_mapper=last, projector=linear/events.out.tfevents.1724360823.e3f806ea38c9
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e79bec214169658cf9a34d2f7a56384080942aa886f304d042efa16b61d9aeb0
|
3 |
+
size 29632519
|
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:aec8debc139603111c41d4fac2092835f2c3e4a8ecdbd0865f4c01b06c0b27dd
|
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:a86cf42050696fe0f3ac4102f572b85ef26de5fc5903dc46db8a7e9db5cb1b23
|
3 |
size 1017899144
|