lapp0 commited on
Commit
773d7fc
·
verified ·
1 Parent(s): 026baad

End of training

Browse files
README.md CHANGED
@@ -15,14 +15,14 @@ This student model is distilled from the teacher model [roneneldan/TinyStories-3
15
  The [Distily](https://github.com/lapp0/distily) library was used for this distillation.
16
 
17
  It achieves the following results on the evaluation set:
18
- - eval_enwikippl: 5102.7344
19
- - eval_frwikippl: 36133.4453
20
- - eval_zhwikippl: 51745.4414
21
- - eval_tinystoriesppl: 1872.7611
22
- - eval_loss: 17.3780
23
- - eval_runtime: 33.2598
24
- - eval_samples_per_second: 75.166
25
- - eval_steps_per_second: 9.411
26
 
27
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
28
  should probably proofread and complete it, then remove this comment.
@@ -45,9 +45,9 @@ More information needed
45
  ### Training hyperparameters
46
 
47
  The following hyperparameters were used during training:
48
- - distillation_objective: DistillationObjective(logits_loss_component=LossComponent(label=logits, weight=1, loss_fn=kl, layer_mapper=None, projector=None), hs_loss_component=LossComponent(label=hs, weight=10.0, loss_fn=raw_mse, layer_mapper=None, projector=None), attn_loss_component=LossComponent(label=attn, weight=10.0, loss_fn=raw_mse, layer_mapper=None, projector=None))
49
  - train_embeddings: True
50
- - learning_rate: 0.0004
51
  - train_batch_size: 16
52
  - eval_batch_size: 8
53
  - seed: 42
@@ -56,24 +56,24 @@ The following hyperparameters were used during training:
56
  - num_epochs: 1.0
57
 
58
  ### Resource Usage
59
- Peak GPU Memory: 16.2498 GB
60
 
61
  ### Eval-Phase Metrics
62
  | step | epoch | enwikippl | frwikippl | loss | runtime | samples_per_second | steps_per_second | tinystoriesppl | zhwikippl |
63
  | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
64
  | **teacher eval** | | 169.9865 | 47377.9414 | | | | | 3.9789 | 4998.1294 |
65
- | 0 | 0 | 27673.0234 | 72839.8984 | 19.1728 | 33.1089 | 75.508 | 9.454 | 16450.7617 | 62570.5625 |
66
- | 2000 | 0.1293 | 5104.3164 | 36174.1641 | 17.3784 | 33.2758 | 75.13 | 9.406 | 1874.0001 | 51745.4414 |
67
- | 4000 | 0.2586 | 5104.3164 | 36214.9648 | 17.3776 | 33.0549 | 75.632 | 9.469 | 1873.0709 | 51773.0352 |
68
- | 6000 | 0.3879 | 5104.3164 | 36133.4453 | 17.3784 | 33.0479 | 75.648 | 9.471 | 1874.3102 | 51717.8164 |
69
- | 8000 | 0.5172 | 5102.7344 | 36133.4453 | 17.3780 | 33.2598 | 75.166 | 9.411 | 1872.7611 | 51745.4414 |
70
- | 10000 | 0.6465 | 5105.8984 | 36133.4453 | 17.3784 | 33.2485 | 75.191 | 9.414 | 1875.8596 | 51745.4414 |
71
- | 12000 | 0.7757 | 5105.8984 | 36133.4453 | 17.3780 | 33.0133 | 75.727 | 9.481 | 1874.9297 | 51717.8164 |
72
- | 14000 | 0.9050 | 5104.3164 | 36214.9648 | 17.3776 | 33.2272 | 75.24 | 9.42 | 1872.7611 | 51745.4414 |
73
- | 15469 | 1.0 | 5104.3164 | 36133.4453 | 17.3784 | 33.002 | 75.753 | 9.484 | 1874.3102 | 51745.4414 |
74
 
75
  ### Framework versions
76
  - Distily 0.2.0
77
  - Transformers 4.44.0
78
  - Pytorch 2.3.0
79
- - Datasets 2.21.0
 
15
  The [Distily](https://github.com/lapp0/distily) library was used for this distillation.
16
 
17
  It achieves the following results on the evaluation set:
18
+ - eval_enwikippl: 26828.6738
19
+ - eval_frwikippl: 80365.2578
20
+ - eval_zhwikippl: 64005.7734
21
+ - eval_tinystoriesppl: 14879.9648
22
+ - eval_loss: 7.0927
23
+ - eval_runtime: 33.2949
24
+ - eval_samples_per_second: 75.087
25
+ - eval_steps_per_second: 9.401
26
 
27
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
28
  should probably proofread and complete it, then remove this comment.
 
45
  ### Training hyperparameters
46
 
47
  The following hyperparameters were used during training:
48
+ - distillation_objective: DistillationObjective(logits_loss_component=LossComponent(label=logits, weight=1, loss_fn=kl, layer_mapper=None, projector=None), hs_loss_component=LossComponent(label=hs, weight=10.0, loss_fn=mse, layer_mapper=None, projector=None), attn_loss_component=LossComponent(label=attn, weight=10.0, loss_fn=raw_mse, layer_mapper=None, projector=None))
49
  - train_embeddings: True
50
+ - learning_rate: 4e-06
51
  - train_batch_size: 16
52
  - eval_batch_size: 8
53
  - seed: 42
 
56
  - num_epochs: 1.0
57
 
58
  ### Resource Usage
59
+ Peak GPU Memory: 16.2515 GB
60
 
61
  ### Eval-Phase Metrics
62
  | step | epoch | enwikippl | frwikippl | loss | runtime | samples_per_second | steps_per_second | tinystoriesppl | zhwikippl |
63
  | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
64
  | **teacher eval** | | 169.9865 | 47377.9414 | | | | | 3.9789 | 4998.1294 |
65
+ | 0 | 0 | 27548.9473 | 81896.5703 | 7.1177 | 33.2322 | 75.228 | 9.419 | 15431.1592 | 64176.7344 |
66
+ | 2000 | 0.1293 | 26828.6738 | 80365.2578 | 7.0927 | 33.0326 | 75.683 | 9.475 | 14879.9648 | 64005.7734 |
67
+ | 4000 | 0.2586 | 26828.6738 | 80365.2578 | 7.0927 | 33.2498 | 75.188 | 9.414 | 14879.9648 | 64005.7734 |
68
+ | 6000 | 0.3879 | 26828.6738 | 80365.2578 | 7.0927 | 33.1527 | 75.409 | 9.441 | 14879.9648 | 64005.7734 |
69
+ | 8000 | 0.5172 | 26828.6738 | 80365.2578 | 7.0927 | 33.2949 | 75.087 | 9.401 | 14879.9648 | 64005.7734 |
70
+ | 10000 | 0.6465 | 26828.6738 | 80365.2578 | 7.0927 | 32.9736 | 75.818 | 9.492 | 14879.9648 | 64005.7734 |
71
+ | 12000 | 0.7757 | 26828.6738 | 80365.2578 | 7.0927 | 33.0002 | 75.757 | 9.485 | 14879.9648 | 64005.7734 |
72
+ | 14000 | 0.9050 | 26828.6738 | 80365.2578 | 7.0927 | 33.0244 | 75.702 | 9.478 | 14879.9648 | 64005.7734 |
73
+ | 15469 | 1.0 | 26828.6738 | 80365.2578 | 7.0927 | 33.0358 | 75.675 | 9.475 | 14879.9648 | 64005.7734 |
74
 
75
  ### Framework versions
76
  - Distily 0.2.0
77
  - Transformers 4.44.0
78
  - Pytorch 2.3.0
79
+ - Datasets 2.20.0
logs/attn_loss_fn=raw_mse, attn_weight=10.0, hs_loss_fn=mse, hs_weight=10.0, learning_rate=4e-06/events.out.tfevents.1723766171.93d6cbb3ad53 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a68d1623296a8011dc3c5e5fe3f3b75dc729bb2759dc0a8b461138eea9669f99
3
+ size 307
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c72edab3245e3f2a55532c6506aa9508843fa472a1853ac282d63d887c20ae82
3
  size 137033984
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2f3aa452fa56b42240ee51b50d8be7acdbed06dd7363b534af5d456d9810f25
3
  size 137033984
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1870bf67e1c56310a08a6ab1cd1bd24e0af6a47271e2e9ff8f676e0a5597bee1
3
  size 1017948104
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f55d3533da93ae93135f2e1e4741afe9f327280493c21e3a1afb6cebed627fce
3
  size 1017948104