xzuyn commited on
Commit
c44c959
·
verified ·
1 Parent(s): 6733347

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +288 -22
README.md CHANGED
@@ -1,36 +1,302 @@
1
  ---
2
- base_model:
3
- - PocketDoc/Dans-PersonalityEngine-V1.2.0-24b
4
- - BeaverAI/MS-2501-DPE-QwQify-v0.1-24B-LoRA-WS
5
  library_name: transformers
 
 
6
  tags:
7
- - mergekit
8
- - merge
9
-
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  ---
11
- # merge
12
 
13
- This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).
 
 
14
 
15
- ## Merge Details
16
- ### Merge Method
17
 
18
- This model was merged using the Passthrough merge method.
19
 
20
- ### Models Merged
21
 
22
- The following models were included in the merge:
23
- * [PocketDoc/Dans-PersonalityEngine-V1.2.0-24b](https://huggingface.co/PocketDoc/Dans-PersonalityEngine-V1.2.0-24b) + [BeaverAI/MS-2501-DPE-QwQify-v0.1-24B-LoRA-WS](https://huggingface.co/BeaverAI/MS-2501-DPE-QwQify-v0.1-24B-LoRA-WS)
24
 
25
- ### Configuration
 
26
 
27
- The following YAML configuration was used to produce this model:
 
28
 
 
29
  ```yaml
30
- dtype: bfloat16
31
- merge_method: passthrough
32
- tokenizer:
33
- source: PocketDoc/Dans-PersonalityEngine-V1.2.0-24b
34
- models:
35
- - model: PocketDoc/Dans-PersonalityEngine-V1.2.0-24b+BeaverAI/MS-2501-DPE-QwQify-v0.1-24B-LoRA-WS
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
 
 
 
2
  library_name: transformers
3
+ license: apache-2.0
4
+ base_model: PocketDoc/Dans-PersonalityEngine-V1.2.0-24b
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: MS-2501-DPE-QwQify-v0.1-24B-LoRA-WS
21
+ results: []
22
  ---
 
23
 
24
+ # BeaverAI/MS-2501-DPE-QwQify-v0.1-24B
25
+
26
+ Test model to try to give an existing model QwQ's thoughts. For this version it is ontop of [`PocketDoc/Dans-PersonalityEngine-V1.2.0-24b`](https://huggingface.co/PocketDoc/Dans-PersonalityEngine-V1.2.0-24b) (a jack of all trades instruct model), which was trained ontop of [`mistralai/Mistral-Small-24B-Base-2501`](https://huggingface.co/mistralai/Mistral-Small-24B-Base-2501).
27
 
28
+ The prompt formatting and usage should be the same as with QwQ; Use ChatML, and remove the thinking from previous turns. If thoughts arent being generated automatically, add `<think>\n` to the start of the assistant turn.
 
29
 
30
+ It should follow previous model turns formatting. On first turns of the conversation you may need to regen a few times, and maybe edit the model responses for the first few turns to get it to your liking.
31
 
32
+ You may want to disable inserting `{{char}}:` prefix for the character, and instead add something like `Only speak as "{{char}}" in conversation with "{{user}}". Output your final response with a "{{char}}:" prefix.` to the end of you system prompt.
33
 
34
+ ![image/png](https://i.imgur.com/EnULiEI.png)
 
35
 
36
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
37
+ should probably proofread and complete it, then remove this comment. -->
38
 
39
+ [<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)
40
+ <details><summary>See axolotl config</summary>
41
 
42
+ axolotl version: `0.8.0.dev0`
43
  ```yaml
44
+ mlflow_tracking_uri: http://127.0.0.1:7860
45
+ mlflow_experiment_name: MS-2501-DPE-QwQify-v0.1-24B-LoRA
46
+
47
+ # Hugging Face saving config
48
+ hub_model_id: BeaverAI/MS-2501-DPE-QwQify-v0.1-24B-LoRA-WS
49
+ hub_strategy: every_save
50
+
51
+ # Model checkpointing config
52
+ output_dir: ./Outputs/MS-2501-DPE-QwQify-v0.1-24B-LoRA
53
+ resume_from_checkpoint:
54
+ save_steps: 50
55
+ save_safetensors: true
56
+ save_total_limit: 3
57
+ save_only_model: false
58
+
59
+ # Model architecture config
60
+ base_model: PocketDoc/Dans-PersonalityEngine-V1.2.0-24b
61
+ model_type: MistralForCausalLM
62
+ tokenizer_type: AutoTokenizer
63
+
64
+ # Mixed precision training config
65
+ bf16: true
66
+ fp16: false
67
+ tf32: false
68
+
69
+ # Model loading config
70
+ load_in_8bit: false
71
+ load_in_4bit: false
72
+ strict: false
73
+
74
+ # Sequence config
75
+ sequence_len: 8192
76
+ min_sample_len: 256
77
+ sample_packing: true
78
+ eval_sample_packing: true
79
+ pad_to_sequence_len: true
80
+ train_on_inputs: false
81
+ group_by_length: false
82
+
83
+ # LoRA adapter config
84
+ adapter: lora
85
+ lora_model_dir:
86
+ lora_r: 128
87
+ lora_alpha: 128
88
+ lora_dropout: 0.125
89
+ peft_layers_to_transform:
90
+ peft_use_dora:
91
+ peft_use_rslora:
92
+ peft_layer_replication:
93
+ lora_target_modules:
94
+ - gate_proj
95
+ - down_proj
96
+ - up_proj
97
+ - q_proj
98
+ - v_proj
99
+ - k_proj
100
+ - o_proj
101
+ lora_modules_to_save:
102
+
103
+ # Fix uninitialized tokens (such as <|start_header_id|> on the base L3 models)
104
+ fix_untrained_tokens:
105
+
106
+ # Dataset config
107
+ # https://github.com/xzuyn/axolotl/blob/came-plus-formatters/src/axolotl/prompt_strategies/customchatml-regex-last-only.py
108
+ datasets:
109
+ - path: PJMixers-Dev/allura-org_gryphe-sonnet-3.5-charcards-names-added-qwq-all-aphrodite-Shuffled
110
+ split: train
111
+ type: customchatml-regex-last-only
112
+ - path: PJMixers-Dev/anthracite-org_c2_logs_32k_llama3_qwen2_v1.3-qwq-all-aphrodite-Shuffled
113
+ split: train
114
+ type: customchatml-regex-last-only
115
+ - path: PJMixers-Dev/grimulkan_aicg-logs-augmented-system-qwq-all-aphrodite-Shuffled
116
+ split: train
117
+ type: customchatml-regex-last-only
118
+ - path: PJMixers-Dev/grimulkan_jannie-log-augmented-system-qwq-all-aphrodite-Shuffled
119
+ split: train
120
+ type: customchatml-regex-last-only
121
+ - path: PJMixers-Dev/grimulkan_PIPPA-augmented-dedup-system-qwq-all-aphrodite-Shuffled
122
+ split: train
123
+ type: customchatml-regex-last-only
124
+ - path: PJMixers-Dev/lemonilia_LimaRP-Only-NonSus-Simple-CustomShareGPT-qwq-all-aphrodite-Shuffled
125
+ split: train
126
+ type: customchatml-regex-last-only
127
+ - path: PJMixers-Dev/MinervaAI_Aesir-Preview-Anon-qwq-all-aphrodite-Shuffled
128
+ split: train
129
+ type: customchatml-regex-last-only
130
+ - path: PJMixers-Dev/NyxKrage_chub-logs-sharegpt-longest-CustomShareGPT-qwq-all-aphrodite-Shuffled
131
+ split: train
132
+ type: customchatml-regex-last-only
133
+ - path: PJMixers-Dev/PocketDoc_Dans-Prosemaxx-Cowriter-XL-8192-shrunk-l3-qwq-all-aphrodite-Shuffled
134
+ split: train
135
+ type: customchatml-regex-last-only
136
+ - path: PJMixers-Dev/PocketDoc_Dans-Personamaxx-Rainy-qwq-all-aphrodite-Shuffled
137
+ split: train
138
+ type: customchatml-regex-last-only
139
+ test_datasets:
140
+ - path: PJMixers-Dev/allura-org_gryphe-sonnet-3.5-charcards-names-added-qwq-all-aphrodite-Shuffled
141
+ split: test
142
+ type: customchatml-regex-last-only
143
+ - path: PJMixers-Dev/anthracite-org_c2_logs_32k_llama3_qwen2_v1.3-qwq-all-aphrodite-Shuffled
144
+ split: test
145
+ type: customchatml-regex-last-only
146
+ - path: PJMixers-Dev/grimulkan_aicg-logs-augmented-system-qwq-all-aphrodite-Shuffled
147
+ split: test
148
+ type: customchatml-regex-last-only
149
+ - path: PJMixers-Dev/grimulkan_jannie-log-augmented-system-qwq-all-aphrodite-Shuffled
150
+ split: test
151
+ type: customchatml-regex-last-only
152
+ - path: PJMixers-Dev/grimulkan_PIPPA-augmented-dedup-system-qwq-all-aphrodite-Shuffled
153
+ split: test
154
+ type: customchatml-regex-last-only
155
+ - path: PJMixers-Dev/lemonilia_LimaRP-Only-NonSus-Simple-CustomShareGPT-qwq-all-aphrodite-Shuffled
156
+ split: test
157
+ type: customchatml-regex-last-only
158
+ - path: PJMixers-Dev/MinervaAI_Aesir-Preview-Anon-qwq-all-aphrodite-Shuffled
159
+ split: test
160
+ type: customchatml-regex-last-only
161
+ - path: PJMixers-Dev/NyxKrage_chub-logs-sharegpt-longest-CustomShareGPT-qwq-all-aphrodite-Shuffled
162
+ split: test
163
+ type: customchatml-regex-last-only
164
+ - path: PJMixers-Dev/PocketDoc_Dans-Prosemaxx-Cowriter-XL-8192-shrunk-l3-qwq-all-aphrodite-Shuffled
165
+ split: test
166
+ type: customchatml-regex-last-only
167
+ - path: PJMixers-Dev/PocketDoc_Dans-Personamaxx-Rainy-qwq-all-aphrodite-Shuffled
168
+ split: test
169
+ type: customchatml-regex-last-only
170
+ val_set_size: 0
171
+ eval_strategy: steps
172
+ eval_steps: 50
173
+ dataset_prepared_path: ./00-Tokenized-Datasets/MS-2501-DPE-QwQify-v0.1-24B-customchatml-regex-last-only
174
+ shuffle_merged_datasets: true
175
+ dataset_processes:
176
+
177
+ # Training hyperparameters
178
+ num_epochs: 2
179
+ gradient_accumulation_steps: 1
180
+ micro_batch_size: 8 # x4 GPUs = 32
181
+ eval_batch_size: 8 # x4 GPUs = 32
182
+ warmup_steps: 0
183
+ optimizer: came_pytorch
184
+ optim_args:
185
+ optim_target_modules:
186
+ lr_scheduler: rex
187
+ learning_rate: 2e-5
188
+ cosine_min_lr_ratio:
189
+ loraplus_lr_ratio:
190
+ loraplus_lr_embedding:
191
+ weight_decay: 0.1
192
+ max_grad_norm: 1
193
+ logging_steps: 1
194
+
195
+ # Model optimization
196
+ gradient_checkpointing: unsloth
197
+ flash_attention: true
198
+ plugins:
199
+ - axolotl.integrations.liger.LigerPlugin
200
+ - axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin
201
+ cut_cross_entropy: true
202
+ liger_rope: true
203
+ liger_rms_norm: true
204
+ liger_layer_norm: true
205
+ liger_glu_activation: true
206
+ liger_cross_entropy: false
207
+ liger_fused_linear_cross_entropy: false
208
+ lora_mlp_kernel: false
209
+ lora_qkv_kernel: false
210
+ lora_o_kernel: false
211
+
212
+ # DeepSpeed
213
+ deepspeed: deepspeed_configs/zero3_bf16.json
214
+
215
+ # Garbage Collection
216
+ gc_steps: 1
217
+
218
+ # Debug config
219
+ debug: true
220
+ seed: 42
221
+
222
+ # Token config
223
+ special_tokens:
224
+ bos_token: "<s>"
225
+ eos_token: "<|im_end|>"
226
+ pad_token: "<pad>"
227
+ tokens:
228
+
229
  ```
230
+
231
+ </details><br>
232
+
233
+ # MS-2501-DPE-QwQify-v0.1-24B-LoRA-WS
234
+
235
+ This model is a fine-tuned version of [PocketDoc/Dans-PersonalityEngine-V1.2.0-24b](https://huggingface.co/PocketDoc/Dans-PersonalityEngine-V1.2.0-24b) 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.
236
+ It achieves the following results on the evaluation set:
237
+ - Loss: 1.1949
238
+
239
+ ## Model description
240
+
241
+ More information needed
242
+
243
+ ## Intended uses & limitations
244
+
245
+ More information needed
246
+
247
+ ## Training and evaluation data
248
+
249
+ More information needed
250
+
251
+ ## Training procedure
252
+
253
+ ### Training hyperparameters
254
+
255
+ The following hyperparameters were used during training:
256
+ - learning_rate: 2e-05
257
+ - train_batch_size: 8
258
+ - eval_batch_size: 8
259
+ - seed: 42
260
+ - distributed_type: multi-GPU
261
+ - num_devices: 4
262
+ - total_train_batch_size: 32
263
+ - total_eval_batch_size: 32
264
+ - optimizer: Use OptimizerNames.ADAMW_HF with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
265
+ - lr_scheduler_type: cosine
266
+ - num_epochs: 2.0
267
+
268
+ ### Training results
269
+
270
+ | Training Loss | Epoch | Step | Validation Loss |
271
+ |:-------------:|:------:|:----:|:---------------:|
272
+ | 1.9925 | 0.0019 | 1 | 1.9225 |
273
+ | 1.4228 | 0.0936 | 50 | 1.4329 |
274
+ | 1.3473 | 0.1873 | 100 | 1.3722 |
275
+ | 1.3259 | 0.2809 | 150 | 1.3414 |
276
+ | 1.2795 | 0.3745 | 200 | 1.3199 |
277
+ | 1.2817 | 0.4682 | 250 | 1.3029 |
278
+ | 1.2365 | 0.5618 | 300 | 1.2910 |
279
+ | 1.2134 | 0.6554 | 350 | 1.2803 |
280
+ | 1.2655 | 0.7491 | 400 | 1.2700 |
281
+ | 1.2297 | 0.8427 | 450 | 1.2614 |
282
+ | 1.178 | 0.9363 | 500 | 1.2524 |
283
+ | 1.1525 | 1.0300 | 550 | 1.2467 |
284
+ | 1.1751 | 1.1236 | 600 | 1.2411 |
285
+ | 1.216 | 1.2172 | 650 | 1.2366 |
286
+ | 1.1706 | 1.3109 | 700 | 1.2302 |
287
+ | 1.1363 | 1.4045 | 750 | 1.2256 |
288
+ | 1.1563 | 1.4981 | 800 | 1.2194 |
289
+ | 1.1559 | 1.5918 | 850 | 1.2147 |
290
+ | 1.1263 | 1.6854 | 900 | 1.2090 |
291
+ | 1.099 | 1.7790 | 950 | 1.2038 |
292
+ | 1.1786 | 1.8727 | 1000 | 1.1994 |
293
+ | 1.1057 | 1.9663 | 1050 | 1.1949 |
294
+
295
+
296
+ ### Framework versions
297
+
298
+ - PEFT 0.14.0
299
+ - Transformers 4.49.0
300
+ - Pytorch 2.6.0+cu124
301
+ - Datasets 3.2.0
302
+ - Tokenizers 0.21.1