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_kl
|
9 |
+
results: []
|
10 |
+
---
|
11 |
+
|
12 |
+
# distily_experiments_loss_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: nan
|
20 |
+
- eval_frwikippl: nan
|
21 |
+
- eval_zhwikippl: nan
|
22 |
+
- eval_loss: nan
|
23 |
+
- eval_runtime: 90.8319
|
24 |
+
- eval_samples_per_second: 11.009
|
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: 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.8804 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 | 179854.0938 | 180181.3125 | 782.5541 | 90.5683 | 11.041 | 2.76 | 180786.8438 |
|
69 |
+
| 500 | 0.0808 | nan | nan | nan | 90.7978 | 11.013 | 2.753 | nan |
|
70 |
+
| 1000 | 0.1616 | nan | nan | nan | 91.1195 | 10.975 | 2.744 | nan |
|
71 |
+
| 1500 | 0.2424 | nan | nan | nan | 90.9106 | 11.0 | 2.75 | nan |
|
72 |
+
| 2000 | 0.3232 | nan | nan | nan | 90.7616 | 11.018 | 2.754 | nan |
|
73 |
+
| 2500 | 0.4040 | nan | nan | nan | 90.73 | 11.022 | 2.755 | nan |
|
74 |
+
| 3000 | 0.4848 | nan | nan | nan | 90.7247 | 11.022 | 2.756 | nan |
|
75 |
+
| 3500 | 0.5657 | nan | nan | nan | 90.5701 | 11.041 | 2.76 | nan |
|
76 |
+
| 4000 | 0.6465 | nan | nan | nan | 90.768 | 11.017 | 2.754 | nan |
|
77 |
+
| 4500 | 0.7273 | nan | nan | nan | 90.8206 | 11.011 | 2.753 | nan |
|
78 |
+
| 5000 | 0.8081 | nan | nan | nan | 90.7225 | 11.023 | 2.756 | nan |
|
79 |
+
| 5500 | 0.8889 | nan | nan | nan | 90.7674 | 11.017 | 2.754 | nan |
|
80 |
+
| 6000 | 0.9697 | nan | nan | nan | 90.7133 | 11.024 | 2.756 | nan |
|
81 |
+
| 6187 | 0.9999 | nan | nan | nan | 90.8319 | 11.009 | 2.752 | nan |
|
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_11-54-01_232a0f8c3879/events.out.tfevents.1722962670.232a0f8c3879
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:463676fba1a66b2af816e2ea9e82fd9688378d0566aee953268ff25956e6f8e7
|
3 |
+
size 520
|