End of training
Browse files
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
# distily_bench_obj_cross
|
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: 24580.0566
|
19 |
+
- eval_frwikippl: 58429.5703
|
20 |
+
- eval_zhwikippl: 90638.1875
|
21 |
+
- eval_tinystoriesppl: 13633.8428
|
22 |
+
- eval_loss: 18.8988
|
23 |
+
- eval_runtime: 32.6253
|
24 |
+
- eval_samples_per_second: 76.628
|
25 |
+
- eval_steps_per_second: 9.594
|
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=10.0, loss_fn=raw_mse, layer_mapper=None, projector=None), attn_loss_component=LossComponent(label=attn, weight=10.0, loss_fn=raw_mse, layer_mapper=None, projector=None))
|
49 |
+
- train_embeddings: True
|
50 |
+
- learning_rate: 4e-05
|
51 |
+
- train_batch_size: 16
|
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: constant
|
56 |
+
- num_epochs: 1.0
|
57 |
+
|
58 |
+
### Resource Usage
|
59 |
+
Peak GPU Memory: 16.2498 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 | 30500.8262 | 64429.8789 | 19.1222 | 32.5358 | 76.838 | 9.62 | 17883.2402 | 92396.1641 |
|
66 |
+
| 2000 | 0.1293 | 24580.0566 | 58429.5703 | 18.8980 | 32.4735 | 76.986 | 9.639 | 13633.8428 | 90638.1875 |
|
67 |
+
| 4000 | 0.2586 | 24580.0566 | 58429.5703 | 18.8980 | 32.5203 | 76.875 | 9.625 | 13633.8428 | 90638.1875 |
|
68 |
+
| 6000 | 0.3879 | 24580.0566 | 58429.5703 | 18.8988 | 32.628 | 76.621 | 9.593 | 13633.8428 | 90638.1875 |
|
69 |
+
| 8000 | 0.5172 | 24580.0566 | 58429.5703 | 18.8988 | 32.6253 | 76.628 | 9.594 | 13633.8428 | 90638.1875 |
|
70 |
+
| 10000 | 0.6465 | 24580.0566 | 58429.5703 | 18.8988 | 32.4883 | 76.951 | 9.634 | 13633.8428 | 90638.1875 |
|
71 |
+
| 12000 | 0.7757 | 24580.0566 | 58429.5703 | 18.8980 | 32.4949 | 76.935 | 9.632 | 13633.8428 | 90638.1875 |
|
72 |
+
| 14000 | 0.9050 | 24580.0566 | 58429.5703 | 18.8988 | 32.507 | 76.906 | 9.629 | 13633.8428 | 90638.1875 |
|
73 |
+
| 15469 | 1.0 | 24580.0566 | 58429.5703 | 18.8988 | 32.6353 | 76.604 | 9.591 | 13633.8428 | 90638.1875 |
|
74 |
+
|
75 |
+
### Framework versions
|
76 |
+
- Distily 0.2.0
|
77 |
+
- Transformers 4.44.0
|
78 |
+
- Pytorch 2.3.0
|
79 |
+
- 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/attn_loss_fn=raw_mse, attn_weight=10.0, hs_loss_fn=raw_mse, hs_weight=10.0, learning_rate=4e-05/events.out.tfevents.1723761837.5f530b1cf724
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7da440caf1b7b394ead088005801d530cf5e2b52fa59e91013e88a7228ecc8d3
|
3 |
+
size 307
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 137033984
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e02ce05c35c068733e13716baf730143d5b4cf82b3f116c13fb1171d9c8626b0
|
3 |
size 137033984
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1017948104
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2f3bcdfc6299d53e04e9f7abfff93822cd19595d30f9e4b1dbe90bd6bb8b0519
|
3 |
size 1017948104
|