cimol commited on
Commit
74847a1
·
verified ·
1 Parent(s): f663f72

End of training

Browse files
Files changed (2) hide show
  1. README.md +172 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 03a33bc5-959d-401c-afda-9b42c1f88a3f
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
+ data_processes: 24
26
+ dataset_prepared_path: null
27
+ datasets:
28
+ - data_files:
29
+ - 7ff48f0e81fafd23_train_data.json
30
+ ds_type: json
31
+ format: custom
32
+ path: /workspace/input_data/7ff48f0e81fafd23_train_data.json
33
+ type:
34
+ field_input: testcase
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
+ device_map: auto
44
+ do_eval: true
45
+ early_stopping_patience: 4
46
+ eval_batch_size: 4
47
+ eval_max_new_tokens: 128
48
+ eval_steps: 50
49
+ eval_table_size: null
50
+ evals_per_epoch: null
51
+ flash_attention: true
52
+ fp16: false
53
+ fsdp: null
54
+ fsdp_config: null
55
+ gradient_accumulation_steps: 4
56
+ gradient_checkpointing: true
57
+ group_by_length: true
58
+ hub_model_id: cimol/03a33bc5-959d-401c-afda-9b42c1f88a3f
59
+ hub_repo: null
60
+ hub_strategy: checkpoint
61
+ hub_token: null
62
+ learning_rate: 7.0e-05
63
+ load_in_4bit: false
64
+ load_in_8bit: false
65
+ local_rank: null
66
+ logging_steps: 1
67
+ lora_alpha: 128
68
+ lora_dropout: 0.04
69
+ lora_fan_in_fan_out: null
70
+ lora_model_dir: null
71
+ lora_r: 64
72
+ lora_target_linear: true
73
+ lr_scheduler: cosine
74
+ lr_scheduler_warmup_steps: 50
75
+ max_grad_norm: 1.0
76
+ max_memory:
77
+ 0: 75GB
78
+ max_steps: 200
79
+ micro_batch_size: 8
80
+ mlflow_experiment_name: /tmp/7ff48f0e81fafd23_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: 1e-8
87
+ optimizer: adamw_bnb_8bit
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
+ save_steps: 50
94
+ saves_per_epoch: null
95
+ seed: 17333
96
+ sequence_len: 1024
97
+ special_tokens:
98
+ pad_token: <|eot_id|>
99
+ strict: false
100
+ tf32: true
101
+ tokenizer_type: AutoTokenizer
102
+ total_train_batch_size: 32
103
+ train_batch_size: 8
104
+ train_on_inputs: false
105
+ trust_remote_code: true
106
+ val_set_size: 0.05
107
+ wandb_entity: null
108
+ wandb_mode: online
109
+ wandb_name: dccd20c9-a45b-428d-b9d6-de9e00a94e16
110
+ wandb_project: Gradients-On-Demand
111
+ wandb_run: your_name
112
+ wandb_runid: dccd20c9-a45b-428d-b9d6-de9e00a94e16
113
+ warmup_steps: 10
114
+ weight_decay: 0.0
115
+ xformers_attention: null
116
+
117
+ ```
118
+
119
+ </details><br>
120
+
121
+ # 03a33bc5-959d-401c-afda-9b42c1f88a3f
122
+
123
+ 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.
124
+ It achieves the following results on the evaluation set:
125
+ - Loss: 0.2108
126
+
127
+ ## Model description
128
+
129
+ More information needed
130
+
131
+ ## Intended uses & limitations
132
+
133
+ More information needed
134
+
135
+ ## Training and evaluation data
136
+
137
+ More information needed
138
+
139
+ ## Training procedure
140
+
141
+ ### Training hyperparameters
142
+
143
+ The following hyperparameters were used during training:
144
+ - learning_rate: 7e-05
145
+ - train_batch_size: 8
146
+ - eval_batch_size: 4
147
+ - seed: 17333
148
+ - gradient_accumulation_steps: 4
149
+ - total_train_batch_size: 32
150
+ - 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
151
+ - lr_scheduler_type: cosine
152
+ - lr_scheduler_warmup_steps: 10
153
+ - training_steps: 200
154
+
155
+ ### Training results
156
+
157
+ | Training Loss | Epoch | Step | Validation Loss |
158
+ |:-------------:|:------:|:----:|:---------------:|
159
+ | 0.5069 | 0.0003 | 1 | 0.8096 |
160
+ | 0.1512 | 0.0143 | 50 | 0.2358 |
161
+ | 0.1606 | 0.0285 | 100 | 0.2264 |
162
+ | 0.1364 | 0.0428 | 150 | 0.2133 |
163
+ | 0.143 | 0.0570 | 200 | 0.2108 |
164
+
165
+
166
+ ### Framework versions
167
+
168
+ - PEFT 0.13.2
169
+ - Transformers 4.46.0
170
+ - Pytorch 2.5.0+cu124
171
+ - Datasets 3.0.1
172
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d6186a41841e16a33986cb09075bad647a4de0b634f99ff7b7901bb95f890b4
3
+ size 671250634