g4rg commited on
Commit
a008ef0
·
verified ·
1 Parent(s): 2d34351

Model save

Browse files
Files changed (1) hide show
  1. README.md +277 -189
README.md CHANGED
@@ -1,202 +1,290 @@
1
  ---
2
- base_model: PocketDoc/Dans-SakuraKaze-V1.0.0-12b
3
  library_name: peft
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  ---
5
 
6
- # Model Card for Model ID
7
-
8
- <!-- Provide a quick summary of what the model is/does. -->
9
-
10
-
11
-
12
- ## Model Details
13
-
14
- ### Model Description
15
-
16
- <!-- Provide a longer summary of what this model is. -->
17
-
18
-
19
-
20
- - **Developed by:** [More Information Needed]
21
- - **Funded by [optional]:** [More Information Needed]
22
- - **Shared by [optional]:** [More Information Needed]
23
- - **Model type:** [More Information Needed]
24
- - **Language(s) (NLP):** [More Information Needed]
25
- - **License:** [More Information Needed]
26
- - **Finetuned from model [optional]:** [More Information Needed]
27
-
28
- ### Model Sources [optional]
29
-
30
- <!-- Provide the basic links for the model. -->
31
-
32
- - **Repository:** [More Information Needed]
33
- - **Paper [optional]:** [More Information Needed]
34
- - **Demo [optional]:** [More Information Needed]
35
-
36
- ## Uses
37
-
38
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
-
40
- ### Direct Use
41
-
42
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
-
44
- [More Information Needed]
45
-
46
- ### Downstream Use [optional]
47
-
48
- <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
-
50
- [More Information Needed]
51
-
52
- ### Out-of-Scope Use
53
-
54
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
-
56
- [More Information Needed]
57
-
58
- ## Bias, Risks, and Limitations
59
-
60
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
-
62
- [More Information Needed]
63
-
64
- ### Recommendations
65
-
66
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
-
68
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
-
70
- ## How to Get Started with the Model
71
-
72
- Use the code below to get started with the model.
73
-
74
- [More Information Needed]
75
-
76
- ## Training Details
77
-
78
- ### Training Data
79
-
80
- <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
-
82
- [More Information Needed]
83
-
84
- ### Training Procedure
85
-
86
- <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
-
88
- #### Preprocessing [optional]
89
-
90
- [More Information Needed]
91
-
92
-
93
- #### Training Hyperparameters
94
-
95
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
 
97
- #### Speeds, Sizes, Times [optional]
 
98
 
99
- <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
 
 
 
100
 
101
- [More Information Needed]
 
 
102
 
103
- ## Evaluation
 
 
 
 
 
 
104
 
105
- <!-- This section describes the evaluation protocols and provides the results. -->
106
-
107
- ### Testing Data, Factors & Metrics
108
-
109
- #### Testing Data
110
-
111
- <!-- This should link to a Dataset Card if possible. -->
112
-
113
- [More Information Needed]
114
-
115
- #### Factors
116
-
117
- <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
-
119
- [More Information Needed]
120
-
121
- #### Metrics
122
-
123
- <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
-
125
- [More Information Needed]
126
-
127
- ### Results
128
-
129
- [More Information Needed]
130
-
131
- #### Summary
132
-
133
-
134
-
135
- ## Model Examination [optional]
136
-
137
- <!-- Relevant interpretability work for the model goes here -->
138
-
139
- [More Information Needed]
140
-
141
- ## Environmental Impact
142
-
143
- <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
-
145
- Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
-
147
- - **Hardware Type:** [More Information Needed]
148
- - **Hours used:** [More Information Needed]
149
- - **Cloud Provider:** [More Information Needed]
150
- - **Compute Region:** [More Information Needed]
151
- - **Carbon Emitted:** [More Information Needed]
152
-
153
- ## Technical Specifications [optional]
154
-
155
- ### Model Architecture and Objective
156
-
157
- [More Information Needed]
158
-
159
- ### Compute Infrastructure
160
-
161
- [More Information Needed]
162
-
163
- #### Hardware
164
-
165
- [More Information Needed]
166
-
167
- #### Software
168
-
169
- [More Information Needed]
170
-
171
- ## Citation [optional]
172
-
173
- <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
-
175
- **BibTeX:**
176
-
177
- [More Information Needed]
178
-
179
- **APA:**
180
-
181
- [More Information Needed]
182
-
183
- ## Glossary [optional]
184
-
185
- <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
-
187
- [More Information Needed]
188
-
189
- ## More Information [optional]
190
-
191
- [More Information Needed]
192
-
193
- ## Model Card Authors [optional]
194
-
195
- [More Information Needed]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
196
 
197
- ## Model Card Contact
198
 
199
- [More Information Needed]
200
  ### Framework versions
201
 
202
- - PEFT 0.14.0
 
 
 
 
 
1
  ---
 
2
  library_name: peft
3
+ license: apache-2.0
4
+ base_model: PocketDoc/Dans-SakuraKaze-V1.0.0-12b
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ datasets:
9
+ - PJMixers-Dev/allura-org_gryphe-sonnet-3.5-charcards-names-added-qwq-all-aphrodite-Shuffled
10
+ - PJMixers-Dev/anthracite-org_c2_logs_32k_llama3_qwen2_v1.3-qwq-all-aphrodite-Shuffled
11
+ - PJMixers-Dev/grimulkan_aicg-logs-augmented-system-qwq-all-aphrodite-Shuffled
12
+ - PJMixers-Dev/grimulkan_jannie-log-augmented-system-qwq-all-aphrodite-Shuffled
13
+ - PJMixers-Dev/grimulkan_PIPPA-augmented-dedup-system-qwq-all-aphrodite-Shuffled
14
+ - PJMixers-Dev/lemonilia_LimaRP-Only-NonSus-Simple-CustomShareGPT-qwq-all-aphrodite-Shuffled
15
+ - PJMixers-Dev/MinervaAI_Aesir-Preview-Anon-qwq-all-aphrodite-Shuffled
16
+ - PJMixers-Dev/NyxKrage_chub-logs-sharegpt-longest-CustomShareGPT-qwq-all-aphrodite-Shuffled
17
+ - PJMixers-Dev/PocketDoc_Dans-Prosemaxx-Cowriter-XL-8192-shrunk-l3-qwq-all-aphrodite-Shuffled
18
+ - PJMixers-Dev/PocketDoc_Dans-Personamaxx-Rainy-qwq-all-aphrodite-Shuffled
19
+ model-index:
20
+ - name: MN-2407-DSK-QwQify-v0.1-12B-LoRA-WS
21
+ results: []
22
  ---
23
 
24
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
25
+ should probably proofread and complete it, then remove this comment. -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
 
27
+ [<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)
28
+ <details><summary>See axolotl config</summary>
29
 
30
+ axolotl version: `0.8.0.dev0`
31
+ ```yaml
32
+ mlflow_tracking_uri: http://127.0.0.1:7860
33
+ mlflow_experiment_name: MN-2407-DSK-QwQify-v0.1-12B-LoRA
34
 
35
+ # Hugging Face saving config
36
+ hub_model_id: BeaverAI/MN-2407-DSK-QwQify-v0.1-12B-LoRA-WS
37
+ hub_strategy: every_save
38
 
39
+ # Model checkpointing config
40
+ output_dir: ./Outputs/MN-2407-DSK-QwQify-v0.1-12B-LoRA
41
+ resume_from_checkpoint:
42
+ save_steps: 25
43
+ save_safetensors: true
44
+ save_total_limit: 3
45
+ save_only_model: false
46
 
47
+ # Model architecture config
48
+ base_model: PocketDoc/Dans-SakuraKaze-V1.0.0-12b
49
+ model_type: MistralForCausalLM
50
+ tokenizer_type: PreTrainedTokenizerFast
51
+
52
+ # Mixed precision training config
53
+ bf16: true
54
+ fp16: false
55
+ tf32: false
56
+
57
+ # Model loading config
58
+ load_in_8bit: false
59
+ load_in_4bit: false
60
+ strict: false
61
+
62
+ # Sequence config
63
+ sequence_len: 8192
64
+ min_sample_len: 256
65
+ sample_packing: true
66
+ eval_sample_packing: true
67
+ pad_to_sequence_len: true
68
+ train_on_inputs: false
69
+ group_by_length: false
70
+
71
+ # LoRA adapter config
72
+ adapter: lora
73
+ lora_model_dir:
74
+ lora_r: 128
75
+ lora_alpha: 128
76
+ lora_dropout: 0.125
77
+ peft_layers_to_transform:
78
+ peft_use_dora:
79
+ peft_use_rslora:
80
+ peft_layer_replication:
81
+ lora_target_modules:
82
+ - gate_proj
83
+ - down_proj
84
+ - up_proj
85
+ - q_proj
86
+ - v_proj
87
+ - k_proj
88
+ - o_proj
89
+ lora_modules_to_save:
90
+
91
+ # Fix uninitialized tokens (such as <|start_header_id|> on the base L3 models)
92
+ fix_untrained_tokens:
93
+
94
+ # Dataset config
95
+ # https://github.com/xzuyn/axolotl/blob/came-plus-formatters/src/axolotl/prompt_strategies/customchatml-regex-last-only.py
96
+ datasets:
97
+ - path: PJMixers-Dev/allura-org_gryphe-sonnet-3.5-charcards-names-added-qwq-all-aphrodite-Shuffled
98
+ split: train
99
+ type: customchatml-regex-last-only
100
+ - path: PJMixers-Dev/anthracite-org_c2_logs_32k_llama3_qwen2_v1.3-qwq-all-aphrodite-Shuffled
101
+ split: train
102
+ type: customchatml-regex-last-only
103
+ - path: PJMixers-Dev/grimulkan_aicg-logs-augmented-system-qwq-all-aphrodite-Shuffled
104
+ split: train
105
+ type: customchatml-regex-last-only
106
+ - path: PJMixers-Dev/grimulkan_jannie-log-augmented-system-qwq-all-aphrodite-Shuffled
107
+ split: train
108
+ type: customchatml-regex-last-only
109
+ - path: PJMixers-Dev/grimulkan_PIPPA-augmented-dedup-system-qwq-all-aphrodite-Shuffled
110
+ split: train
111
+ type: customchatml-regex-last-only
112
+ - path: PJMixers-Dev/lemonilia_LimaRP-Only-NonSus-Simple-CustomShareGPT-qwq-all-aphrodite-Shuffled
113
+ split: train
114
+ type: customchatml-regex-last-only
115
+ - path: PJMixers-Dev/MinervaAI_Aesir-Preview-Anon-qwq-all-aphrodite-Shuffled
116
+ split: train
117
+ type: customchatml-regex-last-only
118
+ - path: PJMixers-Dev/NyxKrage_chub-logs-sharegpt-longest-CustomShareGPT-qwq-all-aphrodite-Shuffled
119
+ split: train
120
+ type: customchatml-regex-last-only
121
+ - path: PJMixers-Dev/PocketDoc_Dans-Prosemaxx-Cowriter-XL-8192-shrunk-l3-qwq-all-aphrodite-Shuffled
122
+ split: train
123
+ type: customchatml-regex-last-only
124
+ - path: PJMixers-Dev/PocketDoc_Dans-Personamaxx-Rainy-qwq-all-aphrodite-Shuffled
125
+ split: train
126
+ type: customchatml-regex-last-only
127
+ test_datasets:
128
+ - path: PJMixers-Dev/allura-org_gryphe-sonnet-3.5-charcards-names-added-qwq-all-aphrodite-Shuffled
129
+ split: test
130
+ type: customchatml-regex-last-only
131
+ - path: PJMixers-Dev/anthracite-org_c2_logs_32k_llama3_qwen2_v1.3-qwq-all-aphrodite-Shuffled
132
+ split: test
133
+ type: customchatml-regex-last-only
134
+ - path: PJMixers-Dev/grimulkan_aicg-logs-augmented-system-qwq-all-aphrodite-Shuffled
135
+ split: test
136
+ type: customchatml-regex-last-only
137
+ - path: PJMixers-Dev/grimulkan_jannie-log-augmented-system-qwq-all-aphrodite-Shuffled
138
+ split: test
139
+ type: customchatml-regex-last-only
140
+ - path: PJMixers-Dev/grimulkan_PIPPA-augmented-dedup-system-qwq-all-aphrodite-Shuffled
141
+ split: test
142
+ type: customchatml-regex-last-only
143
+ - path: PJMixers-Dev/lemonilia_LimaRP-Only-NonSus-Simple-CustomShareGPT-qwq-all-aphrodite-Shuffled
144
+ split: test
145
+ type: customchatml-regex-last-only
146
+ - path: PJMixers-Dev/MinervaAI_Aesir-Preview-Anon-qwq-all-aphrodite-Shuffled
147
+ split: test
148
+ type: customchatml-regex-last-only
149
+ - path: PJMixers-Dev/NyxKrage_chub-logs-sharegpt-longest-CustomShareGPT-qwq-all-aphrodite-Shuffled
150
+ split: test
151
+ type: customchatml-regex-last-only
152
+ - path: PJMixers-Dev/PocketDoc_Dans-Prosemaxx-Cowriter-XL-8192-shrunk-l3-qwq-all-aphrodite-Shuffled
153
+ split: test
154
+ type: customchatml-regex-last-only
155
+ - path: PJMixers-Dev/PocketDoc_Dans-Personamaxx-Rainy-qwq-all-aphrodite-Shuffled
156
+ split: test
157
+ type: customchatml-regex-last-only
158
+ val_set_size: 0
159
+ eval_strategy: steps
160
+ eval_steps: 25
161
+ dataset_prepared_path: ./00-Tokenized-Datasets/MN-2407-DSK-QwQify-v0.1-12B-customchatml-regex-last-only
162
+ shuffle_merged_datasets: true
163
+ dataset_processes:
164
+
165
+ # Training hyperparameters
166
+ num_epochs: 2
167
+ gradient_accumulation_steps: 1
168
+ micro_batch_size: 16 # x4 GPUs = 64
169
+ eval_batch_size: 16 # x4 GPUs = 64
170
+ warmup_steps: 0
171
+ optimizer: came_pytorch
172
+ optim_args:
173
+ optim_target_modules:
174
+ lr_scheduler: rex
175
+ learning_rate: 2e-5
176
+ cosine_min_lr_ratio:
177
+ loraplus_lr_ratio:
178
+ loraplus_lr_embedding:
179
+ weight_decay: 0.1
180
+ max_grad_norm: 1
181
+ logging_steps: 1
182
+
183
+ # Model optimization
184
+ gradient_checkpointing: unsloth
185
+ flash_attention: true
186
+ plugins:
187
+ - axolotl.integrations.liger.LigerPlugin
188
+ - axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin
189
+ cut_cross_entropy: true
190
+ liger_rope: true
191
+ liger_rms_norm: true
192
+ liger_layer_norm: true
193
+ liger_glu_activation: true
194
+ liger_cross_entropy: false
195
+ liger_fused_linear_cross_entropy: false
196
+ lora_mlp_kernel: false
197
+ lora_qkv_kernel: false
198
+ lora_o_kernel: false
199
+
200
+ # DeepSpeed
201
+ deepspeed: deepspeed_configs/zero3_bf16.json
202
+
203
+ # Garbage Collection
204
+ gc_steps: 1
205
+
206
+ # Debug config
207
+ debug: true
208
+ seed: 42
209
+
210
+ # Token config
211
+ special_tokens:
212
+ bos_token: "<s>"
213
+ eos_token: "<|im_end|>"
214
+ pad_token: "<pad>"
215
+ tokens:
216
+
217
+ ```
218
+
219
+ </details><br>
220
+
221
+ # MN-2407-DSK-QwQify-v0.1-12B-LoRA-WS
222
+
223
+ This model is a fine-tuned version of [PocketDoc/Dans-SakuraKaze-V1.0.0-12b](https://huggingface.co/PocketDoc/Dans-SakuraKaze-V1.0.0-12b) on the PJMixers-Dev/allura-org_gryphe-sonnet-3.5-charcards-names-added-qwq-all-aphrodite-Shuffled, the PJMixers-Dev/anthracite-org_c2_logs_32k_llama3_qwen2_v1.3-qwq-all-aphrodite-Shuffled, the PJMixers-Dev/grimulkan_aicg-logs-augmented-system-qwq-all-aphrodite-Shuffled, the PJMixers-Dev/grimulkan_jannie-log-augmented-system-qwq-all-aphrodite-Shuffled, the PJMixers-Dev/grimulkan_PIPPA-augmented-dedup-system-qwq-all-aphrodite-Shuffled, the PJMixers-Dev/lemonilia_LimaRP-Only-NonSus-Simple-CustomShareGPT-qwq-all-aphrodite-Shuffled, the PJMixers-Dev/MinervaAI_Aesir-Preview-Anon-qwq-all-aphrodite-Shuffled, the PJMixers-Dev/NyxKrage_chub-logs-sharegpt-longest-CustomShareGPT-qwq-all-aphrodite-Shuffled, the PJMixers-Dev/PocketDoc_Dans-Prosemaxx-Cowriter-XL-8192-shrunk-l3-qwq-all-aphrodite-Shuffled and the PJMixers-Dev/PocketDoc_Dans-Personamaxx-Rainy-qwq-all-aphrodite-Shuffled datasets.
224
+ It achieves the following results on the evaluation set:
225
+ - Loss: 1.2770
226
+
227
+ ## Model description
228
+
229
+ More information needed
230
+
231
+ ## Intended uses & limitations
232
+
233
+ More information needed
234
+
235
+ ## Training and evaluation data
236
+
237
+ More information needed
238
+
239
+ ## Training procedure
240
+
241
+ ### Training hyperparameters
242
+
243
+ The following hyperparameters were used during training:
244
+ - learning_rate: 2e-05
245
+ - train_batch_size: 16
246
+ - eval_batch_size: 16
247
+ - seed: 42
248
+ - distributed_type: multi-GPU
249
+ - num_devices: 4
250
+ - total_train_batch_size: 64
251
+ - total_eval_batch_size: 64
252
+ - optimizer: Use OptimizerNames.ADAMW_HF with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
253
+ - lr_scheduler_type: cosine
254
+ - num_epochs: 2.0
255
+
256
+ ### Training results
257
+
258
+ | Training Loss | Epoch | Step | Validation Loss |
259
+ |:-------------:|:------:|:----:|:---------------:|
260
+ | 2.134 | 0.0038 | 1 | 2.0025 |
261
+ | 1.6185 | 0.0951 | 25 | 1.5748 |
262
+ | 1.5187 | 0.1901 | 50 | 1.4871 |
263
+ | 1.4757 | 0.2852 | 75 | 1.4410 |
264
+ | 1.4008 | 0.3802 | 100 | 1.4100 |
265
+ | 1.4116 | 0.4753 | 125 | 1.3857 |
266
+ | 1.357 | 0.5703 | 150 | 1.3630 |
267
+ | 1.3435 | 0.6654 | 175 | 1.3478 |
268
+ | 1.3332 | 0.7605 | 200 | 1.3353 |
269
+ | 1.3042 | 0.8555 | 225 | 1.3308 |
270
+ | 1.2993 | 0.9506 | 250 | 1.3228 |
271
+ | 1.3105 | 1.0456 | 275 | 1.3154 |
272
+ | 1.2782 | 1.1407 | 300 | 1.3094 |
273
+ | 1.3063 | 1.2357 | 325 | 1.3070 |
274
+ | 1.3003 | 1.3308 | 350 | 1.3005 |
275
+ | 1.2937 | 1.4259 | 375 | 1.2952 |
276
+ | 1.283 | 1.5209 | 400 | 1.2922 |
277
+ | 1.2692 | 1.6160 | 425 | 1.2887 |
278
+ | 1.2639 | 1.7110 | 450 | 1.2855 |
279
+ | 1.2546 | 1.8061 | 475 | 1.2822 |
280
+ | 1.2711 | 1.9011 | 500 | 1.2787 |
281
+ | 1.2492 | 1.9962 | 525 | 1.2770 |
282
 
 
283
 
 
284
  ### Framework versions
285
 
286
+ - PEFT 0.14.0
287
+ - Transformers 4.49.0
288
+ - Pytorch 2.6.0+cu124
289
+ - Datasets 3.2.0
290
+ - Tokenizers 0.21.1