lapp0 commited on
Commit
5b13da5
1 Parent(s): 965ce1c

Training in progress, step 15469

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: 22177.1309
19
- - eval_frwikippl: 73852.3203
20
- - eval_zhwikippl: 62537.2148
21
- - eval_tinystoriesppl: 11654.0615
22
- - eval_loss: 6.9194
23
- - eval_runtime: 32.7141
24
- - eval_samples_per_second: 76.42
25
- - eval_steps_per_second: 9.568
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=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-05
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.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 | 32.6791 | 76.501 | 9.578 | 15431.1592 | 64176.7344 |
66
- | 2000 | 0.1293 | 22177.1309 | 73852.3203 | 6.9194 | 32.645 | 76.582 | 9.588 | 11654.0615 | 62537.2148 |
67
- | 4000 | 0.2586 | 22177.1309 | 73852.3203 | 6.9194 | 32.649 | 76.572 | 9.587 | 11654.0615 | 62537.2148 |
68
- | 6000 | 0.3879 | 22177.1309 | 73852.3203 | 6.9194 | 32.8099 | 76.196 | 9.54 | 11654.0615 | 62537.2148 |
69
- | 8000 | 0.5172 | 22177.1309 | 73852.3203 | 6.9194 | 32.7141 | 76.42 | 9.568 | 11654.0615 | 62537.2148 |
70
- | 10000 | 0.6465 | 22177.1309 | 73852.3203 | 6.9194 | 32.6497 | 76.57 | 9.587 | 11654.0615 | 62537.2148 |
71
- | 12000 | 0.7757 | 22177.1309 | 73852.3203 | 6.9194 | 32.6408 | 76.591 | 9.589 | 11654.0615 | 62537.2148 |
72
- | 14000 | 0.9050 | 22177.1309 | 73852.3203 | 6.9194 | 32.6631 | 76.539 | 9.583 | 11654.0615 | 62537.2148 |
73
- | 15469 | 1.0 | 22177.1309 | 73852.3203 | 6.9194 | 32.6508 | 76.568 | 9.586 | 11654.0615 | 62537.2148 |
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: 12623.7412
19
+ - eval_frwikippl: 52327.9961
20
+ - eval_zhwikippl: 96451.4609
21
+ - eval_tinystoriesppl: 6281.7222
22
+ - eval_loss: 18.2212
23
+ - eval_runtime: 32.9567
24
+ - eval_samples_per_second: 75.857
25
+ - eval_steps_per_second: 9.497
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=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: 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.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 | 12930.5508 | 52883.7109 | 18.2508 | 32.8136 | 76.188 | 9.539 | 6471.4722 | 96760.75 |
66
+ | 2000 | 0.1293 | 12623.7412 | 52327.9961 | 18.2212 | 32.8936 | 76.003 | 9.516 | 6281.7222 | 96451.4609 |
67
+ | 4000 | 0.2586 | 12623.7412 | 52327.9961 | 18.2212 | 32.8034 | 76.212 | 9.542 | 6281.7222 | 96451.4609 |
68
+ | 6000 | 0.3879 | 12623.7412 | 52327.9961 | 18.2212 | 32.8868 | 76.018 | 9.517 | 6281.7222 | 96451.4609 |
69
+ | 8000 | 0.5172 | 12623.7412 | 52327.9961 | 18.2212 | 32.9567 | 75.857 | 9.497 | 6281.7222 | 96451.4609 |
70
+ | 10000 | 0.6465 | 12623.7412 | 52327.9961 | 18.2212 | 32.9256 | 75.929 | 9.506 | 6281.7222 | 96451.4609 |
71
+ | 12000 | 0.7757 | 12623.7412 | 52327.9961 | 18.2212 | 32.9173 | 75.948 | 9.509 | 6281.7222 | 96451.4609 |
72
+ | 14000 | 0.9050 | 12623.7412 | 52327.9961 | 18.2212 | 33.1691 | 75.371 | 9.437 | 6281.7222 | 96451.4609 |
73
+ | 15469 | 1.0 | 12623.7412 | 52327.9961 | 18.2212 | 33.0829 | 75.568 | 9.461 | 6281.7222 | 96451.4609 |
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.1723762067.93d6cbb3ad53 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:739b505f81064ed17b5128d7a8068336140b2bfc1eb9c0211a56b86d0e865cbf
3
+ size 4177661
logs/attn_loss_fn=raw_mse, attn_weight=10.0, hs_loss_fn=raw_mse, hs_weight=10.0, learning_rate=4e-06/events.out.tfevents.1723761898.93d6cbb3ad53 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2e29c5c31674ab017aaa74d55b1626f675e08ae2fb3ba79dedcefb5c425a6e77
3
- size 307
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75b17038955765902bca320b4d0e45edd0aafc493d10dfb0dba1568e5b5955c4
3
+ size 578
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1125217d2452d904fbd104af46d9627774afea5c136b005dd0161d93f483f873
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:26739a6af4d1470c81c2e0dd856c5102272ec50187efe372e6dcf911c045c095
3
  size 1017948104
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f55d3533da93ae93135f2e1e4741afe9f327280493c21e3a1afb6cebed627fce
3
  size 1017948104