lapp0 commited on
Commit
01d6737
·
verified ·
1 Parent(s): deb99bf

End of training

Browse files
README.md ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen2-0.5B-Instruct
3
+ library_name: distily
4
+ license: apache-2.0
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: distily_experiments_loss_reverse_kl
9
+ results: []
10
+ ---
11
+
12
+ # distily_experiments_loss_reverse_kl
13
+
14
+ This student model is distilled from the teacher model [Qwen/Qwen2-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2-0.5B-Instruct) using the dataset (unspecified).
15
+
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: 2760.3779
20
+ - eval_frwikippl: 28158.2578
21
+ - eval_zhwikippl: 441247.4688
22
+ - eval_loss: 3.1654
23
+ - eval_runtime: 90.8509
24
+ - eval_samples_per_second: 11.007
25
+ - eval_steps_per_second: 2.752
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.
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+ -->
42
+
43
+ ## Training procedure
44
+
45
+ ### Training hyperparameters
46
+
47
+ The following hyperparameters were used during training:
48
+ - distillation_strategy: logits_activations
49
+ - loss_fn: reverse_kl
50
+ - train_embeddings: True
51
+ - learning_rate: 4e-05
52
+ - train_batch_size: 4
53
+ - eval_batch_size: 4
54
+ - seed: 42
55
+ - gradient_accumulation_steps: 4
56
+ - total_train_batch_size: 16
57
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
58
+ - lr_scheduler_type: constant
59
+ - num_epochs: 1.0
60
+
61
+ ### Resource Usage
62
+ Peak GPU Memory: 19.8832 GB
63
+
64
+ ### Eval-Phase Metrics
65
+ | step | epoch | enwikippl | frwikippl | loss | runtime | samples_per_second | steps_per_second | zhwikippl |
66
+ | --- | --- | --- | --- | --- | --- | --- | --- | --- |
67
+ | **teacher eval** | | 13.0697 | 11.6518 | | | | | 21.6262 |
68
+ | 0 | 0 | 180187.8438 | 182062.6875 | 131.8108 | 90.6539 | 11.031 | 2.758 | 181762.375 |
69
+ | 500 | 0.0808 | 14699.2041 | 52797.9922 | 6.0418 | 90.8884 | 11.003 | 2.751 | 371252.0312 |
70
+ | 1000 | 0.1616 | 8812.4561 | 47709.9297 | 4.9882 | 90.8533 | 11.007 | 2.752 | 384212.3438 |
71
+ | 1500 | 0.2424 | 7321.3081 | 44922.375 | 4.6195 | 90.7179 | 11.023 | 2.756 | 400192.5625 |
72
+ | 2000 | 0.3232 | 6277.4165 | 42254.6719 | 4.2012 | 90.8257 | 11.01 | 2.753 | 423631.0938 |
73
+ | 2500 | 0.4040 | 5452.0264 | 39927.7812 | 3.9955 | 90.7803 | 11.016 | 2.754 | 445022.5938 |
74
+ | 3000 | 0.4848 | 4708.5049 | 37660.8359 | 3.7784 | 90.8232 | 11.01 | 2.753 | 447453.4375 |
75
+ | 3500 | 0.5657 | 4329.6147 | 35350.4805 | 3.6816 | 90.8654 | 11.005 | 2.751 | 455292.8125 |
76
+ | 4000 | 0.6465 | 3840.0864 | 33493.6836 | 3.5800 | 90.7858 | 11.015 | 2.754 | 446474.3125 |
77
+ | 4500 | 0.7273 | 3495.4482 | 31764.3340 | 3.4447 | 90.8083 | 11.012 | 2.753 | 447611.3438 |
78
+ | 5000 | 0.8081 | 3245.5376 | 30812.8379 | 3.3323 | 90.7976 | 11.014 | 2.753 | 448982.8438 |
79
+ | 5500 | 0.8889 | 3057.9595 | 29516.0742 | 3.2926 | 90.7385 | 11.021 | 2.755 | 459842.8125 |
80
+ | 6000 | 0.9697 | 2831.3643 | 28517.0625 | 3.1956 | 90.7677 | 11.017 | 2.754 | 441979.4375 |
81
+ | 6187 | 0.9999 | 2760.3779 | 28158.2578 | 3.1654 | 90.8509 | 11.007 | 2.752 | 441247.4688 |
82
+
83
+ ### Framework versions
84
+ - Distily 0.1.0
85
+ - Transformers 4.43.3
86
+ - Pytorch 2.3.0
87
+ - Datasets 2.20.0
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 151643,
4
+ "eos_token_id": 151645,
5
+ "transformers_version": "4.43.3"
6
+ }
runs/Aug06_07-18-29_232a0f8c3879/events.out.tfevents.1722944962.232a0f8c3879 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:219fef72ae0d4d3377bf62141f6e8bebf5c523f369cfbf2c24b1b824c2f84558
3
+ size 520