lapp0 commited on
Commit
83287ca
·
verified ·
1 Parent(s): 7ab22ed

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: 400.4869
20
- - eval_frwikippl: 2969.3420
21
- - eval_zhwikippl: 6008.7476
22
- - eval_loss: 1989.5520
23
- - eval_runtime: 21.3179
24
- - eval_samples_per_second: 46.909
25
- - eval_steps_per_second: 11.727
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: LinearObjective(logits_weight=1, logits_loss_fn=<function kl_divergence_loss at 0x7f57c4b07910>, activations_weight=1, activations_loss_fn=<function mse_loss at 0x7f57c4b07880>, attentions_weight=0, attentions_loss_fn=<function mse_loss at 0x7f57c4b07880>)
49
  - train_embeddings: True
50
  - learning_rate: 4e-05
51
  - train_batch_size: 4
@@ -64,20 +64,20 @@ Peak GPU Memory: 4.5067 GB
64
  | step | epoch | enwikippl | frwikippl | loss | runtime | samples_per_second | steps_per_second | zhwikippl |
65
  | --- | --- | --- | --- | --- | --- | --- | --- | --- |
66
  | **teacher eval** | | 30.2385 | 57.2728 | | | | | 18.1772 |
67
- | 0 | 0 | 55339.3672 | 57682.5742 | 6775.2959 | 21.2939 | 46.962 | 11.74 | 57080.2930 |
68
- | 500 | 0.0808 | 1019.9713 | 6165.6597 | 2829.9199 | 21.7268 | 46.026 | 11.507 | 49348.3086 |
69
- | 1000 | 0.1616 | 776.1801 | 5053.2275 | 2518.8479 | 21.7049 | 46.072 | 11.518 | 43976.7227 |
70
- | 1500 | 0.2424 | 668.2543 | 4423.4121 | 2381.3120 | 21.5969 | 46.303 | 11.576 | 45161.0352 |
71
- | 2000 | 0.3232 | 617.0906 | 4036.9917 | 2304.1279 | 21.5749 | 46.35 | 11.588 | 40062.9219 |
72
- | 2500 | 0.4040 | 572.6278 | 4018.1096 | 2242.3999 | 21.5368 | 46.432 | 11.608 | 24775.3672 |
73
- | 3000 | 0.4848 | 534.8770 | 3649.6860 | 2192.1919 | 21.7099 | 46.062 | 11.515 | 135085.7969 |
74
- | 3500 | 0.5657 | 504.0086 | 3549.8198 | 2150.6721 | 21.6613 | 46.165 | 11.541 | 46912.9102 |
75
- | 4000 | 0.6465 | 483.1796 | 3357.9766 | 2115.4399 | 21.688 | 46.108 | 11.527 | 24034.0039 |
76
- | 4500 | 0.7273 | 458.0607 | 3258.0415 | 2080.0 | 21.5498 | 46.404 | 11.601 | 44794.6328 |
77
- | 5000 | 0.8081 | 432.8254 | 3191.2034 | 2050.5439 | 21.3113 | 46.923 | 11.731 | 9512.9375 |
78
- | 5500 | 0.8889 | 422.7440 | 3201.5676 | 2027.1520 | 21.5677 | 46.366 | 11.591 | 14696.1348 |
79
- | 6000 | 0.9697 | 406.4080 | 3030.5735 | 2000.3840 | 21.1806 | 47.213 | 11.803 | 3418.1089 |
80
- | 6187 | 0.9999 | 400.4869 | 2969.3420 | 1989.5520 | 21.3179 | 46.909 | 11.727 | 6008.7476 |
81
 
82
  ### Framework versions
83
  - 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: 399.2138
20
+ - eval_frwikippl: 2966.5173
21
+ - eval_zhwikippl: 10538.9238
22
+ - eval_loss: 1988.1440
23
+ - eval_runtime: 21.3924
24
+ - eval_samples_per_second: 46.746
25
+ - eval_steps_per_second: 11.686
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: LinearObjective(logits_weight=1, logits_loss_fn=<function kl_divergence_loss at 0x7f57c4b07910>, activations_weight=10, activations_loss_fn=<function mse_loss at 0x7f57c4b07880>, attentions_weight=0, attentions_loss_fn=<function mse_loss at 0x7f57c4b07880>)
49
  - train_embeddings: True
50
  - learning_rate: 4e-05
51
  - train_batch_size: 4
 
64
  | step | epoch | enwikippl | frwikippl | loss | runtime | samples_per_second | steps_per_second | zhwikippl |
65
  | --- | --- | --- | --- | --- | --- | --- | --- | --- |
66
  | **teacher eval** | | 30.2385 | 57.2728 | | | | | 18.1772 |
67
+ | 0 | 0 | 55339.3672 | 57682.5742 | 6775.2959 | 21.1575 | 47.265 | 11.816 | 57080.2930 |
68
+ | 500 | 0.0808 | 1023.4225 | 6192.8911 | 2836.3201 | 21.7865 | 45.9 | 11.475 | 48060.6055 |
69
+ | 1000 | 0.1616 | 775.0658 | 5052.5142 | 2521.5359 | 21.2571 | 47.043 | 11.761 | 45170.0781 |
70
+ | 1500 | 0.2424 | 671.2710 | 4404.4277 | 2386.8799 | 21.4196 | 46.686 | 11.672 | 34499.8906 |
71
+ | 2000 | 0.3232 | 614.9977 | 4029.4568 | 2301.9199 | 21.8274 | 45.814 | 11.453 | 30409.7441 |
72
+ | 2500 | 0.4040 | 569.0704 | 4036.1411 | 2240.4800 | 21.4135 | 46.7 | 11.675 | 165707.2031 |
73
+ | 3000 | 0.4848 | 535.3444 | 3657.6721 | 2192.7681 | 21.3797 | 46.773 | 11.693 | 11745.1631 |
74
+ | 3500 | 0.5657 | 500.6540 | 3441.3875 | 2149.4719 | 21.2691 | 47.017 | 11.754 | 9315015.0 |
75
+ | 4000 | 0.6465 | 482.9359 | 3418.8945 | 2116.2720 | 21.4203 | 46.685 | 11.671 | 35355.7070 |
76
+ | 4500 | 0.7273 | 458.2032 | 3282.2515 | 2079.2319 | 21.277 | 46.999 | 11.75 | 203786.2188 |
77
+ | 5000 | 0.8081 | 433.2373 | 3179.2988 | 2048.7361 | 21.2654 | 47.025 | 11.756 | 9217.1963 |
78
+ | 5500 | 0.8889 | 419.5392 | 3143.1909 | 2024.0320 | 21.3022 | 46.944 | 11.736 | 7640.9155 |
79
+ | 6000 | 0.9697 | 402.3651 | 3010.7686 | 1996.6240 | 21.3926 | 46.745 | 11.686 | 5998.7275 |
80
+ | 6187 | 0.9999 | 399.2138 | 2966.5173 | 1988.1440 | 21.3924 | 46.746 | 11.686 | 10538.9238 |
81
 
82
  ### Framework versions
83
  - Distily 0.2.0
logs/distillation_objective=LinearObjective_logits_weight_1__logits_loss_fn__function_kl_divergence_loss_at_0x7f57c4b07910___activations_weight_10__activations_loss_fn__function_mse_loss_at_0x7f57c4b07880_/events.out.tfevents.1723366555.715f24f8d8b8 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f04f1f6a04dd27bd89e7d9e9c6f402967aab8194099b7351068dbd4412d6b942
3
+ size 249