lapp0 commited on
Commit
7dc5c08
1 Parent(s): 9287efa

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: 322.4071
20
- - eval_frwikippl: 2411.2278
21
- - eval_zhwikippl: 1802.7419
22
- - eval_loss: 1569.2800
23
- - eval_runtime: 21.3907
24
- - eval_samples_per_second: 46.749
25
- - eval_steps_per_second: 11.687
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=100, logits_loss_fn=<function kl_divergence_loss at 0x7f57c4b07910>, activations_weight=0, 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
@@ -58,26 +58,26 @@ The following hyperparameters were used during training:
58
  - num_epochs: 1.0
59
 
60
  ### Resource Usage
61
- Peak GPU Memory: 4.4338 GB
62
 
63
  ### Eval-Phase Metrics
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 | 6157.4399 | 21.587 | 46.324 | 11.581 | 57080.2930 |
68
- | 500 | 0.0808 | 1033.0840 | 6283.9331 | 2279.6641 | 21.6395 | 46.212 | 11.553 | 52104.6055 |
69
- | 1000 | 0.1616 | 765.2576 | 4892.3081 | 2097.8081 | 21.3235 | 46.897 | 11.724 | 26096.3535 |
70
- | 1500 | 0.2424 | 644.3925 | 4229.7388 | 2007.1281 | 21.672 | 46.142 | 11.536 | 19367.6953 |
71
- | 2000 | 0.3232 | 572.4389 | 3848.9590 | 1927.5200 | 21.3193 | 46.906 | 11.726 | 13467.1152 |
72
- | 2500 | 0.4040 | 522.0941 | 3661.2842 | 1866.1200 | 21.356 | 46.825 | 11.706 | 8405.3037 |
73
- | 3000 | 0.4848 | 479.3863 | 3402.9036 | 1813.2240 | 21.551 | 46.402 | 11.6 | 6118.0571 |
74
- | 3500 | 0.5657 | 438.9093 | 3085.1194 | 1765.5601 | 21.4458 | 46.629 | 11.657 | 5073.1313 |
75
- | 4000 | 0.6465 | 414.7451 | 2969.3420 | 1719.8400 | 21.3815 | 46.769 | 11.692 | 4076.1655 |
76
- | 4500 | 0.7273 | 384.2867 | 2787.7578 | 1679.6400 | 21.4967 | 46.519 | 11.63 | 3883.0295 |
77
- | 5000 | 0.8081 | 357.7559 | 2647.6235 | 1643.3920 | 21.5199 | 46.469 | 11.617 | 2635.5439 |
78
- | 5500 | 0.8889 | 344.0447 | 2642.6804 | 1612.0720 | 21.5612 | 46.38 | 11.595 | 1745.4163 |
79
- | 6000 | 0.9697 | 322.2757 | 2468.9441 | 1580.7920 | 21.3421 | 46.856 | 11.714 | 1794.2168 |
80
- | 6187 | 0.9999 | 322.4071 | 2411.2278 | 1569.2800 | 21.3907 | 46.749 | 11.687 | 1802.7419 |
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: 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
  ### 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
 
58
  - num_epochs: 1.0
59
 
60
  ### Resource Usage
61
+ Peak GPU Memory: 4.5067 GB
62
 
63
  ### Eval-Phase Metrics
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
logs/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__/events.out.tfevents.1723362266.715f24f8d8b8 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a980bf26bfbda5b2d34c886003cc4829b6bd26a7549f4097c1b06433dfeade4
3
+ size 249