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:
|
20 |
-
- eval_frwikippl:
|
21 |
-
- eval_zhwikippl:
|
22 |
-
- eval_loss:
|
23 |
-
- eval_runtime: 21.
|
24 |
-
- eval_samples_per_second: 46.
|
25 |
-
- eval_steps_per_second: 11.
|
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=
|
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.
|
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.
|
68 |
-
| 500 | 0.0808 |
|
69 |
-
| 1000 | 0.1616 |
|
70 |
-
| 1500 | 0.2424 |
|
71 |
-
| 2000 | 0.3232 |
|
72 |
-
| 2500 | 0.4040 |
|
73 |
-
| 3000 | 0.4848 |
|
74 |
-
| 3500 | 0.5657 |
|
75 |
-
| 4000 | 0.6465 |
|
76 |
-
| 4500 | 0.7273 |
|
77 |
-
| 5000 | 0.8081 |
|
78 |
-
| 5500 | 0.8889 |
|
79 |
-
| 6000 | 0.9697 |
|
80 |
-
| 6187 | 0.9999 |
|
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: 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 |
### 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 |
- 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
|
logs/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/events.out.tfevents.1723357975.715f24f8d8b8
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:813a2e1bc91e592c305fdb9169c7e9cffdc4630328377918412dad3bd0553bb3
|
3 |
+
size 249
|