lapp0 commited on
Commit
9ab48b9
·
verified ·
1 Parent(s): 5e9c9f2

End of training

Browse files
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: roneneldan/TinyStories-33M
3
+ library_name: Distily
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: distily_bench_obj_cross_v2.7
8
+ results: []
9
+ ---
10
+
11
+ # distily_bench_obj_cross_v2.7
12
+
13
+ This student model is distilled from the teacher model [roneneldan/TinyStories-33M](https://huggingface.co/roneneldan/TinyStories-33M) using the dataset (unspecified).
14
+
15
+ The [Distily](https://github.com/lapp0/distily) library was used for this distillation.
16
+
17
+ It achieves the following results on the evaluation set:
18
+ - eval_enwikippl: 167.9577
19
+ - eval_frwikippl: 36527.4492
20
+ - eval_zhwikippl: 179398.4219
21
+ - eval_tinystoriesppl: 10.7634
22
+ - eval_loss: 1.3170
23
+ - eval_runtime: 6.482
24
+ - eval_samples_per_second: 77.137
25
+ - eval_steps_per_second: 9.719
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_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=0, loss_fn=None, layer_mapper=None, projector=None))
49
+ - train_embeddings: True
50
+ - learning_rate: 0.004
51
+ - train_batch_size: 8
52
+ - eval_batch_size: 8
53
+ - seed: 42
54
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
55
+ - lr_scheduler_type: linear
56
+ - num_epochs: 1.0
57
+
58
+ ### Resource Usage
59
+ Peak GPU Memory: 8.0557 GB
60
+
61
+ ### Eval-Phase Metrics
62
+ | step | epoch | enwikippl | frwikippl | loss | runtime | samples_per_second | steps_per_second | tinystoriesppl | zhwikippl |
63
+ | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
64
+ | **teacher eval** | | 169.9865 | 47377.9414 | | | | | 3.9789 | 4998.1294 |
65
+ | 0 | 0 | 21812.5137 | 63073.9414 | 6.0880 | 6.5014 | 76.907 | 9.69 | 11544.7471 | 48756.5938 |
66
+ | 500 | 0.0808 | 207.5609 | 68082.6719 | 1.4006 | 6.4908 | 77.032 | 9.706 | 11.2631 | 330400.9375 |
67
+ | 1000 | 0.1616 | 175.8123 | 42073.3594 | 1.3250 | 6.5141 | 76.756 | 9.671 | 10.6938 | 234691.875 |
68
+ | 1500 | 0.2424 | 169.7431 | 37693.0312 | 1.3185 | 6.4776 | 77.19 | 9.726 | 10.7252 | 183317.4531 |
69
+ | 2000 | 0.3232 | 168.7467 | 36424.6914 | 1.3180 | 6.4817 | 77.14 | 9.72 | 10.8563 | 177257.4688 |
70
+ | 2500 | 0.4040 | 168.3811 | 36910.1914 | 1.3173 | 6.4798 | 77.163 | 9.723 | 10.8075 | 184790.6562 |
71
+ | 3000 | 0.4848 | 166.7585 | 36342.6992 | 1.3171 | 6.4837 | 77.116 | 9.717 | 10.6836 | 179207.0781 |
72
+ | 3500 | 0.5656 | 168.1269 | 36651.1523 | 1.3173 | 6.4924 | 77.014 | 9.704 | 10.7683 | 179589.9688 |
73
+ | 4000 | 0.6464 | 168.4202 | 36404.2031 | 1.3173 | 6.4897 | 77.045 | 9.708 | 10.7906 | 180599.0 |
74
+ | 4500 | 0.7272 | 167.8602 | 36342.6992 | 1.3173 | 6.5499 | 76.338 | 9.619 | 10.7915 | 178348.4531 |
75
+ | 5000 | 0.8080 | 167.6392 | 36548.0430 | 1.3173 | 6.5041 | 76.875 | 9.686 | 10.7287 | 180261.9219 |
76
+ | 5500 | 0.8888 | 168.0618 | 36527.4492 | 1.3174 | 6.5137 | 76.761 | 9.672 | 10.7701 | 179302.6406 |
77
+ | 6000 | 0.9696 | 168.0098 | 36527.4492 | 1.3170 | 6.4907 | 77.034 | 9.706 | 10.7678 | 179398.4219 |
78
+ | 6188 | 1.0 | 167.9577 | 36527.4492 | 1.3170 | 6.482 | 77.137 | 9.719 | 10.7634 | 179398.4219 |
79
+
80
+ ### Framework versions
81
+ - Distily 0.2.0
82
+ - Transformers 4.44.0
83
+ - Pytorch 2.3.0
84
+ - Datasets 2.21.0
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "transformers_version": "4.44.0"
6
+ }
logs/dropout=0, learning_rate=0.004, weight_decay=0.001/events.out.tfevents.1723865751.5f530b1cf724 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b58b027d8c2bfa3da011917f89094c44917fd2d11ffa96a4cc6fb0a35d6fd41
3
+ size 307