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_mse
|
| 9 |
+
results: []
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# distily_experiments_loss_mse
|
| 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: 42178.9805
|
| 20 |
+
- eval_frwikippl: 45721.7109
|
| 21 |
+
- eval_zhwikippl: 198318.0
|
| 22 |
+
- eval_loss: 0.0786
|
| 23 |
+
- eval_runtime: 81.5551
|
| 24 |
+
- eval_samples_per_second: 12.262
|
| 25 |
+
- eval_steps_per_second: 3.065
|
| 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: mse
|
| 50 |
+
- train_embeddings: True
|
| 51 |
+
- learning_rate: 0.0001
|
| 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: 12.6346 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 | 181673.8281 | 182246.2969 | 0.4342 | 81.4623 | 12.276 | 3.069 | 181831.9062 |
|
| 69 |
+
| 500 | 0.0808 | 51828.1172 | 61691.7969 | 0.0957 | 81.6929 | 12.241 | 3.06 | 207997.2812 |
|
| 70 |
+
| 1000 | 0.1616 | 45041.4180 | 54485.3594 | 0.0860 | 81.5919 | 12.256 | 3.064 | 209966.75 |
|
| 71 |
+
| 1500 | 0.2424 | 44320.2031 | 52669.4492 | 0.0833 | 81.6149 | 12.253 | 3.063 | 212294.125 |
|
| 72 |
+
| 2000 | 0.3232 | 41822.9727 | 48903.5156 | 0.0852 | 81.4039 | 12.284 | 3.071 | 223025.1094 |
|
| 73 |
+
| 2500 | 0.4040 | 41753.0312 | 49089.7227 | 0.0827 | 81.431 | 12.28 | 3.07 | 220010.75 |
|
| 74 |
+
| 3000 | 0.4848 | 42048.8906 | 49907.2539 | 0.0840 | 81.49 | 12.271 | 3.068 | 210042.8594 |
|
| 75 |
+
| 3500 | 0.5657 | 41577.9180 | 46600.7773 | 0.0849 | 81.4631 | 12.275 | 3.069 | 221650.6875 |
|
| 76 |
+
| 4000 | 0.6465 | 41242.4766 | 46538.6875 | 0.0824 | 81.561 | 12.261 | 3.065 | 211307.8125 |
|
| 77 |
+
| 4500 | 0.7273 | 41470.4414 | 46413.6094 | 0.0803 | 81.5887 | 12.257 | 3.064 | 221236.5469 |
|
| 78 |
+
| 5000 | 0.8081 | 42138.4922 | 45917.2109 | 0.0799 | 81.4339 | 12.28 | 3.07 | 207382.2812 |
|
| 79 |
+
| 5500 | 0.8889 | 41578.75 | 45413.4766 | 0.0818 | 81.4181 | 12.282 | 3.071 | 233708.25 |
|
| 80 |
+
| 6000 | 0.9697 | 42023.4766 | 45574.0469 | 0.0790 | 81.4797 | 12.273 | 3.068 | 208369.9375 |
|
| 81 |
+
| 6187 | 0.9999 | 42178.9805 | 45721.7109 | 0.0786 | 81.5551 | 12.262 | 3.065 | 198318.0 |
|
| 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_19-32-49_232a0f8c3879/events.out.tfevents.1722987362.232a0f8c3879
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5cadaf9fc16eb9868f897a08c97a0dd97b266292664e203e148b3842da9d8721
|
| 3 |
+
size 520
|