End of training
Browse files
README.md
CHANGED
@@ -44,32 +44,32 @@ 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 |
|
48 |
-
| 2500 | 0.0404 |
|
49 |
-
| 5000 | 0.0808 |
|
50 |
-
| 7500 | 0.1212 |
|
51 |
-
| 10000 | 0.1616 |
|
52 |
-
| 12500 | 0.2020 |
|
53 |
-
| 15000 | 0.2424 |
|
54 |
-
| 17500 | 0.2828 |
|
55 |
-
| 20000 | 0.3232 |
|
56 |
-
| 22500 | 0.3636 |
|
57 |
-
| 25000 | 0.4040 |
|
58 |
-
| 27500 | 0.4444 |
|
59 |
-
| 30000 | 0.4848 |
|
60 |
-
| 32500 | 0.5253 |
|
61 |
-
| 35000 | 0.5657 |
|
62 |
-
| 37500 | 0.6061 |
|
63 |
-
| 40000 | 0.6465 |
|
64 |
-
| 42500 | 0.6869 |
|
65 |
-
| 45000 | 0.7273 |
|
66 |
-
| 47500 | 0.7677 |
|
67 |
-
| 50000 | 0.8081 |
|
68 |
-
| 52500 | 0.8485 | 49.
|
69 |
-
| 55000 | 0.8889 |
|
70 |
-
| 57500 | 0.9293 | 48.
|
71 |
-
| 60000 | 0.9697 | 48.
|
72 |
-
| 61875 | 1.0 | 48.
|
73 |
|
74 |
# Resource Usage Comparison
|
75 |
|
@@ -103,7 +103,7 @@ Trained on 145,744,973 tokens from the [wikimedia/wikipedia](https://huggingface
|
|
103 |
# Training Objective
|
104 |
|
105 |
```
|
106 |
-
DistillationObjective(logits_loss_component=LossComponent(label=logits, weight=1, loss_fn=kl), attn_loss_component=LossComponent(label=attn, weight=10.0, loss_fn=
|
107 |
```
|
108 |
|
109 |
# Hyperparameters
|
@@ -120,9 +120,9 @@ The following hyperparameters were used during training:
|
|
120 |
- lr_scheduler_type: `linear`
|
121 |
- lr_scheduler_warmup_ratio: `0.5`
|
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=
|
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`
|
|
|
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.0939 | 83.073 | 10.401 | 4060086272.0 | 71468255805440.0 |
|
48 |
+
| 2500 | 0.0404 | 1192.0 | 11840.0 | 9.8250 | 30.1508 | 82.916 | 10.381 | 772.0 | 15040.0 |
|
49 |
+
| 5000 | 0.0808 | 412.0 | 2240.0 | 8.3978 | 30.1808 | 82.834 | 10.371 | 290.0 | 438.0 |
|
50 |
+
| 7500 | 0.1212 | 245.0 | 908.0 | 7.6620 | 30.1603 | 82.891 | 10.378 | 219.0 | 198.0 |
|
51 |
+
| 10000 | 0.1616 | 182.0 | 672.0 | 7.2415 | 30.2587 | 82.621 | 10.344 | 165.0 | 204.0 |
|
52 |
+
| 12500 | 0.2020 | 132.0 | 504.0 | 6.6895 | 30.1682 | 82.869 | 10.375 | 115.0 | 155.0 |
|
53 |
+
| 15000 | 0.2424 | 113.0 | 436.0 | 6.4127 | 30.186 | 82.82 | 10.369 | 89.5 | 137.0 |
|
54 |
+
| 17500 | 0.2828 | 92.5 | 340.0 | 6.1945 | 30.108 | 83.035 | 10.396 | 71.0 | 132.0 |
|
55 |
+
| 20000 | 0.3232 | 74.0 | 278.0 | 5.9293 | 30.1455 | 82.931 | 10.383 | 63.25 | 134.0 |
|
56 |
+
| 22500 | 0.3636 | 66.0 | 215.0 | 5.6606 | 30.0869 | 83.093 | 10.403 | 50.5 | 81.5 |
|
57 |
+
| 25000 | 0.4040 | 63.25 | 189.0 | 5.5592 | 30.1385 | 82.95 | 10.385 | 44.0 | 72.5 |
|
58 |
+
| 27500 | 0.4444 | 59.0 | 202.0 | 5.4963 | 30.1334 | 82.964 | 10.387 | 40.5 | 79.0 |
|
59 |
+
| 30000 | 0.4848 | 59.75 | 198.0 | 5.4789 | 30.1924 | 82.802 | 10.367 | 42.25 | 63.75 |
|
60 |
+
| 32500 | 0.5253 | 58.75 | 177.0 | 5.4552 | 30.1133 | 83.02 | 10.394 | 40.25 | 56.5 |
|
61 |
+
| 35000 | 0.5657 | 57.5 | 167.0 | 5.3773 | 30.1179 | 83.007 | 10.393 | 36.0 | 51.0 |
|
62 |
+
| 37500 | 0.6061 | 57.5 | 161.0 | 5.3443 | 30.1249 | 82.988 | 10.39 | 37.75 | 53.25 |
|
63 |
+
| 40000 | 0.6465 | 54.5 | 159.0 | 5.3258 | 30.1211 | 82.998 | 10.391 | 34.25 | 59.0 |
|
64 |
+
| 42500 | 0.6869 | 55.25 | 150.0 | 5.2937 | 30.1886 | 82.813 | 10.368 | 35.75 | 50.75 |
|
65 |
+
| 45000 | 0.7273 | 50.5 | 132.0 | 5.1564 | 30.1176 | 83.008 | 10.393 | 30.125 | 42.75 |
|
66 |
+
| 47500 | 0.7677 | 50.75 | 123.0 | 5.1254 | 30.0774 | 83.119 | 10.406 | 29.375 | 37.5 |
|
67 |
+
| 50000 | 0.8081 | 50.0 | 123.5 | 5.1100 | 30.1068 | 83.038 | 10.396 | 28.75 | 39.0 |
|
68 |
+
| 52500 | 0.8485 | 49.0 | 120.0 | 5.0958 | 30.1022 | 83.05 | 10.398 | 29.125 | 35.0 |
|
69 |
+
| 55000 | 0.8889 | 48.75 | 117.5 | 5.0753 | 30.968 | 80.728 | 10.107 | 28.125 | 35.75 |
|
70 |
+
| 57500 | 0.9293 | 48.25 | 117.0 | 5.0696 | 30.0872 | 83.092 | 10.403 | 28.0 | 33.25 |
|
71 |
+
| 60000 | 0.9697 | 48.25 | 117.0 | 5.0655 | 30.1265 | 82.983 | 10.39 | 28.0 | 33.0 |
|
72 |
+
| 61875 | 1.0 | 48.25 | 117.0 | 5.0651 | 30.1098 | 83.03 | 10.395 | 28.0 | 33.25 |
|
73 |
|
74 |
# Resource Usage Comparison
|
75 |
|
|
|
103 |
# Training Objective
|
104 |
|
105 |
```
|
106 |
+
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))
|
107 |
```
|
108 |
|
109 |
# Hyperparameters
|
|
|
120 |
- lr_scheduler_type: `linear`
|
121 |
- lr_scheduler_warmup_ratio: `0.5`
|
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 0x7f010c102dd0>`
|
126 |
- student_model_name_or_path: `None`
|
127 |
- student_config_name_or_path: `None`
|
128 |
- student_model_config: `None`
|
logs/attn_loss_fn=cos, attn_weight=10.0, projector=mlp/events.out.tfevents.1724341013.f383272e719b
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2b184c3b82f921a594040fe5dbf4714e52c23580b4a7998d985adf1cbda01b0a
|
3 |
+
size 588
|