lapp0 commited on
Commit
32685dd
1 Parent(s): 4b194f3

End of training

Browse files
README.md CHANGED
@@ -16,13 +16,13 @@ This student model is distilled from the teacher model [gpt2](https://huggingfac
16
  The [Distily](https://github.com/lapp0/distily) library was used for this distillation.
17
 
18
  It achieves the following results on the evaluation set:
19
- - eval_enwikippl: 207.4599
20
- - eval_frwikippl: 1342.3768
21
- - eval_zhwikippl: 657.2436
22
- - eval_loss: 1.3331
23
- - eval_runtime: 17.3049
24
- - eval_samples_per_second: 57.787
25
- - eval_steps_per_second: 7.223
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,7 +45,7 @@ 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=0, loss_fn=None, layer_mapper=None, projector=None), attn_loss_component=LossComponent(label=attn, weight=2.0, loss_fn=kl, layer_mapper=None, projector=None))
49
  - train_embeddings: True
50
  - learning_rate: 4e-05
51
  - train_batch_size: 8
@@ -62,20 +62,20 @@ Peak GPU Memory: 8.2195 GB
62
  | step | epoch | enwikippl | frwikippl | loss | runtime | samples_per_second | steps_per_second | zhwikippl |
63
  | --- | --- | --- | --- | --- | --- | --- | --- | --- |
64
  | **teacher eval** | | 30.2086 | 57.2728 | | | | | 18.1784 |
65
- | 0 | 0 | 55429.6875 | 57698.8047 | 6.1743 | 17.396 | 57.484 | 7.186 | 56988.9141 |
66
- | 1000 | 0.0808 | 682.2277 | 4513.8320 | 2.0387 | 17.3415 | 57.665 | 7.208 | 21742.0879 |
67
- | 2000 | 0.1616 | 493.2831 | 3192.1013 | 1.8548 | 17.3304 | 57.702 | 7.213 | 1917.9761 |
68
- | 3000 | 0.2424 | 408.6152 | 2650.7046 | 1.7483 | 17.3279 | 57.71 | 7.214 | 937.2945 |
69
- | 4000 | 0.3232 | 362.1653 | 2422.9863 | 1.6582 | 17.3944 | 57.49 | 7.186 | 807.3055 |
70
- | 5000 | 0.4040 | 311.0092 | 2075.7251 | 1.5707 | 17.3884 | 57.51 | 7.189 | 967.0451 |
71
- | 6000 | 0.4848 | 271.9341 | 1744.2100 | 1.4998 | 17.372 | 57.564 | 7.195 | 798.9407 |
72
- | 7000 | 0.5657 | 249.6316 | 1538.4886 | 1.4376 | 17.3071 | 57.78 | 7.222 | 768.1817 |
73
- | 8000 | 0.6465 | 225.5740 | 1397.4233 | 1.3836 | 17.3097 | 57.771 | 7.221 | 701.6876 |
74
- | 9000 | 0.7273 | 207.4599 | 1342.3768 | 1.3331 | 17.3049 | 57.787 | 7.223 | 657.2436 |
75
- | 10000 | 0.8081 | 189.0748 | 1151.9358 | 1.2846 | 17.3724 | 57.563 | 7.195 | 561.3511 |
76
- | 11000 | 0.8889 | 173.5948 | 1120.0602 | 1.2337 | 17.3912 | 57.5 | 7.188 | 488.3670 |
77
- | 12000 | 0.9697 | 157.5976 | 1006.0906 | 1.1896 | 17.3686 | 57.575 | 7.197 | 640.5209 |
78
- | 12375 | 1.0 | 156.4636 | 960.7520 | 1.1773 | 17.446 | 57.32 | 7.165 | 627.6509 |
79
 
80
  ### Framework versions
81
  - Distily 0.2.0
 
16
  The [Distily](https://github.com/lapp0/distily) library was used for this distillation.
17
 
18
  It achieves the following results on the evaluation set:
19
+ - eval_enwikippl: 201.1306
20
+ - eval_frwikippl: 1264.6479
21
+ - eval_zhwikippl: 692.1948
22
+ - eval_loss: 1.2818
23
+ - eval_runtime: 17.7588
24
+ - eval_samples_per_second: 56.31
25
+ - eval_steps_per_second: 7.039
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=0, loss_fn=None, layer_mapper=None, projector=None), attn_loss_component=LossComponent(label=attn, weight=2.0, loss_fn=jsd, layer_mapper=None, projector=None))
49
  - train_embeddings: True
50
  - learning_rate: 4e-05
51
  - train_batch_size: 8
 
62
  | step | epoch | enwikippl | frwikippl | loss | runtime | samples_per_second | steps_per_second | zhwikippl |
63
  | --- | --- | --- | --- | --- | --- | --- | --- | --- |
64
  | **teacher eval** | | 30.2086 | 57.2728 | | | | | 18.1784 |
65
+ | 0 | 0 | 55429.6875 | 57698.8047 | 6.0515 | 17.8022 | 56.173 | 7.022 | 56988.9141 |
66
+ | 1000 | 0.0808 | 674.2750 | 4349.4961 | 1.9954 | 17.6958 | 56.51 | 7.064 | 19961.1016 |
67
+ | 2000 | 0.1616 | 486.4362 | 3202.9236 | 1.8123 | 17.6829 | 56.552 | 7.069 | 1855.9937 |
68
+ | 3000 | 0.2424 | 398.6795 | 2596.3247 | 1.6971 | 17.7713 | 56.27 | 7.034 | 975.8663 |
69
+ | 4000 | 0.3232 | 350.7618 | 2375.6218 | 1.6039 | 17.792 | 56.205 | 7.026 | 869.2946 |
70
+ | 5000 | 0.4040 | 302.1302 | 1985.2614 | 1.5168 | 17.7421 | 56.363 | 7.045 | 967.0451 |
71
+ | 6000 | 0.4848 | 263.9246 | 1671.2548 | 1.4466 | 17.7779 | 56.25 | 7.031 | 822.3207 |
72
+ | 7000 | 0.5657 | 242.7309 | 1513.9550 | 1.3874 | 17.8314 | 56.081 | 7.01 | 750.5385 |
73
+ | 8000 | 0.6465 | 221.2715 | 1384.2833 | 1.3367 | 17.7638 | 56.294 | 7.037 | 824.5199 |
74
+ | 9000 | 0.7273 | 201.1306 | 1264.6479 | 1.2818 | 17.7588 | 56.31 | 7.039 | 692.1948 |
75
+ | 10000 | 0.8081 | 184.5633 | 1112.0341 | 1.2357 | 17.6966 | 56.508 | 7.064 | 578.3190 |
76
+ | 11000 | 0.8889 | 171.4912 | 1108.7455 | 1.1873 | 17.8206 | 56.115 | 7.014 | 545.0269 |
77
+ | 12000 | 0.9697 | 156.4515 | 982.5362 | 1.1465 | 17.741 | 56.367 | 7.046 | 586.4849 |
78
+ | 12375 | 1.0 | 154.3638 | 955.2133 | 1.1337 | 17.7532 | 56.328 | 7.041 | 598.8307 |
79
 
80
  ### Framework versions
81
  - Distily 0.2.0
logs/attn_loss_fn=jsd, attn_weight=2.0/events.out.tfevents.1723672669.93d6cbb3ad53 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5bb2273d5762ce7ac6e5c40d2b3305d859cdfa9e951e9fbc493ce97a678e6be
3
+ size 249