nttx commited on
Commit
f1f0b92
·
verified ·
1 Parent(s): 66e73bf

End of training

Browse files
Files changed (2) hide show
  1. README.md +162 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 42056f3f-0c87-4f4a-8e0a-a4712e0b6c32
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: auto
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - db5365305a1045fa_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/db5365305a1045fa_train_data.json
32
+ type:
33
+ field_instruction: instruction
34
+ field_output: output
35
+ format: '{instruction}'
36
+ no_input_format: '{instruction}'
37
+ system_format: '{system}'
38
+ system_prompt: ''
39
+ debug: null
40
+ deepspeed: null
41
+ device_map: auto
42
+ do_eval: true
43
+ early_stopping_patience: null
44
+ eval_batch_size: 2
45
+ eval_max_new_tokens: 128
46
+ eval_steps: null
47
+ eval_table_size: null
48
+ evals_per_epoch: 4
49
+ flash_attention: true
50
+ fp16: false
51
+ fsdp: null
52
+ fsdp_config: null
53
+ gradient_accumulation_steps: 4
54
+ gradient_checkpointing: false
55
+ group_by_length: true
56
+ hub_model_id: nttx/42056f3f-0c87-4f4a-8e0a-a4712e0b6c32
57
+ hub_repo: null
58
+ hub_strategy: checkpoint
59
+ hub_token: null
60
+ learning_rate: 0.0001
61
+ load_in_4bit: false
62
+ load_in_8bit: false
63
+ local_rank: null
64
+ logging_steps: 5
65
+ lora_alpha: 16
66
+ lora_dropout: 0.05
67
+ lora_fan_in_fan_out: null
68
+ lora_model_dir: null
69
+ lora_r: 8
70
+ lora_target_linear: true
71
+ lr_scheduler: cosine
72
+ max_grad_norm: 1.0
73
+ max_memory:
74
+ 0: 75GB
75
+ max_steps: 200
76
+ micro_batch_size: 2
77
+ mlflow_experiment_name: /tmp/db5365305a1045fa_train_data.json
78
+ model_type: AutoModelForCausalLM
79
+ num_epochs: 1
80
+ optimizer: adamw_bnb_8bit
81
+ output_dir: miner_id_24
82
+ pad_to_sequence_len: true
83
+ resume_from_checkpoint: null
84
+ s2_attention: null
85
+ sample_packing: false
86
+ save_steps: null
87
+ saves_per_epoch: null
88
+ sequence_len: 1024
89
+ special_tokens:
90
+ pad_token: </s>
91
+ strict: false
92
+ tf32: false
93
+ tokenizer_type: AutoTokenizer
94
+ train_on_inputs: false
95
+ trust_remote_code: true
96
+ val_set_size: 0.05
97
+ wandb_entity: null
98
+ wandb_mode: online
99
+ wandb_name: 4436b3a2-2af6-496f-be34-4f076d89242a
100
+ wandb_project: Gradients-On-Demand
101
+ wandb_run: your_name
102
+ wandb_runid: 4436b3a2-2af6-496f-be34-4f076d89242a
103
+ warmup_steps: 10
104
+ weight_decay: 0.0
105
+ xformers_attention: null
106
+
107
+ ```
108
+
109
+ </details><br>
110
+
111
+ # 42056f3f-0c87-4f4a-8e0a-a4712e0b6c32
112
+
113
+ This model is a fine-tuned version of [defog/sqlcoder-7b-2](https://huggingface.co/defog/sqlcoder-7b-2) on the None dataset.
114
+ It achieves the following results on the evaluation set:
115
+ - Loss: 1.2196
116
+
117
+ ## Model description
118
+
119
+ More information needed
120
+
121
+ ## Intended uses & limitations
122
+
123
+ More information needed
124
+
125
+ ## Training and evaluation data
126
+
127
+ More information needed
128
+
129
+ ## Training procedure
130
+
131
+ ### Training hyperparameters
132
+
133
+ The following hyperparameters were used during training:
134
+ - learning_rate: 0.0001
135
+ - train_batch_size: 2
136
+ - eval_batch_size: 2
137
+ - seed: 42
138
+ - gradient_accumulation_steps: 4
139
+ - total_train_batch_size: 8
140
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
141
+ - lr_scheduler_type: cosine
142
+ - lr_scheduler_warmup_steps: 10
143
+ - training_steps: 200
144
+
145
+ ### Training results
146
+
147
+ | Training Loss | Epoch | Step | Validation Loss |
148
+ |:-------------:|:------:|:----:|:---------------:|
149
+ | No log | 0.0006 | 1 | 1.4702 |
150
+ | 1.0109 | 0.0284 | 50 | 1.2868 |
151
+ | 0.9571 | 0.0569 | 100 | 1.2390 |
152
+ | 0.9433 | 0.0853 | 150 | 1.2220 |
153
+ | 0.9448 | 0.1138 | 200 | 1.2196 |
154
+
155
+
156
+ ### Framework versions
157
+
158
+ - PEFT 0.13.2
159
+ - Transformers 4.46.0
160
+ - Pytorch 2.5.0+cu124
161
+ - Datasets 3.0.1
162
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6c1d8d4e9138d54f4c037e08359d2d87a8ed95f3c270dc2c008be8babfcb058
3
+ size 80115210