RoyJoy commited on
Commit
6a7205a
1 Parent(s): 4f5d1c7

End of training

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