ErrorAI commited on
Commit
9f16aba
·
verified ·
1 Parent(s): a3d199d

End of training

Browse files
Files changed (2) hide show
  1. README.md +155 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 24da95bb-c4ee-4b03-b4aa-9dcacc41a0dd
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
+ - 96254f14a10b9dd9_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/96254f14a10b9dd9_train_data.json
32
+ type:
33
+ field_instruction: question
34
+ field_output: answer
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_max_new_tokens: 128
45
+ eval_steps: null
46
+ eval_table_size: null
47
+ evals_per_epoch: null
48
+ flash_attention: true
49
+ fp16: null
50
+ fsdp: null
51
+ fsdp_config: null
52
+ gradient_accumulation_steps: 4
53
+ gradient_checkpointing: true
54
+ group_by_length: true
55
+ hub_model_id: ErrorAI/24da95bb-c4ee-4b03-b4aa-9dcacc41a0dd
56
+ hub_repo: null
57
+ hub_strategy: checkpoint
58
+ hub_token: null
59
+ learning_rate: 0.0001
60
+ load_in_4bit: false
61
+ load_in_8bit: false
62
+ local_rank: null
63
+ logging_steps: 1
64
+ lora_alpha: 16
65
+ lora_dropout: 0.05
66
+ lora_fan_in_fan_out: null
67
+ lora_model_dir: null
68
+ lora_r: 8
69
+ lora_target_linear: true
70
+ lr_scheduler: cosine
71
+ max_grad_norm: 1.0
72
+ max_steps: 1355
73
+ micro_batch_size: 4
74
+ mlflow_experiment_name: /tmp/96254f14a10b9dd9_train_data.json
75
+ model_type: AutoModelForCausalLM
76
+ num_epochs: 1
77
+ optimizer: adamw_bnb_8bit
78
+ output_dir: miner_id_24
79
+ pad_to_sequence_len: true
80
+ resume_from_checkpoint: null
81
+ s2_attention: null
82
+ sample_packing: false
83
+ saves_per_epoch: 4
84
+ sequence_len: 1024
85
+ special_tokens:
86
+ pad_token: </s>
87
+ strict: false
88
+ tf32: true
89
+ tokenizer_type: AutoTokenizer
90
+ train_on_inputs: false
91
+ trust_remote_code: true
92
+ val_set_size: 0.05
93
+ wandb_entity: null
94
+ wandb_mode: online
95
+ wandb_name: d4c2db9a-9f7f-43d7-87cb-237727cc1757
96
+ wandb_project: Gradients-On-Demand
97
+ wandb_run: your_name
98
+ wandb_runid: d4c2db9a-9f7f-43d7-87cb-237727cc1757
99
+ warmup_steps: 5
100
+ weight_decay: 0.0
101
+ xformers_attention: null
102
+
103
+ ```
104
+
105
+ </details><br>
106
+
107
+ # 24da95bb-c4ee-4b03-b4aa-9dcacc41a0dd
108
+
109
+ This model is a fine-tuned version of [defog/sqlcoder-7b-2](https://huggingface.co/defog/sqlcoder-7b-2) on the None dataset.
110
+ It achieves the following results on the evaluation set:
111
+ - Loss: 0.9233
112
+
113
+ ## Model description
114
+
115
+ More information needed
116
+
117
+ ## Intended uses & limitations
118
+
119
+ More information needed
120
+
121
+ ## Training and evaluation data
122
+
123
+ More information needed
124
+
125
+ ## Training procedure
126
+
127
+ ### Training hyperparameters
128
+
129
+ The following hyperparameters were used during training:
130
+ - learning_rate: 0.0001
131
+ - train_batch_size: 4
132
+ - eval_batch_size: 4
133
+ - seed: 42
134
+ - gradient_accumulation_steps: 4
135
+ - total_train_batch_size: 16
136
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
137
+ - lr_scheduler_type: cosine
138
+ - lr_scheduler_warmup_steps: 5
139
+ - training_steps: 583
140
+
141
+ ### Training results
142
+
143
+ | Training Loss | Epoch | Step | Validation Loss |
144
+ |:-------------:|:------:|:----:|:---------------:|
145
+ | 0.8525 | 0.9987 | 582 | 0.9281 |
146
+ | 1.0995 | 1.0004 | 583 | 0.9233 |
147
+
148
+
149
+ ### Framework versions
150
+
151
+ - PEFT 0.13.2
152
+ - Transformers 4.46.0
153
+ - Pytorch 2.5.0+cu124
154
+ - Datasets 3.0.1
155
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59d579b6fa2349262aeba31901549f7246b629164f19a979f37c0fcea2def644
3
+ size 80115210