lesso08 commited on
Commit
766b595
·
verified ·
1 Parent(s): 2c87c12

End of training

Browse files
Files changed (2) hide show
  1. README.md +167 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,167 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: cc-by-sa-4.0
4
+ base_model: defog/sqlcoder-7b-2
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: c9ecc9a5-9e31-4198-9d08-62698a28aa24
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/sqlcoder-7b-2
23
+ bf16: true
24
+ chat_template: llama3
25
+ data_processes: 16
26
+ dataset_prepared_path: null
27
+ datasets:
28
+ - data_files:
29
+ - c02c6570fb03702b_train_data.json
30
+ ds_type: json
31
+ format: custom
32
+ path: /workspace/input_data/c02c6570fb03702b_train_data.json
33
+ type:
34
+ field_instruction: rejected
35
+ field_output: chosen
36
+ format: '{instruction}'
37
+ no_input_format: '{instruction}'
38
+ system_format: '{system}'
39
+ system_prompt: ''
40
+ debug: null
41
+ deepspeed: null
42
+ do_eval: true
43
+ early_stopping_patience: 5
44
+ eval_batch_size: 4
45
+ eval_max_new_tokens: 128
46
+ eval_steps: 50
47
+ eval_table_size: null
48
+ evals_per_epoch: null
49
+ flash_attention: true
50
+ fp16: false
51
+ fsdp: null
52
+ fsdp_config: null
53
+ gradient_accumulation_steps: 4
54
+ gradient_checkpointing: true
55
+ group_by_length: true
56
+ hub_model_id: lesso08/c9ecc9a5-9e31-4198-9d08-62698a28aa24
57
+ hub_repo: null
58
+ hub_strategy: checkpoint
59
+ hub_token: null
60
+ learning_rate: 0.000101
61
+ load_in_4bit: false
62
+ load_in_8bit: false
63
+ local_rank: null
64
+ logging_steps: 1
65
+ lora_alpha: 128
66
+ lora_dropout: 0.05
67
+ lora_fan_in_fan_out: null
68
+ lora_model_dir: null
69
+ lora_r: 64
70
+ lora_target_linear: true
71
+ lr_scheduler: linear
72
+ max_grad_norm: 1.0
73
+ max_steps: 200
74
+ micro_batch_size: 8
75
+ mlflow_experiment_name: /tmp/c02c6570fb03702b_train_data.json
76
+ model_type: AutoModelForCausalLM
77
+ num_epochs: 3
78
+ optim_args:
79
+ adam_beta1: 0.9
80
+ adam_beta2: 0.95
81
+ adam_epsilon: 1e-5
82
+ optimizer: adamw_bnb_8bit
83
+ output_dir: miner_id_24
84
+ pad_to_sequence_len: true
85
+ resume_from_checkpoint: null
86
+ s2_attention: null
87
+ sample_packing: false
88
+ save_steps: 50
89
+ saves_per_epoch: null
90
+ sequence_len: 1024
91
+ special_tokens:
92
+ pad_token: </s>
93
+ strict: false
94
+ tf32: true
95
+ tokenizer_type: AutoTokenizer
96
+ train_on_inputs: false
97
+ trust_remote_code: true
98
+ val_set_size: 0.05
99
+ wandb_entity: null
100
+ wandb_mode: online
101
+ wandb_name: 28f76e13-11e8-4b44-ae05-cfc2a7fb69c0
102
+ wandb_project: ab-god08
103
+ wandb_run: your_name
104
+ wandb_runid: 28f76e13-11e8-4b44-ae05-cfc2a7fb69c0
105
+ warmup_steps: 10
106
+ weight_decay: 0.0
107
+ xformers_attention: null
108
+
109
+ ```
110
+
111
+ </details><br>
112
+
113
+ # c9ecc9a5-9e31-4198-9d08-62698a28aa24
114
+
115
+ This model is a fine-tuned version of [defog/sqlcoder-7b-2](https://huggingface.co/defog/sqlcoder-7b-2) on the None dataset.
116
+ It achieves the following results on the evaluation set:
117
+ - Loss: 1.5487
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.000101
137
+ - train_batch_size: 8
138
+ - eval_batch_size: 4
139
+ - seed: 42
140
+ - distributed_type: multi-GPU
141
+ - num_devices: 8
142
+ - gradient_accumulation_steps: 4
143
+ - total_train_batch_size: 256
144
+ - total_eval_batch_size: 32
145
+ - 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-5
146
+ - lr_scheduler_type: linear
147
+ - lr_scheduler_warmup_steps: 10
148
+ - training_steps: 200
149
+
150
+ ### Training results
151
+
152
+ | Training Loss | Epoch | Step | Validation Loss |
153
+ |:-------------:|:------:|:----:|:---------------:|
154
+ | 1.4797 | 0.0063 | 1 | 2.0149 |
155
+ | 1.8809 | 0.3135 | 50 | 1.6941 |
156
+ | 1.7828 | 0.6270 | 100 | 1.6180 |
157
+ | 1.7032 | 0.9404 | 150 | 1.5668 |
158
+ | 1.4839 | 1.2539 | 200 | 1.5487 |
159
+
160
+
161
+ ### Framework versions
162
+
163
+ - PEFT 0.13.2
164
+ - Transformers 4.46.0
165
+ - Pytorch 2.5.0+cu124
166
+ - Datasets 3.0.1
167
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:990ad1aaeff8b4269428a5078479e80c1ee99c17bc669c647bd1163c2f444888
3
+ size 639793354