RoyJoy commited on
Commit
98a85e1
1 Parent(s): 7fb410f

End of training

Browse files
Files changed (2) hide show
  1. README.md +191 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: NousResearch/CodeLlama-7b-hf-flash
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: 80dc34fd-fcd1-43f9-b839-05d0bef27e89
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: NousResearch/CodeLlama-7b-hf-flash
22
+ bf16: auto
23
+ chat_template: llama3
24
+ cosine_min_lr_ratio: 0.1
25
+ data_processes: 4
26
+ dataset_prepared_path: null
27
+ datasets:
28
+ - data_files:
29
+ - b522fb03d0e6647e_train_data.json
30
+ ds_type: json
31
+ format: custom
32
+ path: /workspace/input_data/b522fb03d0e6647e_train_data.json
33
+ type:
34
+ field_instruction: text
35
+ field_output: url
36
+ format: '{instruction}'
37
+ no_input_format: '{instruction}'
38
+ system_format: '{system}'
39
+ system_prompt: ''
40
+ debug: null
41
+ deepspeed: null
42
+ device_map:
43
+ lm_head: 3
44
+ model.embed_tokens: 0
45
+ model.layers.0: 0
46
+ model.layers.1: 0
47
+ model.layers.10: 3
48
+ model.layers.11: 3
49
+ model.layers.2: 0
50
+ model.layers.3: 1
51
+ model.layers.4: 1
52
+ model.layers.5: 1
53
+ model.layers.6: 2
54
+ model.layers.7: 2
55
+ model.layers.8: 2
56
+ model.layers.9: 3
57
+ model.norm: 3
58
+ do_eval: true
59
+ early_stopping_patience: 1
60
+ eval_batch_size: 1
61
+ eval_sample_packing: false
62
+ eval_steps: 25
63
+ evaluation_strategy: steps
64
+ flash_attention: false
65
+ fp16: null
66
+ fsdp: null
67
+ fsdp_config: null
68
+ gradient_accumulation_steps: 32
69
+ gradient_checkpointing: true
70
+ group_by_length: true
71
+ hub_model_id: sn56a2/80dc34fd-fcd1-43f9-b839-05d0bef27e89
72
+ hub_strategy: checkpoint
73
+ hub_token: null
74
+ learning_rate: 0.0001
75
+ load_in_4bit: false
76
+ load_in_8bit: false
77
+ local_rank: null
78
+ logging_steps: 1
79
+ lora_alpha: 64
80
+ lora_dropout: 0.05
81
+ lora_fan_in_fan_out: null
82
+ lora_model_dir: null
83
+ lora_r: 32
84
+ lora_target_linear: true
85
+ lora_target_modules:
86
+ - q_proj
87
+ - v_proj
88
+ lr_scheduler: cosine
89
+ max_grad_norm: 0.3
90
+ max_memory:
91
+ 0: 60GB
92
+ 1: 70GB
93
+ 2: 70GB
94
+ 3: 70GB
95
+ cpu: 96GB
96
+ max_steps: 50
97
+ micro_batch_size: 1
98
+ mixed_precision: bf16
99
+ mlflow_experiment_name: /tmp/b522fb03d0e6647e_train_data.json
100
+ model_type: AutoModelForCausalLM
101
+ num_epochs: 3
102
+ optim_args:
103
+ adam_beta1: 0.9
104
+ adam_beta2: 0.95
105
+ adam_epsilon: 1e-5
106
+ optimizer: adamw_torch
107
+ output_dir: miner_id_24
108
+ pad_to_sequence_len: true
109
+ resume_from_checkpoint: null
110
+ s2_attention: null
111
+ sample_packing: false
112
+ save_steps: 25
113
+ save_strategy: steps
114
+ sequence_len: 2048
115
+ special_tokens:
116
+ pad_token: </s>
117
+ strict: false
118
+ tf32: false
119
+ tokenizer_type: AutoTokenizer
120
+ torch_compile: false
121
+ torch_dtype: bfloat16
122
+ train_on_inputs: false
123
+ trust_remote_code: true
124
+ use_cache: false
125
+ val_set_size: 50
126
+ wandb_entity: null
127
+ wandb_mode: online
128
+ wandb_name: 80dc34fd-fcd1-43f9-b839-05d0bef27e89
129
+ wandb_project: Public_TuningSN
130
+ wandb_runid: 80dc34fd-fcd1-43f9-b839-05d0bef27e89
131
+ warmup_ratio: 0.05
132
+ weight_decay: 0.01
133
+ xformers_attention: null
134
+
135
+ ```
136
+
137
+ </details><br>
138
+
139
+ # 80dc34fd-fcd1-43f9-b839-05d0bef27e89
140
+
141
+ This model is a fine-tuned version of [NousResearch/CodeLlama-7b-hf-flash](https://huggingface.co/NousResearch/CodeLlama-7b-hf-flash) on the None dataset.
142
+ It achieves the following results on the evaluation set:
143
+ - Loss: 0.7002
144
+
145
+ ## Model description
146
+
147
+ More information needed
148
+
149
+ ## Intended uses & limitations
150
+
151
+ More information needed
152
+
153
+ ## Training and evaluation data
154
+
155
+ More information needed
156
+
157
+ ## Training procedure
158
+
159
+ ### Training hyperparameters
160
+
161
+ The following hyperparameters were used during training:
162
+ - learning_rate: 0.0001
163
+ - train_batch_size: 1
164
+ - eval_batch_size: 1
165
+ - seed: 42
166
+ - distributed_type: multi-GPU
167
+ - num_devices: 4
168
+ - gradient_accumulation_steps: 32
169
+ - total_train_batch_size: 128
170
+ - total_eval_batch_size: 4
171
+ - optimizer: Use OptimizerNames.ADAMW_TORCH 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
172
+ - lr_scheduler_type: cosine
173
+ - lr_scheduler_warmup_steps: 2
174
+ - training_steps: 50
175
+
176
+ ### Training results
177
+
178
+ | Training Loss | Epoch | Step | Validation Loss |
179
+ |:-------------:|:------:|:----:|:---------------:|
180
+ | 135.4249 | 0.0021 | 1 | 3.7290 |
181
+ | 23.024 | 0.0536 | 25 | 0.7075 |
182
+ | 22.4465 | 0.1071 | 50 | 0.7002 |
183
+
184
+
185
+ ### Framework versions
186
+
187
+ - PEFT 0.13.2
188
+ - Transformers 4.46.0
189
+ - Pytorch 2.5.0+cu124
190
+ - Datasets 3.0.1
191
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12096b904e1198fd6914a25bfce2bc3f59016b3ada0267c820b58a784bb0f0c7
3
+ size 319977674