romainnn commited on
Commit
4a24285
·
verified ·
1 Parent(s): c1301d2

End of training

Browse files
Files changed (3) hide show
  1. README.md +166 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: oopsung/llama2-7b-koNqa-test-v1
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: 535414a4-66d5-4d2b-ab1e-d6490f61a922
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ [<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)
16
+ <details><summary>See axolotl config</summary>
17
+
18
+ axolotl version: `0.4.1`
19
+ ```yaml
20
+ adapter: lora
21
+ base_model: oopsung/llama2-7b-koNqa-test-v1
22
+ bf16: true
23
+ chat_template: llama3
24
+ dataset_prepared_path: null
25
+ datasets:
26
+ - data_files:
27
+ - 2aa15a3681945449_train_data.json
28
+ ds_type: json
29
+ format: custom
30
+ path: /workspace/input_data/2aa15a3681945449_train_data.json
31
+ type:
32
+ field_instruction: prompt
33
+ field_output: gold_standard_solution
34
+ format: '{instruction}'
35
+ no_input_format: '{instruction}'
36
+ system_format: '{system}'
37
+ system_prompt: ''
38
+ debug: null
39
+ deepspeed: null
40
+ early_stopping_patience: 2
41
+ eval_max_new_tokens: 128
42
+ eval_steps: 100
43
+ eval_table_size: null
44
+ flash_attention: true
45
+ fp16: null
46
+ fsdp: null
47
+ fsdp_config: null
48
+ gradient_accumulation_steps: 8
49
+ gradient_checkpointing: true
50
+ group_by_length: false
51
+ hub_model_id: romainnn/535414a4-66d5-4d2b-ab1e-d6490f61a922
52
+ hub_repo: null
53
+ hub_strategy: checkpoint
54
+ hub_token: null
55
+ learning_rate: 0.0002
56
+ load_best_model_at_end: true
57
+ load_in_4bit: false
58
+ load_in_8bit: false
59
+ local_rank: null
60
+ logging_steps: 1
61
+ lora_alpha: 32
62
+ lora_dropout: 0.05
63
+ lora_fan_in_fan_out: null
64
+ lora_model_dir: null
65
+ lora_r: 16
66
+ lora_target_linear: true
67
+ lora_target_modules:
68
+ - q_proj
69
+ - k_proj
70
+ - v_proj
71
+ lr_scheduler: cosine
72
+ max_grad_norm: 1.0
73
+ max_steps: 1344
74
+ micro_batch_size: 4
75
+ mlflow_experiment_name: /tmp/2aa15a3681945449_train_data.json
76
+ model_type: AutoModelForCausalLM
77
+ num_epochs: 2
78
+ optimizer: adamw_bnb_8bit
79
+ output_dir: miner_id_24
80
+ pad_to_sequence_len: true
81
+ resume_from_checkpoint: null
82
+ s2_attention: null
83
+ sample_packing: false
84
+ save_steps: 100
85
+ sequence_len: 2048
86
+ strict: false
87
+ tf32: true
88
+ tokenizer_type: AutoTokenizer
89
+ train_on_inputs: false
90
+ trust_remote_code: true
91
+ val_set_size: 0.006433706445415791
92
+ wandb_entity: null
93
+ wandb_mode: online
94
+ wandb_name: 747b4d7f-063f-4aa9-9aba-12c76c3697a5
95
+ wandb_project: Gradients-On-Demand
96
+ wandb_run: your_name
97
+ wandb_runid: 747b4d7f-063f-4aa9-9aba-12c76c3697a5
98
+ warmup_steps: 10
99
+ weight_decay: 0.0
100
+ xformers_attention: null
101
+
102
+ ```
103
+
104
+ </details><br>
105
+
106
+ # 535414a4-66d5-4d2b-ab1e-d6490f61a922
107
+
108
+ This model is a fine-tuned version of [oopsung/llama2-7b-koNqa-test-v1](https://huggingface.co/oopsung/llama2-7b-koNqa-test-v1) on the None dataset.
109
+ It achieves the following results on the evaluation set:
110
+ - Loss: 0.6226
111
+
112
+ ## Model description
113
+
114
+ More information needed
115
+
116
+ ## Intended uses & limitations
117
+
118
+ More information needed
119
+
120
+ ## Training and evaluation data
121
+
122
+ More information needed
123
+
124
+ ## Training procedure
125
+
126
+ ### Training hyperparameters
127
+
128
+ The following hyperparameters were used during training:
129
+ - learning_rate: 0.0002
130
+ - train_batch_size: 4
131
+ - eval_batch_size: 4
132
+ - seed: 42
133
+ - gradient_accumulation_steps: 8
134
+ - total_train_batch_size: 32
135
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
136
+ - lr_scheduler_type: cosine
137
+ - lr_scheduler_warmup_steps: 10
138
+ - training_steps: 1344
139
+
140
+ ### Training results
141
+
142
+ | Training Loss | Epoch | Step | Validation Loss |
143
+ |:-------------:|:------:|:----:|:---------------:|
144
+ | 1.7469 | 0.0000 | 1 | 1.8583 |
145
+ | 0.8163 | 0.0041 | 100 | 0.7862 |
146
+ | 0.7514 | 0.0083 | 200 | 0.7376 |
147
+ | 0.6684 | 0.0124 | 300 | 0.7114 |
148
+ | 0.7101 | 0.0166 | 400 | 0.6887 |
149
+ | 0.5704 | 0.0207 | 500 | 0.6746 |
150
+ | 0.5891 | 0.0249 | 600 | 0.6617 |
151
+ | 0.6217 | 0.0290 | 700 | 0.6511 |
152
+ | 0.6322 | 0.0332 | 800 | 0.6414 |
153
+ | 0.552 | 0.0373 | 900 | 0.6346 |
154
+ | 0.6941 | 0.0414 | 1000 | 0.6291 |
155
+ | 0.6391 | 0.0456 | 1100 | 0.6253 |
156
+ | 0.6176 | 0.0497 | 1200 | 0.6232 |
157
+ | 0.5881 | 0.0539 | 1300 | 0.6226 |
158
+
159
+
160
+ ### Framework versions
161
+
162
+ - PEFT 0.13.2
163
+ - Transformers 4.46.0
164
+ - Pytorch 2.5.0+cu124
165
+ - Datasets 3.0.1
166
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fcfc43d643e0f130e2b53933fbf2d168aa63d6be770e7f3b07df699ef1e0c8c5
3
+ size 160069834
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d381fc9d2baf1537400899407212ebb9a4d0bfe09fb947104079ee02fbc31282
3
  size 159967880
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d428d0fcbd28adbb948bf89771cac30bc1be8468636fe48cbec5bd96726d703f
3
  size 159967880