leixa commited on
Commit
475327f
·
verified ·
1 Parent(s): d277083

End of training

Browse files
Files changed (2) hide show
  1. README.md +161 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,161 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: ff810066-31fd-4436-a2c4-296c7f507694
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: auto
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - 9a795b17b199f7fe_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/9a795b17b199f7fe_train_data.json
32
+ type:
33
+ field_instruction: text
34
+ field_output: label
35
+ format: '{instruction}'
36
+ no_input_format: '{instruction}'
37
+ system_format: '{system}'
38
+ system_prompt: ''
39
+ debug: null
40
+ deepspeed: null
41
+ early_stopping_patience: null
42
+ eval_max_new_tokens: 128
43
+ eval_table_size: null
44
+ evals_per_epoch: 4
45
+ flash_attention: false
46
+ fp16: null
47
+ fsdp: null
48
+ fsdp_config: null
49
+ gradient_accumulation_steps: 8
50
+ gradient_checkpointing: false
51
+ group_by_length: false
52
+ hub_model_id: leixa/ff810066-31fd-4436-a2c4-296c7f507694
53
+ hub_repo: null
54
+ hub_strategy: checkpoint
55
+ hub_token: null
56
+ learning_rate: 0.0001
57
+ load_in_4bit: false
58
+ load_in_8bit: false
59
+ local_rank: 0
60
+ logging_steps: 3
61
+ lora_alpha: 128
62
+ lora_dropout: 0.1
63
+ lora_fan_in_fan_out: true
64
+ lora_model_dir: null
65
+ lora_r: 64
66
+ lora_target_linear: true
67
+ lr_scheduler: cosine
68
+ max_steps: 500
69
+ micro_batch_size: 4
70
+ mlflow_experiment_name: /tmp/9a795b17b199f7fe_train_data.json
71
+ model_type: AutoModelForCausalLM
72
+ num_epochs: 3
73
+ optimizer: adamw_bnb_8bit
74
+ output_dir: miner_id_24
75
+ pad_to_sequence_len: true
76
+ resume_from_checkpoint: null
77
+ s2_attention: false
78
+ sample_packing: false
79
+ saves_per_epoch: 4
80
+ sequence_len: 512
81
+ special_tokens:
82
+ pad_token: <|eot_id|>
83
+ strict: false
84
+ tf32: false
85
+ tokenizer_type: AutoTokenizer
86
+ train_on_inputs: false
87
+ trust_remote_code: true
88
+ val_set_size: 0.05
89
+ wandb_entity: leixa-personal
90
+ wandb_mode: online
91
+ wandb_name: ff810066-31fd-4436-a2c4-296c7f507694
92
+ wandb_project: Gradients-On-Demand
93
+ wandb_run: your_name
94
+ wandb_runid: ff810066-31fd-4436-a2c4-296c7f507694
95
+ warmup_steps: 10
96
+ weight_decay: 0.01
97
+ xformers_attention: null
98
+
99
+ ```
100
+
101
+ </details><br>
102
+
103
+ # ff810066-31fd-4436-a2c4-296c7f507694
104
+
105
+ 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.
106
+ It achieves the following results on the evaluation set:
107
+ - Loss: 0.0775
108
+
109
+ ## Model description
110
+
111
+ More information needed
112
+
113
+ ## Intended uses & limitations
114
+
115
+ More information needed
116
+
117
+ ## Training and evaluation data
118
+
119
+ More information needed
120
+
121
+ ## Training procedure
122
+
123
+ ### Training hyperparameters
124
+
125
+ The following hyperparameters were used during training:
126
+ - learning_rate: 0.0001
127
+ - train_batch_size: 4
128
+ - eval_batch_size: 4
129
+ - seed: 42
130
+ - gradient_accumulation_steps: 8
131
+ - total_train_batch_size: 32
132
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
133
+ - lr_scheduler_type: cosine
134
+ - lr_scheduler_warmup_steps: 10
135
+ - training_steps: 393
136
+
137
+ ### Training results
138
+
139
+ | Training Loss | Epoch | Step | Validation Loss |
140
+ |:-------------:|:------:|:----:|:---------------:|
141
+ | No log | 0.0076 | 1 | 16.8733 |
142
+ | 0.2599 | 0.2519 | 33 | 0.1527 |
143
+ | 0.0761 | 0.5038 | 66 | 0.1225 |
144
+ | 0.1768 | 0.7557 | 99 | 0.1619 |
145
+ | 0.0645 | 1.0076 | 132 | 0.1234 |
146
+ | 0.0688 | 1.2595 | 165 | 0.1283 |
147
+ | 0.0478 | 1.5115 | 198 | 0.1044 |
148
+ | 0.0468 | 1.7634 | 231 | 0.0829 |
149
+ | 0.0539 | 2.0153 | 264 | 0.0769 |
150
+ | 0.0326 | 2.2672 | 297 | 0.0764 |
151
+ | 0.0971 | 2.5191 | 330 | 0.0781 |
152
+ | 0.0526 | 2.7710 | 363 | 0.0775 |
153
+
154
+
155
+ ### Framework versions
156
+
157
+ - PEFT 0.13.2
158
+ - Transformers 4.46.0
159
+ - Pytorch 2.5.0+cu124
160
+ - Datasets 3.0.1
161
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2289641143d8e59b9fe40caac134f9c59a12c1fa990154e33110e08144bc2d98
3
+ size 671250634