cimol commited on
Commit
e29035e
·
verified ·
1 Parent(s): 88c2f06

End of training

Browse files
README.md ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: samoline/5cf4792e-00af-4d5f-b922-4c7d5237f306
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: 94bee815-bb95-47e6-835f-ad38135a2860
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ [<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)
16
+ <details><summary>See axolotl config</summary>
17
+
18
+ axolotl version: `0.4.1`
19
+ ```yaml
20
+ adapter: lora
21
+ base_model: samoline/5cf4792e-00af-4d5f-b922-4c7d5237f306
22
+ bf16: auto
23
+ chat_template: llama3
24
+ dataloader_num_workers: 8
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - 4b98334ce710802c_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/
32
+ type:
33
+ field_input: input
34
+ field_instruction: instruct
35
+ field_output: output
36
+ format: '{instruction} {input}'
37
+ no_input_format: '{instruction}'
38
+ system_format: '{system}'
39
+ system_prompt: ''
40
+ debug: null
41
+ deepspeed: null
42
+ early_stopping_patience: null
43
+ eval_max_new_tokens: 128
44
+ eval_table_size: null
45
+ evals_per_epoch: 4
46
+ flash_attention: true
47
+ fp16: null
48
+ fsdp: null
49
+ fsdp_config: null
50
+ gradient_accumulation_steps: 1
51
+ gradient_checkpointing: true
52
+ group_by_length: false
53
+ hub_model_id: cimol/94bee815-bb95-47e6-835f-ad38135a2860
54
+ hub_repo: null
55
+ hub_strategy: end
56
+ hub_token: null
57
+ learning_rate: 0.0001
58
+ load_in_4bit: false
59
+ load_in_8bit: false
60
+ local_rank: null
61
+ logging_steps: 1
62
+ lora_alpha: 32
63
+ lora_dropout: 0.15
64
+ lora_fan_in_fan_out: null
65
+ lora_model_dir: null
66
+ lora_r: 32
67
+ lora_target_linear: true
68
+ loraplus_lr_embedding: 1.0e-06
69
+ loraplus_lr_ratio: 16
70
+ lr_scheduler: cosine
71
+ max_grad_norm: 1
72
+ max_steps: 100
73
+ micro_batch_size: 8
74
+ mlflow_experiment_name: /tmp/4b98334ce710802c_train_data.json
75
+ model_type: AutoModelForCausalLM
76
+ num_epochs: 20
77
+ optim_args:
78
+ adam_beta1: 0.9
79
+ adam_beta2: 0.999
80
+ adam_epsilon: 1e-8
81
+ optimizer: adamw_torch_fused
82
+ output_dir: miner_id_24
83
+ pad_to_sequence_len: true
84
+ resume_from_checkpoint: null
85
+ s2_attention: null
86
+ sample_packing: false
87
+ saves_per_epoch: 5
88
+ sequence_len: 1024
89
+ strict: false
90
+ tf32: true
91
+ tokenizer_type: AutoTokenizer
92
+ train_on_inputs: false
93
+ trust_remote_code: true
94
+ val_set_size: 0.05
95
+ wandb_entity: null
96
+ wandb_mode: online
97
+ wandb_name: 859088c3-5caa-40f5-84fd-490d89cece7b
98
+ wandb_project: Gradients-On-Demand
99
+ wandb_run: your_name
100
+ wandb_runid: 859088c3-5caa-40f5-84fd-490d89cece7b
101
+ warmup_steps: 150
102
+ weight_decay: 0.0
103
+ xformers_attention: null
104
+
105
+ ```
106
+
107
+ </details><br>
108
+
109
+ # 94bee815-bb95-47e6-835f-ad38135a2860
110
+
111
+ This model is a fine-tuned version of [samoline/5cf4792e-00af-4d5f-b922-4c7d5237f306](https://huggingface.co/samoline/5cf4792e-00af-4d5f-b922-4c7d5237f306) on the None dataset.
112
+ It achieves the following results on the evaluation set:
113
+ - Loss: 0.9920
114
+
115
+ ## Model description
116
+
117
+ More information needed
118
+
119
+ ## Intended uses & limitations
120
+
121
+ More information needed
122
+
123
+ ## Training and evaluation data
124
+
125
+ More information needed
126
+
127
+ ## Training procedure
128
+
129
+ ### Training hyperparameters
130
+
131
+ The following hyperparameters were used during training:
132
+ - learning_rate: 0.0001
133
+ - train_batch_size: 8
134
+ - eval_batch_size: 8
135
+ - seed: 42
136
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=adam_beta1=0.9,adam_beta2=0.999,adam_epsilon=1e-8
137
+ - lr_scheduler_type: cosine
138
+ - lr_scheduler_warmup_steps: 150
139
+ - training_steps: 100
140
+
141
+ ### Training results
142
+
143
+ | Training Loss | Epoch | Step | Validation Loss |
144
+ |:-------------:|:------:|:----:|:---------------:|
145
+ | 0.7732 | 0.0001 | 1 | 0.9834 |
146
+ | 1.1379 | 0.0002 | 2 | 0.9834 |
147
+ | 0.9396 | 0.0004 | 4 | 0.9834 |
148
+ | 0.9896 | 0.0005 | 6 | 0.9834 |
149
+ | 0.8178 | 0.0007 | 8 | 0.9834 |
150
+ | 0.9894 | 0.0009 | 10 | 0.9834 |
151
+ | 1.9155 | 0.0011 | 12 | 0.9834 |
152
+ | 1.0269 | 0.0012 | 14 | 0.9835 |
153
+ | 0.7556 | 0.0014 | 16 | 0.9836 |
154
+ | 0.8767 | 0.0016 | 18 | 0.9838 |
155
+ | 1.1682 | 0.0018 | 20 | 0.9840 |
156
+ | 0.764 | 0.0020 | 22 | 0.9842 |
157
+ | 1.1331 | 0.0021 | 24 | 0.9845 |
158
+ | 0.868 | 0.0023 | 26 | 0.9848 |
159
+ | 0.7687 | 0.0025 | 28 | 0.9851 |
160
+ | 0.9999 | 0.0027 | 30 | 0.9855 |
161
+ | 0.649 | 0.0029 | 32 | 0.9861 |
162
+ | 1.2312 | 0.0030 | 34 | 0.9865 |
163
+ | 0.6942 | 0.0032 | 36 | 0.9870 |
164
+ | 0.8366 | 0.0034 | 38 | 0.9875 |
165
+ | 0.7883 | 0.0036 | 40 | 0.9879 |
166
+ | 0.7254 | 0.0037 | 42 | 0.9882 |
167
+ | 0.9824 | 0.0039 | 44 | 0.9882 |
168
+ | 0.692 | 0.0041 | 46 | 0.9884 |
169
+ | 0.7093 | 0.0043 | 48 | 0.9886 |
170
+ | 0.897 | 0.0045 | 50 | 0.9885 |
171
+ | 0.549 | 0.0046 | 52 | 0.9886 |
172
+ | 0.7148 | 0.0048 | 54 | 0.9887 |
173
+ | 1.327 | 0.0050 | 56 | 0.9888 |
174
+ | 1.0484 | 0.0052 | 58 | 0.9890 |
175
+ | 1.1284 | 0.0053 | 60 | 0.9892 |
176
+ | 0.653 | 0.0055 | 62 | 0.9894 |
177
+ | 0.8266 | 0.0057 | 64 | 0.9896 |
178
+ | 0.835 | 0.0059 | 66 | 0.9900 |
179
+ | 0.7215 | 0.0061 | 68 | 0.9902 |
180
+ | 0.9994 | 0.0062 | 70 | 0.9904 |
181
+ | 1.0789 | 0.0064 | 72 | 0.9904 |
182
+ | 0.7381 | 0.0066 | 74 | 0.9903 |
183
+ | 0.8917 | 0.0068 | 76 | 0.9903 |
184
+ | 0.9863 | 0.0070 | 78 | 0.9901 |
185
+ | 0.8527 | 0.0071 | 80 | 0.9903 |
186
+ | 0.878 | 0.0073 | 82 | 0.9903 |
187
+ | 1.2412 | 0.0075 | 84 | 0.9904 |
188
+ | 1.0756 | 0.0077 | 86 | 0.9904 |
189
+ | 0.8945 | 0.0078 | 88 | 0.9905 |
190
+ | 0.6819 | 0.0080 | 90 | 0.9902 |
191
+ | 0.7676 | 0.0082 | 92 | 0.9901 |
192
+ | 0.8783 | 0.0084 | 94 | 0.9904 |
193
+ | 1.0132 | 0.0086 | 96 | 0.9907 |
194
+ | 0.8469 | 0.0087 | 98 | 0.9913 |
195
+ | 0.9485 | 0.0089 | 100 | 0.9920 |
196
+
197
+
198
+ ### Framework versions
199
+
200
+ - PEFT 0.13.2
201
+ - Transformers 4.46.0
202
+ - Pytorch 2.5.0+cu124
203
+ - Datasets 3.0.1
204
+ - 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": "samoline/5cf4792e-00af-4d5f-b922-4c7d5237f306",
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": 32,
14
+ "lora_dropout": 0.15,
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
+ "gate_proj",
24
+ "k_proj",
25
+ "v_proj",
26
+ "q_proj",
27
+ "up_proj",
28
+ "o_proj",
29
+ "down_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:508235ea6da5e1da923b1ffdebc2af45fcd0e684e8552770d8fa9da41d1c9ae3
3
+ size 96549898
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:555ae280381a3ba2670ab4b7262b50dbef62ac87ac5b42b64b1ab4c078e5ed11
3
+ size 96498736
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "samoline/5cf4792e-00af-4d5f-b922-4c7d5237f306",
4
+ "activation_function": "swiGLU",
5
+ "architectures": [
6
+ "LlamaForCausalLM"
7
+ ],
8
+ "attention_bias": false,
9
+ "attention_dropout": 0.0,
10
+ "bos_token_id": 1,
11
+ "eos_token_id": 2,
12
+ "head_dim": 256,
13
+ "hidden_act": "silu",
14
+ "hidden_size": 2048,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 8192,
17
+ "max_position_embeddings": 2048,
18
+ "mlp_bias": false,
19
+ "model_type": "llama",
20
+ "num_attention_heads": 8,
21
+ "num_hidden_layers": 16,
22
+ "num_key_value_heads": 8,
23
+ "pretraining_tp": 1,
24
+ "rms_norm_eps": 1e-06,
25
+ "rope_scaling": null,
26
+ "rope_theta": 10000.0,
27
+ "tie_word_embeddings": false,
28
+ "torch_dtype": "float32",
29
+ "transformers_version": "4.46.0",
30
+ "use_cache": false,
31
+ "vocab_size": 32000
32
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": true,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": true,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": true,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ }
30
+ },
31
+ "additional_special_tokens": [],
32
+ "bos_token": "<s>",
33
+ "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 %}",
34
+ "clean_up_tokenization_spaces": true,
35
+ "eos_token": "</s>",
36
+ "extra_special_tokens": {},
37
+ "legacy": false,
38
+ "model_max_length": 32768,
39
+ "pad_token": "</s>",
40
+ "sp_model_kwargs": {},
41
+ "spaces_between_special_tokens": false,
42
+ "tokenizer_class": "LlamaTokenizer",
43
+ "unk_token": "<unk>",
44
+ "use_default_system_prompt": true,
45
+ "verbose": false
46
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed1608a5321241e9a40a6e63304730324b0105623d214842c5fdc4e8c0efbc6b
3
+ size 6840