error577 commited on
Commit
6335a55
·
verified ·
1 Parent(s): 32078a3

End of training

Browse files
Files changed (3) hide show
  1. README.md +174 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,174 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 01ccba0e-ec73-458d-8b3f-cd49b725f91c
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: qlora
21
+ auto_resume_from_checkpoints: true
22
+ base_model: NousResearch/CodeLlama-7b-hf-flash
23
+ bf16: auto
24
+ chat_template: llama3
25
+ dataloader_num_workers: 12
26
+ dataset_prepared_path: null
27
+ datasets:
28
+ - data_files:
29
+ - 4bbd53a67d293afe_train_data.json
30
+ ds_type: json
31
+ format: custom
32
+ path: /workspace/input_data/4bbd53a67d293afe_train_data.json
33
+ type:
34
+ field_input: input
35
+ field_instruction: instruction
36
+ field_output: output
37
+ format: '{instruction} {input}'
38
+ no_input_format: '{instruction}'
39
+ system_format: '{system}'
40
+ system_prompt: ''
41
+ debug: null
42
+ deepspeed: null
43
+ early_stopping_patience: 3
44
+ eval_max_new_tokens: 128
45
+ eval_steps: 100
46
+ eval_table_size: null
47
+ evals_per_epoch: null
48
+ flash_attention: false
49
+ fp16: false
50
+ fsdp: null
51
+ fsdp_config: null
52
+ gradient_accumulation_steps: 2
53
+ gradient_checkpointing: true
54
+ group_by_length: true
55
+ hub_model_id: error577/01ccba0e-ec73-458d-8b3f-cd49b725f91c
56
+ hub_repo: null
57
+ hub_strategy: checkpoint
58
+ hub_token: null
59
+ learning_rate: 0.0002
60
+ load_in_4bit: true
61
+ load_in_8bit: false
62
+ local_rank: null
63
+ logging_steps: 10
64
+ lora_alpha: 128
65
+ lora_dropout: 0.05
66
+ lora_fan_in_fan_out: null
67
+ lora_model_dir: null
68
+ lora_r: 64
69
+ lora_target_linear: true
70
+ lr_scheduler: cosine
71
+ max_grad_norm: 1.0
72
+ max_steps: null
73
+ micro_batch_size: 2
74
+ mlflow_experiment_name: /tmp/4bbd53a67d293afe_train_data.json
75
+ model_type: AutoModelForCausalLM
76
+ num_epochs: 3
77
+ optimizer: adamw_torch_4bit
78
+ output_dir: miner_id_24
79
+ pad_to_sequence_len: true
80
+ resume_from_checkpoint: null
81
+ s2_attention: null
82
+ sample_packing: false
83
+ save_steps: 100
84
+ sequence_len: 512
85
+ special_tokens:
86
+ pad_token: </s>
87
+ strict: false
88
+ tf32: false
89
+ tokenizer_type: AutoTokenizer
90
+ train_on_inputs: false
91
+ trust_remote_code: true
92
+ val_set_size: 0.005
93
+ wandb_entity: null
94
+ wandb_mode: online
95
+ wandb_name: 2da1b8da-fcf3-4d42-b4ea-e536ab198f3e
96
+ wandb_project: Gradients-On-Demand
97
+ wandb_run: your_name
98
+ wandb_runid: 2da1b8da-fcf3-4d42-b4ea-e536ab198f3e
99
+ warmup_steps: 30
100
+ weight_decay: 0.0
101
+ xformers_attention: null
102
+
103
+ ```
104
+
105
+ </details><br>
106
+
107
+ # 01ccba0e-ec73-458d-8b3f-cd49b725f91c
108
+
109
+ 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.
110
+ It achieves the following results on the evaluation set:
111
+ - Loss: 0.1951
112
+
113
+ ## Model description
114
+
115
+ More information needed
116
+
117
+ ## Intended uses & limitations
118
+
119
+ More information needed
120
+
121
+ ## Training and evaluation data
122
+
123
+ More information needed
124
+
125
+ ## Training procedure
126
+
127
+ ### Training hyperparameters
128
+
129
+ The following hyperparameters were used during training:
130
+ - learning_rate: 0.0002
131
+ - train_batch_size: 2
132
+ - eval_batch_size: 2
133
+ - seed: 42
134
+ - gradient_accumulation_steps: 2
135
+ - total_train_batch_size: 4
136
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_4BIT with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
137
+ - lr_scheduler_type: cosine
138
+ - lr_scheduler_warmup_steps: 30
139
+ - num_epochs: 3
140
+
141
+ ### Training results
142
+
143
+ | Training Loss | Epoch | Step | Validation Loss |
144
+ |:-------------:|:------:|:----:|:---------------:|
145
+ | No log | 0.0002 | 1 | 1.1623 |
146
+ | 0.2625 | 0.0168 | 100 | 0.3775 |
147
+ | 0.2999 | 0.0335 | 200 | 0.3310 |
148
+ | 0.152 | 0.0503 | 300 | 0.2558 |
149
+ | 0.1516 | 0.0670 | 400 | 0.2434 |
150
+ | 0.1028 | 0.0838 | 500 | 0.3978 |
151
+ | 0.1054 | 0.1005 | 600 | 0.2447 |
152
+ | 0.1057 | 0.1173 | 700 | 0.2287 |
153
+ | 0.1816 | 0.1340 | 800 | 0.2239 |
154
+ | 0.0807 | 0.1508 | 900 | 0.2128 |
155
+ | 0.1286 | 0.1675 | 1000 | 0.2033 |
156
+ | 0.1858 | 0.1843 | 1100 | 0.2038 |
157
+ | 0.1361 | 0.2010 | 1200 | 0.1928 |
158
+ | 0.1428 | 0.2178 | 1300 | 0.1864 |
159
+ | 0.1253 | 0.2345 | 1400 | 0.1913 |
160
+ | 0.1476 | 0.2513 | 1500 | 0.1920 |
161
+ | 0.153 | 0.2680 | 1600 | 0.1805 |
162
+ | 0.1416 | 0.2848 | 1700 | 0.1777 |
163
+ | 0.0545 | 0.3015 | 1800 | 0.2057 |
164
+ | 0.2373 | 0.3183 | 1900 | 0.1916 |
165
+ | 0.098 | 0.3350 | 2000 | 0.1951 |
166
+
167
+
168
+ ### Framework versions
169
+
170
+ - PEFT 0.13.2
171
+ - Transformers 4.46.0
172
+ - Pytorch 2.5.0+cu124
173
+ - Datasets 3.0.1
174
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dab6111890b48683ba8f905ecd2d506fb80767b1458ebff1b4beb18e335b70e4
3
+ size 639793354
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:356c273a51c0a03ae1803944b121f7cda70ffd93ce513774b3adceca6c1040ba
3
  size 639691872
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7f058dbfbca783540a13fdd4e0733d9c17629cf5818376c9f2d8e844c377b6e
3
  size 639691872