mamung commited on
Commit
1891f73
·
verified ·
1 Parent(s): cfc0a20

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: efab1a72-d672-49e6-b9a5-cea3e38a04df
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
+ dataset_prepared_path: null
25
+ datasets:
26
+ - data_files:
27
+ - 77f4d29f468bc2c0_train_data.json
28
+ ds_type: json
29
+ format: custom
30
+ path: /workspace/input_data/77f4d29f468bc2c0_train_data.json
31
+ type:
32
+ field_input: input
33
+ field_instruction: instruction
34
+ field_output: response
35
+ format: '{instruction} {input}'
36
+ no_input_format: '{instruction}'
37
+ system_format: '{system}'
38
+ system_prompt: ''
39
+ debug: null
40
+ deepspeed: null
41
+ early_stopping_patience: null
42
+ eval_max_new_tokens: 256
43
+ eval_table_size: null
44
+ evals_per_epoch: 4
45
+ flash_attention: false
46
+ fp16: null
47
+ fsdp: null
48
+ fsdp_config: null
49
+ gradient_accumulation_steps: 32
50
+ gradient_checkpointing: true
51
+ group_by_length: false
52
+ hub_model_id: mamung/efab1a72-d672-49e6-b9a5-cea3e38a04df
53
+ hub_repo: null
54
+ hub_strategy: checkpoint
55
+ hub_token: null
56
+ learning_rate: 0.00015
57
+ load_in_4bit: false
58
+ load_in_8bit: false
59
+ local_rank: null
60
+ logging_steps: 3
61
+ lora_alpha: 64
62
+ lora_dropout: 0.05
63
+ lora_fan_in_fan_out: null
64
+ lora_model_dir: null
65
+ lora_r: 32
66
+ lora_target_linear: true
67
+ lora_target_modules:
68
+ - q_proj
69
+ - k_proj
70
+ - v_proj
71
+ - o_proj
72
+ lr_scheduler: cosine
73
+ max_grad_norm: 2
74
+ max_steps: 100
75
+ micro_batch_size: 2
76
+ mlflow_experiment_name: /tmp/77f4d29f468bc2c0_train_data.json
77
+ model_type: AutoModelForCausalLM
78
+ num_epochs: 3
79
+ optim_args:
80
+ adam_beta1: 0.9
81
+ adam_beta2: 0.95
82
+ adam_epsilon: 1.0e-05
83
+ optimizer: adamw_torch
84
+ output_dir: miner_id_24
85
+ pad_to_sequence_len: true
86
+ resume_from_checkpoint: null
87
+ s2_attention: null
88
+ sample_packing: false
89
+ saves_per_epoch: 4
90
+ sequence_len: 2048
91
+ special_tokens:
92
+ pad_token: </s>
93
+ strict: false
94
+ tf32: false
95
+ tokenizer_type: AutoTokenizer
96
+ train_on_inputs: false
97
+ trust_remote_code: true
98
+ val_set_size: 0.05
99
+ wandb_entity: eddysang
100
+ wandb_mode: online
101
+ wandb_name: 48c3c8d8-6645-4a88-adc5-70cd656a2562
102
+ wandb_project: Gradients-On-Demand
103
+ wandb_run: your_name
104
+ wandb_runid: 48c3c8d8-6645-4a88-adc5-70cd656a2562
105
+ warmup_steps: 20
106
+ weight_decay: 0.01
107
+ xformers_attention: false
108
+
109
+ ```
110
+
111
+ </details><br>
112
+
113
+ # efab1a72-d672-49e6-b9a5-cea3e38a04df
114
+
115
+ This model is a fine-tuned version of [NousResearch/CodeLlama-7b-hf](https://huggingface.co/NousResearch/CodeLlama-7b-hf) on the None dataset.
116
+ It achieves the following results on the evaluation set:
117
+ - Loss: 1.5387
118
+
119
+ ## Model description
120
+
121
+ More information needed
122
+
123
+ ## Intended uses & limitations
124
+
125
+ More information needed
126
+
127
+ ## Training and evaluation data
128
+
129
+ More information needed
130
+
131
+ ## Training procedure
132
+
133
+ ### Training hyperparameters
134
+
135
+ The following hyperparameters were used during training:
136
+ - learning_rate: 0.00015
137
+ - train_batch_size: 2
138
+ - eval_batch_size: 2
139
+ - seed: 42
140
+ - gradient_accumulation_steps: 32
141
+ - total_train_batch_size: 64
142
+ - 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-05
143
+ - lr_scheduler_type: cosine
144
+ - lr_scheduler_warmup_steps: 20
145
+ - training_steps: 100
146
+
147
+ ### Training results
148
+
149
+ | Training Loss | Epoch | Step | Validation Loss |
150
+ |:-------------:|:------:|:----:|:---------------:|
151
+ | No log | 0.0118 | 1 | 3.2577 |
152
+ | 99.6355 | 0.1061 | 9 | 2.9949 |
153
+ | 78.4229 | 0.2122 | 18 | 2.4324 |
154
+ | 68.7287 | 0.3182 | 27 | 2.1229 |
155
+ | 62.5845 | 0.4243 | 36 | 1.9336 |
156
+ | 57.7333 | 0.5304 | 45 | 1.8067 |
157
+ | 54.3467 | 0.6365 | 54 | 1.7132 |
158
+ | 53.3471 | 0.7425 | 63 | 1.6464 |
159
+ | 54.725 | 0.8486 | 72 | 1.5972 |
160
+ | 49.1029 | 0.9547 | 81 | 1.5639 |
161
+ | 43.1931 | 1.0626 | 90 | 1.5429 |
162
+ | 47.1437 | 1.1687 | 99 | 1.5387 |
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:12a35ef8df1e0dede738371989692ec38ce271df051dc72a77daa0bd796c612c
3
+ size 319977674