tryingpro commited on
Commit
8376824
·
verified ·
1 Parent(s): aeb02ba

End of training

Browse files
Files changed (2) hide show
  1. README.md +175 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: cc-by-sa-4.0
4
+ base_model: defog/llama-3-sqlcoder-8b
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 02f47b36-6bb0-4259-99d9-53050fe333ac
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: defog/llama-3-sqlcoder-8b
23
+ bf16: true
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - 4ba7abd1a783cca6_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/4ba7abd1a783cca6_train_data.json
32
+ type:
33
+ field_input: system
34
+ field_instruction: instruction
35
+ field_output: chosen
36
+ format: '{instruction} {input}'
37
+ no_input_format: '{instruction}'
38
+ system_format: '{system}'
39
+ system_prompt: ''
40
+ debug: null
41
+ deepspeed: null
42
+ early_stopping_patience: null
43
+ eval_max_new_tokens: 256
44
+ eval_table_size: null
45
+ evals_per_epoch: 4
46
+ flash_attention: false
47
+ fp16: null
48
+ fsdp: null
49
+ fsdp_config: null
50
+ gradient_accumulation_steps: 32
51
+ gradient_checkpointing: true
52
+ group_by_length: false
53
+ hub_model_id: tryingpro/02f47b36-6bb0-4259-99d9-53050fe333ac
54
+ hub_repo: null
55
+ hub_strategy: checkpoint
56
+ hub_token: null
57
+ learning_rate: 0.0002
58
+ load_in_4bit: false
59
+ load_in_8bit: false
60
+ local_rank: null
61
+ logging_steps: 3
62
+ lora_alpha: 64
63
+ lora_dropout: 0.05
64
+ lora_fan_in_fan_out: null
65
+ lora_model_dir: null
66
+ lora_r: 32
67
+ lora_target_linear: true
68
+ lora_target_modules:
69
+ - q_proj
70
+ - k_proj
71
+ - v_proj
72
+ - o_proj
73
+ - gate_proj
74
+ - down_proj
75
+ - up_proj
76
+ lr_scheduler: cosine
77
+ max_grad_norm: 2
78
+ max_steps: 90
79
+ micro_batch_size: 2
80
+ mlflow_experiment_name: /tmp/4ba7abd1a783cca6_train_data.json
81
+ model_type: AutoModelForCausalLM
82
+ num_epochs: 3
83
+ optim_args:
84
+ adam_beta1: 0.9
85
+ adam_beta2: 0.95
86
+ adam_epsilon: 1.0e-05
87
+ optimizer: adamw_torch
88
+ output_dir: miner_id_24
89
+ pad_to_sequence_len: true
90
+ resume_from_checkpoint: null
91
+ s2_attention: null
92
+ sample_packing: false
93
+ saves_per_epoch: 4
94
+ sequence_len: 2048
95
+ special_tokens:
96
+ pad_token: <|eot_id|>
97
+ strict: false
98
+ tf32: false
99
+ tokenizer_type: AutoTokenizer
100
+ train_on_inputs: false
101
+ trust_remote_code: true
102
+ val_set_size: 0.05
103
+ wandb_entity: tryingpro-unicourt
104
+ wandb_mode: online
105
+ wandb_name: dde4cb64-07df-4e03-8a22-1f218483bad1
106
+ wandb_project: Gradients-On-Demand
107
+ wandb_run: your_name
108
+ wandb_runid: dde4cb64-07df-4e03-8a22-1f218483bad1
109
+ warmup_steps: 20
110
+ weight_decay: 0.02
111
+ xformers_attention: false
112
+
113
+ ```
114
+
115
+ </details><br>
116
+
117
+ # 02f47b36-6bb0-4259-99d9-53050fe333ac
118
+
119
+ This model is a fine-tuned version of [defog/llama-3-sqlcoder-8b](https://huggingface.co/defog/llama-3-sqlcoder-8b) on the None dataset.
120
+ It achieves the following results on the evaluation set:
121
+ - Loss: 0.7581
122
+
123
+ ## Model description
124
+
125
+ More information needed
126
+
127
+ ## Intended uses & limitations
128
+
129
+ More information needed
130
+
131
+ ## Training and evaluation data
132
+
133
+ More information needed
134
+
135
+ ## Training procedure
136
+
137
+ ### Training hyperparameters
138
+
139
+ The following hyperparameters were used during training:
140
+ - learning_rate: 0.0002
141
+ - train_batch_size: 2
142
+ - eval_batch_size: 2
143
+ - seed: 42
144
+ - gradient_accumulation_steps: 32
145
+ - total_train_batch_size: 64
146
+ - 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
147
+ - lr_scheduler_type: cosine
148
+ - lr_scheduler_warmup_steps: 20
149
+ - training_steps: 90
150
+
151
+ ### Training results
152
+
153
+ | Training Loss | Epoch | Step | Validation Loss |
154
+ |:-------------:|:------:|:----:|:---------------:|
155
+ | No log | 0.0004 | 1 | 1.1770 |
156
+ | 1.128 | 0.0032 | 8 | 1.0007 |
157
+ | 0.908 | 0.0064 | 16 | 0.8819 |
158
+ | 0.8148 | 0.0096 | 24 | 0.8319 |
159
+ | 0.8126 | 0.0128 | 32 | 0.8035 |
160
+ | 0.7618 | 0.0160 | 40 | 0.7878 |
161
+ | 0.8149 | 0.0192 | 48 | 0.7784 |
162
+ | 0.7839 | 0.0225 | 56 | 0.7703 |
163
+ | 0.7865 | 0.0257 | 64 | 0.7657 |
164
+ | 0.766 | 0.0289 | 72 | 0.7610 |
165
+ | 0.7596 | 0.0321 | 80 | 0.7588 |
166
+ | 0.7231 | 0.0353 | 88 | 0.7581 |
167
+
168
+
169
+ ### Framework versions
170
+
171
+ - PEFT 0.13.2
172
+ - Transformers 4.46.0
173
+ - Pytorch 2.5.0+cu124
174
+ - Datasets 3.0.1
175
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ce68d14d393d1aa6aaf010aefbb065cf0a26a142c1de88d9708edda9fd74f08
3
+ size 335706186