farmery commited on
Commit
34293d2
·
verified ·
1 Parent(s): f763f02

End of training

Browse files
Files changed (3) hide show
  1. README.md +179 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,179 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: unsloth/codellama-7b
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 188c3e9c-47ed-4e67-bf2c-06cc29614d5d
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: unsloth/codellama-7b
23
+ bf16: auto
24
+ chat_template: llama3
25
+ cosine_min_lr_ratio: 0.1
26
+ data_processes: 16
27
+ dataset_prepared_path: null
28
+ datasets:
29
+ - data_files:
30
+ - c137b22f6306b573_train_data.json
31
+ ds_type: json
32
+ format: custom
33
+ path: /workspace/input_data/c137b22f6306b573_train_data.json
34
+ type:
35
+ field_input: input
36
+ field_instruction: instruction
37
+ field_output: responses
38
+ format: '{instruction} {input}'
39
+ no_input_format: '{instruction}'
40
+ system_format: '{system}'
41
+ system_prompt: ''
42
+ debug: null
43
+ deepspeed: null
44
+ device_map: '{'''':torch.cuda.current_device()}'
45
+ do_eval: true
46
+ early_stopping_patience: 20
47
+ eval_batch_size: 1
48
+ eval_sample_packing: false
49
+ eval_steps: 25
50
+ evaluation_strategy: steps
51
+ flash_attention: true
52
+ fp16: null
53
+ fsdp: null
54
+ fsdp_config: null
55
+ gradient_accumulation_steps: 64
56
+ gradient_checkpointing: true
57
+ group_by_length: true
58
+ hub_model_id: sn56m1/188c3e9c-47ed-4e67-bf2c-06cc29614d5d
59
+ hub_repo: stevemonite
60
+ hub_strategy: checkpoint
61
+ hub_token: null
62
+ learning_rate: 0.0001
63
+ load_in_4bit: false
64
+ load_in_8bit: false
65
+ local_rank: null
66
+ logging_steps: 1
67
+ lora_alpha: 64
68
+ lora_dropout: 0.05
69
+ lora_fan_in_fan_out: null
70
+ lora_model_dir: null
71
+ lora_r: 32
72
+ lora_target_linear: true
73
+ lora_target_modules:
74
+ - q_proj
75
+ - k_proj
76
+ - v_proj
77
+ - o_proj
78
+ - gate_proj
79
+ - down_proj
80
+ - up_proj
81
+ lr_scheduler: cosine
82
+ max_grad_norm: 1.0
83
+ max_memory:
84
+ 0: 70GiB
85
+ max_steps: 119
86
+ micro_batch_size: 1
87
+ mlflow_experiment_name: /tmp/c137b22f6306b573_train_data.json
88
+ model_type: AutoModelForCausalLM
89
+ num_epochs: 4
90
+ optim_args:
91
+ adam_beta1: 0.9
92
+ adam_beta2: 0.95
93
+ adam_epsilon: 1e-5
94
+ optimizer: adamw_torch
95
+ output_dir: miner_id_24
96
+ pad_to_sequence_len: true
97
+ resume_from_checkpoint: null
98
+ s2_attention: null
99
+ sample_packing: false
100
+ save_steps: 50
101
+ save_strategy: steps
102
+ sequence_len: 1028
103
+ strict: false
104
+ tf32: false
105
+ tokenizer_type: AutoTokenizer
106
+ torch_compile: false
107
+ train_on_inputs: false
108
+ trust_remote_code: true
109
+ val_set_size: 50
110
+ wandb_entity: sn56-miner
111
+ wandb_mode: disabled
112
+ wandb_name: 188c3e9c-47ed-4e67-bf2c-06cc29614d5d
113
+ wandb_project: god
114
+ wandb_run: slow
115
+ wandb_runid: 188c3e9c-47ed-4e67-bf2c-06cc29614d5d
116
+ warmup_raio: 0.03
117
+ warmup_ratio: 0.05
118
+ weight_decay: 0.01
119
+ xformers_attention: null
120
+
121
+ ```
122
+
123
+ </details><br>
124
+
125
+ # 188c3e9c-47ed-4e67-bf2c-06cc29614d5d
126
+
127
+ This model is a fine-tuned version of [unsloth/codellama-7b](https://huggingface.co/unsloth/codellama-7b) on the None dataset.
128
+ It achieves the following results on the evaluation set:
129
+ - Loss: 0.1836
130
+
131
+ ## Model description
132
+
133
+ More information needed
134
+
135
+ ## Intended uses & limitations
136
+
137
+ More information needed
138
+
139
+ ## Training and evaluation data
140
+
141
+ More information needed
142
+
143
+ ## Training procedure
144
+
145
+ ### Training hyperparameters
146
+
147
+ The following hyperparameters were used during training:
148
+ - learning_rate: 0.0001
149
+ - train_batch_size: 1
150
+ - eval_batch_size: 1
151
+ - seed: 42
152
+ - distributed_type: multi-GPU
153
+ - num_devices: 4
154
+ - gradient_accumulation_steps: 64
155
+ - total_train_batch_size: 256
156
+ - total_eval_batch_size: 4
157
+ - 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
158
+ - lr_scheduler_type: cosine
159
+ - lr_scheduler_warmup_steps: 5
160
+ - training_steps: 119
161
+
162
+ ### Training results
163
+
164
+ | Training Loss | Epoch | Step | Validation Loss |
165
+ |:-------------:|:------:|:----:|:---------------:|
166
+ | 3.7567 | 0.0009 | 1 | 4.0427 |
167
+ | 0.2667 | 0.0236 | 25 | 0.3099 |
168
+ | 0.2369 | 0.0472 | 50 | 0.2571 |
169
+ | 0.2174 | 0.0708 | 75 | 0.1962 |
170
+ | 0.2068 | 0.0944 | 100 | 0.1836 |
171
+
172
+
173
+ ### Framework versions
174
+
175
+ - PEFT 0.13.2
176
+ - Transformers 4.46.0
177
+ - Pytorch 2.5.0+cu124
178
+ - Datasets 3.0.1
179
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b1b3c51a662f0a54cf21bde7fe45ee1780b2dddb5e2a1542db147628835cb60
3
+ size 319977674
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:99344d15dd3670285c4341c9f5f6c4bf096b3cf81551e262d8f0b55512649533
3
  size 319876032
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae91c90ef75859027731c604bfc6ca06e3639e438452e4645294af700f2a8d66
3
  size 319876032