eeeebbb2 commited on
Commit
ee0a8a9
1 Parent(s): 7d82d39

End of training

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