cimol commited on
Commit
3e51270
·
verified ·
1 Parent(s): c339d51

End of training

Browse files
Files changed (2) hide show
  1. README.md +171 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 2356a1cb-26c6-4738-8bbb-37c45734b676
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: true
23
+ chat_template: llama3
24
+ data_processes: 24
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - b64954fcc6e77b0d_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/b64954fcc6e77b0d_train_data.json
32
+ type:
33
+ field_input: input
34
+ field_instruction: instruction
35
+ field_output: output
36
+ format: '{instruction} {input}'
37
+ no_input_format: '{instruction}'
38
+ system_format: '{system}'
39
+ system_prompt: ''
40
+ debug: null
41
+ deepspeed: null
42
+ device_map: auto
43
+ do_eval: true
44
+ early_stopping_patience: 4
45
+ eval_batch_size: 4
46
+ eval_max_new_tokens: 128
47
+ eval_steps: 50
48
+ eval_table_size: null
49
+ evals_per_epoch: null
50
+ flash_attention: false
51
+ fp16: false
52
+ fsdp: null
53
+ fsdp_config: null
54
+ gradient_accumulation_steps: 4
55
+ gradient_checkpointing: true
56
+ group_by_length: true
57
+ hub_model_id: cimol/2356a1cb-26c6-4738-8bbb-37c45734b676
58
+ hub_repo: null
59
+ hub_strategy: checkpoint
60
+ hub_token: null
61
+ learning_rate: 7.0e-05
62
+ load_in_4bit: false
63
+ load_in_8bit: false
64
+ local_rank: null
65
+ logging_steps: 1
66
+ lora_alpha: 128
67
+ lora_dropout: 0.04
68
+ lora_fan_in_fan_out: null
69
+ lora_model_dir: null
70
+ lora_r: 64
71
+ lora_target_linear: true
72
+ lr_scheduler: cosine
73
+ lr_scheduler_warmup_steps: 50
74
+ max_grad_norm: 1.0
75
+ max_memory:
76
+ 0: 75GB
77
+ max_steps: 200
78
+ micro_batch_size: 8
79
+ mlflow_experiment_name: /tmp/b64954fcc6e77b0d_train_data.json
80
+ model_type: AutoModelForCausalLM
81
+ num_epochs: 3
82
+ optim_args:
83
+ adam_beta1: 0.9
84
+ adam_beta2: 0.95
85
+ adam_epsilon: 1e-8
86
+ optimizer: adamw_bnb_8bit
87
+ output_dir: miner_id_24
88
+ pad_to_sequence_len: true
89
+ resume_from_checkpoint: null
90
+ s2_attention: null
91
+ sample_packing: false
92
+ save_steps: 50
93
+ saves_per_epoch: null
94
+ seed: 17333
95
+ sequence_len: 1024
96
+ special_tokens:
97
+ pad_token: </s>
98
+ strict: false
99
+ tf32: true
100
+ tokenizer_type: AutoTokenizer
101
+ total_train_batch_size: 32
102
+ train_batch_size: 8
103
+ train_on_inputs: false
104
+ trust_remote_code: true
105
+ val_set_size: 0.05
106
+ wandb_entity: null
107
+ wandb_mode: online
108
+ wandb_name: bbdc12a3-1333-4e46-9918-0d4631f90551
109
+ wandb_project: Gradients-On-Demand
110
+ wandb_run: your_name
111
+ wandb_runid: bbdc12a3-1333-4e46-9918-0d4631f90551
112
+ warmup_steps: 10
113
+ weight_decay: 0.0
114
+ xformers_attention: null
115
+
116
+ ```
117
+
118
+ </details><br>
119
+
120
+ # 2356a1cb-26c6-4738-8bbb-37c45734b676
121
+
122
+ This model is a fine-tuned version of [NousResearch/CodeLlama-7b-hf](https://huggingface.co/NousResearch/CodeLlama-7b-hf) on the None dataset.
123
+ It achieves the following results on the evaluation set:
124
+ - Loss: 0.7187
125
+
126
+ ## Model description
127
+
128
+ More information needed
129
+
130
+ ## Intended uses & limitations
131
+
132
+ More information needed
133
+
134
+ ## Training and evaluation data
135
+
136
+ More information needed
137
+
138
+ ## Training procedure
139
+
140
+ ### Training hyperparameters
141
+
142
+ The following hyperparameters were used during training:
143
+ - learning_rate: 7e-05
144
+ - train_batch_size: 8
145
+ - eval_batch_size: 4
146
+ - seed: 17333
147
+ - gradient_accumulation_steps: 4
148
+ - total_train_batch_size: 32
149
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=adam_beta1=0.9,adam_beta2=0.95,adam_epsilon=1e-8
150
+ - lr_scheduler_type: cosine
151
+ - lr_scheduler_warmup_steps: 10
152
+ - training_steps: 200
153
+
154
+ ### Training results
155
+
156
+ | Training Loss | Epoch | Step | Validation Loss |
157
+ |:-------------:|:------:|:----:|:---------------:|
158
+ | 8.1083 | 0.0108 | 1 | 2.7239 |
159
+ | 4.5262 | 0.5376 | 50 | 1.0311 |
160
+ | 3.554 | 1.0753 | 100 | 0.8277 |
161
+ | 2.1274 | 1.6129 | 150 | 0.7497 |
162
+ | 1.2501 | 2.1505 | 200 | 0.7187 |
163
+
164
+
165
+ ### Framework versions
166
+
167
+ - PEFT 0.13.2
168
+ - Transformers 4.46.0
169
+ - Pytorch 2.5.0+cu124
170
+ - Datasets 3.0.1
171
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ee74048e00f278e1f056d19648d0bd1154a49e76975105bfd5259f89909ab9d
3
+ size 639793354