baby-dev commited on
Commit
bfe5fde
·
verified ·
1 Parent(s): de1fef2

End of training

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,216 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: mit
4
+ base_model: fxmarty/tiny-random-GemmaForCausalLM
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: f51bfe77-a6eb-4b31-8db3-03587638137c
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ [<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
17
+ <details><summary>See axolotl config</summary>
18
+
19
+ axolotl version: `0.4.1`
20
+ ```yaml
21
+ adapter: lora
22
+ base_model: fxmarty/tiny-random-GemmaForCausalLM
23
+ bf16: auto
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - 5357759852985b4d_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/5357759852985b4d_train_data.json
32
+ type:
33
+ field_input: Complex_CoT
34
+ field_instruction: Question
35
+ field_output: Response
36
+ format: '{instruction} {input}'
37
+ no_input_format: '{instruction}'
38
+ system_format: '{system}'
39
+ system_prompt: ''
40
+ debug: null
41
+ deepspeed: null
42
+ device_map: auto
43
+ do_eval: true
44
+ early_stopping_patience: 3
45
+ eval_batch_size: 4
46
+ eval_max_new_tokens: 128
47
+ eval_steps: 200
48
+ eval_table_size: null
49
+ evals_per_epoch: null
50
+ flash_attention: true
51
+ fp16: false
52
+ fsdp: null
53
+ fsdp_config: null
54
+ gradient_accumulation_steps: 4
55
+ gradient_checkpointing: false
56
+ group_by_length: true
57
+ hub_model_id: baby-dev/f51bfe77-a6eb-4b31-8db3-03587638137c
58
+ hub_strategy: end
59
+ learning_rate: 0.0002
60
+ load_in_4bit: false
61
+ load_in_8bit: false
62
+ local_rank: null
63
+ logging_steps: 50
64
+ lora_alpha: 64
65
+ lora_dropout: 0.05
66
+ lora_fan_in_fan_out: null
67
+ lora_model_dir: null
68
+ lora_r: 32
69
+ lora_target_linear: true
70
+ lr_scheduler: constant
71
+ max_grad_norm: 1.0
72
+ max_memory:
73
+ 0: 75GB
74
+ max_steps: 23974
75
+ micro_batch_size: 4
76
+ mlflow_experiment_name: /tmp/5357759852985b4d_train_data.json
77
+ model_type: AutoModelForCausalLM
78
+ num_epochs: 10
79
+ optim_args:
80
+ adam_beta1: 0.9
81
+ adam_beta2: 0.95
82
+ adam_epsilon: 1e-5
83
+ optimizer: adamw_bnb_8bit
84
+ output_dir: miner_id_24
85
+ pad_to_sequence_len: true
86
+ resume_from_checkpoint: null
87
+ s2_attention: null
88
+ sample_packing: false
89
+ save_steps: 200
90
+ saves_per_epoch: null
91
+ sequence_len: 512
92
+ strict: false
93
+ tf32: true
94
+ tokenizer_type: AutoTokenizer
95
+ train_on_inputs: false
96
+ trust_remote_code: true
97
+ val_set_size: 0.05
98
+ wandb_entity: null
99
+ wandb_mode: online
100
+ wandb_name: 4825c224-af5c-46aa-8cf7-640b49b5a593
101
+ wandb_project: SN56-45
102
+ wandb_run: your_name
103
+ wandb_runid: 4825c224-af5c-46aa-8cf7-640b49b5a593
104
+ warmup_steps: 50
105
+ weight_decay: 0.0
106
+ xformers_attention: null
107
+
108
+ ```
109
+
110
+ </details><br>
111
+
112
+ # f51bfe77-a6eb-4b31-8db3-03587638137c
113
+
114
+ This model is a fine-tuned version of [fxmarty/tiny-random-GemmaForCausalLM](https://huggingface.co/fxmarty/tiny-random-GemmaForCausalLM) on the None dataset.
115
+ It achieves the following results on the evaluation set:
116
+ - Loss: 12.3695
117
+
118
+ ## Model description
119
+
120
+ More information needed
121
+
122
+ ## Intended uses & limitations
123
+
124
+ More information needed
125
+
126
+ ## Training and evaluation data
127
+
128
+ More information needed
129
+
130
+ ## Training procedure
131
+
132
+ ### Training hyperparameters
133
+
134
+ The following hyperparameters were used during training:
135
+ - learning_rate: 0.0002
136
+ - train_batch_size: 4
137
+ - eval_batch_size: 4
138
+ - seed: 42
139
+ - gradient_accumulation_steps: 4
140
+ - total_train_batch_size: 16
141
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=adam_beta1=0.9,adam_beta2=0.95,adam_epsilon=1e-5
142
+ - lr_scheduler_type: constant
143
+ - lr_scheduler_warmup_steps: 50
144
+ - training_steps: 14470
145
+
146
+ ### Training results
147
+
148
+ | Training Loss | Epoch | Step | Validation Loss |
149
+ |:-------------:|:------:|:-----:|:---------------:|
150
+ | No log | 0.0007 | 1 | 12.4576 |
151
+ | 12.4008 | 0.1382 | 200 | 12.4003 |
152
+ | 12.395 | 0.2764 | 400 | 12.3943 |
153
+ | 12.3938 | 0.4147 | 600 | 12.3938 |
154
+ | 12.3923 | 0.5529 | 800 | 12.3918 |
155
+ | 12.3906 | 0.6911 | 1000 | 12.3871 |
156
+ | 12.3865 | 0.8293 | 1200 | 12.3827 |
157
+ | 12.383 | 0.9675 | 1400 | 12.3802 |
158
+ | 12.3819 | 1.1057 | 1600 | 12.3794 |
159
+ | 12.3811 | 1.2440 | 1800 | 12.3783 |
160
+ | 12.3801 | 1.3822 | 2000 | 12.3778 |
161
+ | 12.3811 | 1.5204 | 2200 | 12.3772 |
162
+ | 12.3805 | 1.6586 | 2400 | 12.3774 |
163
+ | 12.3807 | 1.7968 | 2600 | 12.3770 |
164
+ | 12.3804 | 1.9350 | 2800 | 12.3774 |
165
+ | 12.3793 | 2.0733 | 3000 | 12.3764 |
166
+ | 12.38 | 2.2115 | 3200 | 12.3761 |
167
+ | 12.3799 | 2.3497 | 3400 | 12.3763 |
168
+ | 12.3795 | 2.4879 | 3600 | 12.3758 |
169
+ | 12.3809 | 2.6261 | 3800 | 12.3757 |
170
+ | 12.3785 | 2.7643 | 4000 | 12.3757 |
171
+ | 12.3779 | 2.9026 | 4200 | 12.3755 |
172
+ | 12.379 | 3.0408 | 4400 | 12.3753 |
173
+ | 12.3781 | 3.1790 | 4600 | 12.3754 |
174
+ | 12.3778 | 3.3172 | 4800 | 12.3750 |
175
+ | 12.3765 | 3.4554 | 5000 | 12.3751 |
176
+ | 12.3777 | 3.5936 | 5200 | 12.3748 |
177
+ | 12.3765 | 3.7319 | 5400 | 12.3749 |
178
+ | 12.3778 | 3.8701 | 5600 | 12.3746 |
179
+ | 12.3788 | 4.0083 | 5800 | 12.3746 |
180
+ | 12.3768 | 4.1465 | 6000 | 12.3746 |
181
+ | 12.3774 | 4.2847 | 6200 | 12.3742 |
182
+ | 12.3774 | 4.4229 | 6400 | 12.3741 |
183
+ | 12.3766 | 4.5612 | 6600 | 12.3739 |
184
+ | 12.3775 | 4.6994 | 6800 | 12.3738 |
185
+ | 12.3769 | 4.8376 | 7000 | 12.3740 |
186
+ | 12.3769 | 4.9758 | 7200 | 12.3737 |
187
+ | 12.3774 | 5.1140 | 7400 | 12.3736 |
188
+ | 12.3754 | 5.2522 | 7600 | 12.3733 |
189
+ | 12.3759 | 5.3905 | 7800 | 12.3728 |
190
+ | 12.3742 | 5.5287 | 8000 | 12.3728 |
191
+ | 12.3764 | 5.6669 | 8200 | 12.3724 |
192
+ | 12.3766 | 5.8051 | 8400 | 12.3721 |
193
+ | 12.3761 | 5.9433 | 8600 | 12.3720 |
194
+ | 12.3746 | 6.0815 | 8800 | 12.3714 |
195
+ | 12.3749 | 6.2198 | 9000 | 12.3710 |
196
+ | 12.3739 | 6.3580 | 9200 | 12.3710 |
197
+ | 12.3743 | 6.4962 | 9400 | 12.3709 |
198
+ | 12.3748 | 6.6344 | 9600 | 12.3706 |
199
+ | 12.3723 | 6.7726 | 9800 | 12.3706 |
200
+ | 12.3738 | 6.9109 | 10000 | 12.3703 |
201
+ | 12.3724 | 7.0491 | 10200 | 12.3702 |
202
+ | 12.3723 | 7.1873 | 10400 | 12.3696 |
203
+ | 12.3728 | 7.3255 | 10600 | 12.3697 |
204
+ | 12.3736 | 7.4637 | 10800 | 12.3694 |
205
+ | 12.3728 | 7.6019 | 11000 | 12.3698 |
206
+ | 12.3735 | 7.7402 | 11200 | 12.3695 |
207
+ | 12.3732 | 7.8784 | 11400 | 12.3695 |
208
+
209
+
210
+ ### Framework versions
211
+
212
+ - PEFT 0.13.2
213
+ - Transformers 4.46.0
214
+ - Pytorch 2.5.0+cu124
215
+ - Datasets 3.0.1
216
+ - Tokenizers 0.20.1
adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "fxmarty/tiny-random-GemmaForCausalLM",
5
+ "bias": "none",
6
+ "fan_in_fan_out": null,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 64,
14
+ "lora_dropout": 0.05,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 32,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "up_proj",
24
+ "k_proj",
25
+ "gate_proj",
26
+ "o_proj",
27
+ "down_proj",
28
+ "q_proj",
29
+ "v_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9f03ae60f8d4571b39d77e8320ac0259f5044ddf12bcf82d4aaa01e8fb32c6b
3
+ size 41112
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71e3d1e282e51d7a9d49f83782ecc73927621bf04a29d07f9d7174783f86f707
3
+ size 37352
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "fxmarty/tiny-random-GemmaForCausalLM",
4
+ "architectures": [
5
+ "GemmaForCausalLM"
6
+ ],
7
+ "attention_bias": false,
8
+ "attention_dropout": 0.0,
9
+ "bos_token_id": 2,
10
+ "eos_token_id": 1,
11
+ "head_dim": 8,
12
+ "hidden_act": "gelu",
13
+ "hidden_activation": "gelu_pytorch_tanh",
14
+ "hidden_size": 32,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 2,
17
+ "max_position_embeddings": 512,
18
+ "model_type": "gemma",
19
+ "num_attention_heads": 2,
20
+ "num_hidden_layers": 1,
21
+ "num_key_value_heads": 1,
22
+ "pad_token_id": 0,
23
+ "rms_norm_eps": 1e-06,
24
+ "rope_scaling": null,
25
+ "rope_theta": 10000.0,
26
+ "torch_dtype": "float32",
27
+ "transformers_version": "4.46.0",
28
+ "use_cache": false,
29
+ "vocab_size": 256000
30
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<bos>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<eos>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<pad>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a63c485bbbab0efcfc1ffe32fd177108a9f70be1875ea3aacad3c4f064a5974b
3
+ size 34315097
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61a7b147390c64585d6c3543dd6fc636906c9af3865a5548f27f31aee1d4c8e2
3
+ size 4241003
tokenizer_config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<pad>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<eos>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "<bos>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "3": {
30
+ "content": "<unk>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ }
37
+ },
38
+ "bos_token": "<bos>",
39
+ "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' }}{% endif %}",
40
+ "clean_up_tokenization_spaces": false,
41
+ "eos_token": "<eos>",
42
+ "legacy": null,
43
+ "model_max_length": 1000000000000000019884624838656,
44
+ "pad_token": "<pad>",
45
+ "sp_model_kwargs": {},
46
+ "spaces_between_special_tokens": false,
47
+ "tokenizer_class": "GemmaTokenizer",
48
+ "unk_token": "<unk>",
49
+ "use_default_system_prompt": false
50
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9e346f067d7aebd38c637a176f84ba9a89cca69f4c58ec73b2813eabf3e28fb
3
+ size 6776