stanpony commited on
Commit
e2b97ac
·
verified ·
1 Parent(s): df3e014

End of training

Browse files
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: roneneldan/TinyStories-1M
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: test_1M_1-2025-02-20-18-21
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # test_1M_1-2025-02-20-18-21
15
+
16
+ This model is a fine-tuned version of [roneneldan/TinyStories-1M](https://huggingface.co/roneneldan/TinyStories-1M) on the None dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 2.4115
19
+
20
+ ## Model description
21
+
22
+ More information needed
23
+
24
+ ## Intended uses & limitations
25
+
26
+ More information needed
27
+
28
+ ## Training and evaluation data
29
+
30
+ More information needed
31
+
32
+ ## Training procedure
33
+
34
+ ### Training hyperparameters
35
+
36
+ The following hyperparameters were used during training:
37
+ - learning_rate: 2.5e-05
38
+ - train_batch_size: 4
39
+ - eval_batch_size: 8
40
+ - seed: 42
41
+ - gradient_accumulation_steps: 2
42
+ - total_train_batch_size: 8
43
+ - optimizer: Use OptimizerNames.PAGED_ADAMW_8BIT with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
44
+ - lr_scheduler_type: linear
45
+ - lr_scheduler_warmup_steps: 1
46
+ - num_epochs: 6
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss |
51
+ |:-------------:|:-----:|:----:|:---------------:|
52
+ | 2.5947 | 0.5 | 297 | 2.5063 |
53
+ | 2.5953 | 1.0 | 594 | 2.4885 |
54
+ | 2.4797 | 1.5 | 891 | 2.4663 |
55
+ | 2.3619 | 2.0 | 1188 | 2.4567 |
56
+ | 2.4461 | 2.5 | 1485 | 2.4477 |
57
+ | 2.6288 | 3.0 | 1782 | 2.4462 |
58
+ | 2.4072 | 3.5 | 2079 | 2.4369 |
59
+ | 2.417 | 4.0 | 2376 | 2.4303 |
60
+ | 2.3747 | 4.5 | 2673 | 2.4293 |
61
+ | 2.313 | 5.0 | 2970 | 2.4210 |
62
+ | 2.3675 | 5.5 | 3267 | 2.4159 |
63
+ | 2.402 | 6.0 | 3564 | 2.4115 |
64
+
65
+
66
+ ### Framework versions
67
+
68
+ - PEFT 0.14.0
69
+ - Transformers 4.48.1
70
+ - Pytorch 2.5.1+cu124
71
+ - Datasets 3.2.0
72
+ - Tokenizers 0.21.0
adapter_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "roneneldan/TinyStories-1M",
5
+ "bias": "none",
6
+ "eva_config": null,
7
+ "exclude_modules": null,
8
+ "fan_in_fan_out": false,
9
+ "inference_mode": true,
10
+ "init_lora_weights": true,
11
+ "layer_replication": null,
12
+ "layers_pattern": null,
13
+ "layers_to_transform": null,
14
+ "loftq_config": {},
15
+ "lora_alpha": 128,
16
+ "lora_bias": false,
17
+ "lora_dropout": 0.05,
18
+ "megatron_config": null,
19
+ "megatron_core": "megatron.core",
20
+ "modules_to_save": [
21
+ "wte"
22
+ ],
23
+ "peft_type": "LORA",
24
+ "r": 64,
25
+ "rank_pattern": {},
26
+ "revision": null,
27
+ "target_modules": [
28
+ "gate_proj",
29
+ "v_proj",
30
+ "down_proj",
31
+ "up_proj",
32
+ "q_proj",
33
+ "o_proj",
34
+ "k_proj"
35
+ ],
36
+ "task_type": "CAUSAL_LM",
37
+ "use_dora": false,
38
+ "use_rslora": true
39
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f11695c1d20f087c05f4bdef83cd63398802a3c963ca14bc8026af8c0263e035
3
+ size 25732352
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<endofparagraph>": 50257
3
+ }
config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "roneneldan/TinyStories-1M",
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
+ "global",
14
+ "local",
15
+ "global",
16
+ "local"
17
+ ],
18
+ "attention_types": [
19
+ [
20
+ [
21
+ "global",
22
+ "local"
23
+ ],
24
+ 4
25
+ ]
26
+ ],
27
+ "bos_token_id": 50256,
28
+ "classifier_dropout": 0.1,
29
+ "embed_dropout": 0,
30
+ "eos_token_id": 50256,
31
+ "gradient_checkpointing": false,
32
+ "hidden_size": 64,
33
+ "initializer_range": 0.02,
34
+ "intermediate_size": null,
35
+ "layer_norm_epsilon": 1e-05,
36
+ "max_position_embeddings": 2048,
37
+ "model_type": "gpt_neo",
38
+ "num_heads": 16,
39
+ "num_layers": 8,
40
+ "resid_dropout": 0,
41
+ "summary_activation": null,
42
+ "summary_first_dropout": 0.1,
43
+ "summary_proj_to_labels": true,
44
+ "summary_type": "cls_index",
45
+ "summary_use_proj": true,
46
+ "torch_dtype": "float32",
47
+ "transformers_version": "4.48.1",
48
+ "use_cache": false,
49
+ "vocab_size": 50258,
50
+ "window_size": 256
51
+ }
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.48.1"
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:f56023a60c848ec4de9d30b49fb98b1c1732776369130543d8a827ca2ea3b287
3
+ size 27861464
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,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": true,
4
+ "add_prefix_space": false,
5
+ "added_tokens_decoder": {
6
+ "50256": {
7
+ "content": "<|endoftext|>",
8
+ "lstrip": false,
9
+ "normalized": true,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "50257": {
15
+ "content": "<endofparagraph>",
16
+ "lstrip": false,
17
+ "normalized": true,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": false
21
+ }
22
+ },
23
+ "bos_token": "<|endoftext|>",
24
+ "clean_up_tokenization_spaces": false,
25
+ "eos_token": "<|endoftext|>",
26
+ "errors": "replace",
27
+ "extra_special_tokens": {},
28
+ "model_max_length": 2048,
29
+ "pad_token": "<|endoftext|>",
30
+ "padding_side": "right",
31
+ "tokenizer_class": "GPT2Tokenizer",
32
+ "unk_token": "<|endoftext|>"
33
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:322b16efddfa481bf547860e414ed07ae5a05db5c67922e44d7849689e804d6e
3
+ size 5368
vocab.json ADDED
The diff for this file is too large to render. See raw diff