End of training
Browse files- README.md +101 -0
- config.json +47 -0
- generation_config.json +6 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- runs/Aug15_10-33-04_77e473d64567/events.out.tfevents.1723718487.77e473d64567 +3 -0
- runs/Aug15_10-54-56_77e473d64567/events.out.tfevents.1723719411.77e473d64567 +3 -0
- runs/Aug15_10-54-56_77e473d64567/events.out.tfevents.1723730393.77e473d64567 +3 -0
- runs/Aug15_11-00-37_77e473d64567/events.out.tfevents.1723719744.77e473d64567 +3 -0
- runs/Aug15_11-10-45_77e473d64567/events.out.tfevents.1723720351.77e473d64567 +3 -0
- special_tokens_map.json +24 -0
- tokenizer.json +0 -0
- tokenizer_config.json +22 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: roneneldan/TinyStories-33M
|
3 |
+
library_name: Distily
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: distily_TinyStories-33M
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
# distily_TinyStories-33M
|
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: 5885.9341
|
19 |
+
- eval_frwikippl: 24294.9414
|
20 |
+
- eval_zhwikippl: 264331.3438
|
21 |
+
- eval_loss: 0.3987
|
22 |
+
- eval_runtime: 51.5838
|
23 |
+
- eval_samples_per_second: 48.465
|
24 |
+
- eval_steps_per_second: 6.068
|
25 |
+
|
26 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
27 |
+
should probably proofread and complete it, then remove this comment.
|
28 |
+
|
29 |
+
## Model description
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Intended uses & limitations
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training and evaluation data
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
-->
|
41 |
+
|
42 |
+
## Training procedure
|
43 |
+
|
44 |
+
### Training hyperparameters
|
45 |
+
|
46 |
+
The following hyperparameters were used during training:
|
47 |
+
- 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))
|
48 |
+
- train_embeddings: True
|
49 |
+
- learning_rate: 4e-05
|
50 |
+
- train_batch_size: 8
|
51 |
+
- eval_batch_size: 8
|
52 |
+
- seed: 42
|
53 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
54 |
+
- lr_scheduler_type: constant
|
55 |
+
- num_epochs: 1.0
|
56 |
+
|
57 |
+
### Resource Usage
|
58 |
+
Peak GPU Memory: 8.1416 GB
|
59 |
+
|
60 |
+
### Eval-Phase Metrics
|
61 |
+
| step | epoch | enwikippl | frwikippl | loss | runtime | samples_per_second | steps_per_second | zhwikippl |
|
62 |
+
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
63 |
+
| **teacher eval** | | 20633.1680 | 131577.2812 | | | | | 7615.4468 |
|
64 |
+
| 0 | 0 | 55266.375 | 57180.4375 | 6.2843 | 26.4237 | 94.612 | 11.845 | 56806.5430 |
|
65 |
+
| 1000 | 0.0323 | 11414.3389 | 87921.1172 | 0.7142 | 26.3405 | 94.911 | 11.883 | 611931.1875 |
|
66 |
+
| 2000 | 0.0646 | 8814.8682 | 53295.2305 | 0.6287 | 51.0412 | 48.98 | 6.132 | 507315.5625 |
|
67 |
+
| 3000 | 0.0970 | 8020.6040 | 41652.3320 | 0.5662 | 29.4187 | 84.98 | 10.639 | 268242.625 |
|
68 |
+
| 4000 | 0.1293 | 7153.7090 | 33178.5977 | 0.5197 | 40.0478 | 62.425 | 7.816 | 315367.9062 |
|
69 |
+
| 5000 | 0.1616 | 6865.2617 | 31042.1875 | 0.4833 | 36.655 | 68.203 | 8.539 | 372857.25 |
|
70 |
+
| 6000 | 0.1939 | 6828.5781 | 30924.2324 | 0.4539 | 47.1811 | 52.987 | 6.634 | 379690.5 |
|
71 |
+
| 7000 | 0.2263 | 6329.1855 | 28375.3984 | 0.4331 | 51.6027 | 48.447 | 6.066 | 325812.875 |
|
72 |
+
| 8000 | 0.2586 | 6229.7119 | 28592.2773 | 0.4123 | 51.6184 | 48.432 | 6.064 | 318159.5 |
|
73 |
+
| 9000 | 0.2909 | 5885.9341 | 24294.9414 | 0.3987 | 51.5838 | 48.465 | 6.068 | 264331.3438 |
|
74 |
+
| 10000 | 0.3232 | 5634.5898 | 24401.3828 | 0.3856 | 51.6233 | 48.428 | 6.063 | 248118.4062 |
|
75 |
+
| 11000 | 0.3555 | 5849.9346 | 26113.8555 | 0.3761 | 51.5949 | 48.454 | 6.066 | 255583.9844 |
|
76 |
+
| 12000 | 0.3879 | 5588.8325 | 23138.0430 | 0.3666 | 51.5384 | 48.508 | 6.073 | 255106.6875 |
|
77 |
+
| 13000 | 0.4202 | 5498.4355 | 23102.1699 | 0.3618 | 51.6778 | 48.377 | 6.057 | 244239.3125 |
|
78 |
+
| 14000 | 0.4525 | 5495.8716 | 24775.8398 | 0.3530 | 51.4537 | 48.587 | 6.083 | 271776.25 |
|
79 |
+
| 15000 | 0.4848 | 5449.1309 | 23173.9512 | 0.3490 | 51.6347 | 48.417 | 6.062 | 235716.0625 |
|
80 |
+
| 16000 | 0.5172 | 5464.8057 | 25348.3184 | 0.3430 | 48.3546 | 51.701 | 6.473 | 305992.3125 |
|
81 |
+
| 17000 | 0.5495 | 5289.8618 | 23652.6602 | 0.3426 | 45.4673 | 54.985 | 6.884 | 290930.0625 |
|
82 |
+
| 18000 | 0.5818 | 5362.6548 | 23393.9375 | 0.3378 | 42.8681 | 58.318 | 7.301 | 237739.0938 |
|
83 |
+
| 19000 | 0.6141 | 5970.6357 | 32165.1016 | 0.3332 | 38.4757 | 64.976 | 8.135 | 492760.0312 |
|
84 |
+
| 20000 | 0.6465 | 5680.7217 | 30225.7988 | 0.3322 | 31.9943 | 78.139 | 9.783 | 391742.4062 |
|
85 |
+
| 21000 | 0.6788 | 5494.1685 | 27750.1914 | 0.3288 | 49.7191 | 50.283 | 6.295 | 288762.6875 |
|
86 |
+
| 22000 | 0.7111 | 5693.0815 | 24919.4883 | 0.3272 | 49.6244 | 50.378 | 6.307 | 263274.4375 |
|
87 |
+
| 23000 | 0.7434 | 5303.4346 | 25441.4375 | 0.3230 | 50.6137 | 49.394 | 6.184 | 261801.9844 |
|
88 |
+
| 24000 | 0.7757 | 5458.4463 | 26499.6543 | 0.3217 | 51.4227 | 48.617 | 6.087 | 229626.5781 |
|
89 |
+
| 25000 | 0.8081 | 5728.1162 | 28263.5859 | 0.3203 | 51.6717 | 48.382 | 6.057 | 258605.3594 |
|
90 |
+
| 26000 | 0.8404 | 5226.1689 | 23493.1152 | 0.3186 | 51.4811 | 48.562 | 6.08 | 180660.6719 |
|
91 |
+
| 27000 | 0.8727 | 5192.1890 | 22039.3262 | 0.3165 | 51.6376 | 48.414 | 6.061 | 194013.875 |
|
92 |
+
| 28000 | 0.9050 | 5418.7476 | 22450.2344 | 0.3169 | 51.6539 | 48.399 | 6.06 | 182503.5312 |
|
93 |
+
| 29000 | 0.9374 | 5170.8613 | 23860.3691 | 0.3141 | 51.4944 | 48.549 | 6.078 | 197516.9531 |
|
94 |
+
| 30000 | 0.9697 | 5569.3379 | 25081.6641 | 0.3130 | 51.3337 | 48.701 | 6.097 | 160202.3281 |
|
95 |
+
| 30938 | 1.0 | 5306.7280 | 25078.125 | 0.3130 | 51.5266 | 48.519 | 6.075 | 179410.5625 |
|
96 |
+
|
97 |
+
### Framework versions
|
98 |
+
- Distily 0.2.0
|
99 |
+
- Transformers 4.44.0
|
100 |
+
- Pytorch 2.3.0
|
101 |
+
- Datasets 2.21.0
|
config.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "roneneldan/TinyStories-33M",
|
3 |
+
"activation_function": "gelu_new",
|
4 |
+
"architectures": [
|
5 |
+
"GPTNeoForCausalLM"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0,
|
8 |
+
"attention_layers": [
|
9 |
+
"global",
|
10 |
+
"local",
|
11 |
+
"global",
|
12 |
+
"local"
|
13 |
+
],
|
14 |
+
"attention_types": [
|
15 |
+
[
|
16 |
+
[
|
17 |
+
"global",
|
18 |
+
"local"
|
19 |
+
],
|
20 |
+
2
|
21 |
+
]
|
22 |
+
],
|
23 |
+
"bos_token_id": 50256,
|
24 |
+
"classifier_dropout": 0.1,
|
25 |
+
"embed_dropout": 0,
|
26 |
+
"eos_token_id": 50256,
|
27 |
+
"gradient_checkpointing": false,
|
28 |
+
"hidden_size": 768,
|
29 |
+
"initializer_range": 0.02,
|
30 |
+
"intermediate_size": null,
|
31 |
+
"layer_norm_epsilon": 1e-05,
|
32 |
+
"max_position_embeddings": 2048,
|
33 |
+
"model_type": "gpt_neo",
|
34 |
+
"num_heads": 16,
|
35 |
+
"num_layers": 4,
|
36 |
+
"resid_dropout": 0,
|
37 |
+
"summary_activation": null,
|
38 |
+
"summary_first_dropout": 0.1,
|
39 |
+
"summary_proj_to_labels": true,
|
40 |
+
"summary_type": "cls_index",
|
41 |
+
"summary_use_proj": true,
|
42 |
+
"torch_dtype": "bfloat16",
|
43 |
+
"transformers_version": "4.44.0",
|
44 |
+
"use_cache": true,
|
45 |
+
"vocab_size": 50257,
|
46 |
+
"window_size": 256
|
47 |
+
}
|
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 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:46d62c1acd835b0d3302fb89efc4fb14d8a4a8ae6c18fac57667cb92d59710fe
|
3 |
+
size 137033984
|
runs/Aug15_10-33-04_77e473d64567/events.out.tfevents.1723718487.77e473d64567
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f9e8ed2bb568428b38afd99b528bcd9410c16b42a623ef4d3b9b35fa81630bc4
|
3 |
+
size 1015978
|
runs/Aug15_10-54-56_77e473d64567/events.out.tfevents.1723719411.77e473d64567
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6256177912decab7694178db0c27e75c0578be219180c423a774147db1bf1b26
|
3 |
+
size 8430941
|
runs/Aug15_10-54-56_77e473d64567/events.out.tfevents.1723730393.77e473d64567
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:71f201c7055aae902cf28133ef9a872189f38c89c0f5aa26ddd1ece58d0ec828
|
3 |
+
size 253
|
runs/Aug15_11-00-37_77e473d64567/events.out.tfevents.1723719744.77e473d64567
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4dce729974b10a280f181af8ace309458ec25530b44cbf52615ae3a037bcc148
|
3 |
+
size 310567
|
runs/Aug15_11-10-45_77e473d64567/events.out.tfevents.1723720351.77e473d64567
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7c09f845e0d0c52be5ecb21a44599bb766deb6d857aceb85434bb87d49d8589a
|
3 |
+
size 7347370
|
special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<|endoftext|>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<|endoftext|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "<|endoftext|>",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<|endoftext|>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": true,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": false,
|
3 |
+
"add_prefix_space": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"50256": {
|
6 |
+
"content": "<|endoftext|>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": true,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
}
|
13 |
+
},
|
14 |
+
"bos_token": "<|endoftext|>",
|
15 |
+
"clean_up_tokenization_spaces": true,
|
16 |
+
"eos_token": "<|endoftext|>",
|
17 |
+
"errors": "replace",
|
18 |
+
"model_max_length": 2048,
|
19 |
+
"pad_token": "<|endoftext|>",
|
20 |
+
"tokenizer_class": "GPT2Tokenizer",
|
21 |
+
"unk_token": "<|endoftext|>"
|
22 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:47d34912321227943c575b1e98b78c24af82a612e06d98c18bbed312010075ac
|
3 |
+
size 907106564
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|