farmery commited on
Commit
aa146fd
·
verified ·
1 Parent(s): ac82103

End of training

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