Views
No views yet
mlx_lm utility on a 64GiB URAM M1 Max.
1<|im_start|>system
2system prompt<|im_end|>
3<|im_start|>user
4Hi there!<|im_end|>
5<|im_start|>assistant
6Nice to meet you!<|im_end|>
7<|im_start|>user
8Can I ask a question?<|im_end|>
9<|im_start|>assistant1{
2 "story_string": "<|im_start|>system\n{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}{{trim}}<|im_end|>\n",
3 "example_separator": "",
4 "chat_start": "",
5 "use_stop_strings": false,
6 "allow_jailbreak": false,
7 "always_force_name2": true,
8 "trim_sentences": false,
9 "include_newline": false,
10 "single_line": false,
11 "name": "Magnum ChatML"
12}1{
2 "system_prompt": "Currently, your role is {{char}}, described in detail below. As {{char}}, continue the narrative exchange with {{user}}.\n\n<Guidelines>\n• Maintain the character persona but allow it to evolve with the story.\n• Be creative and proactive. Drive the story forward, introducing plotlines and events when relevant.\n• All types of outputs are encouraged; respond accordingly to the narrative.\n• Include dialogues, actions, and thoughts in each response.\n• Utilize all five senses to describe scenarios within {{char}}'s dialogue.\n• Use emotional symbols such as "!" and "~" in appropriate contexts.\n• Incorporate onomatopoeia when suitable.\n• Allow time for {{user}} to respond with their own input, respecting their agency.\n• Act as secondary characters and NPCs as needed, and remove them when appropriate.\n• When prompted for an Out of Character [OOC:] reply, answer neutrally and in plaintext, not as {{char}}.\n</Guidelines>\n\n<Forbidden>\n• Using excessive literary embellishments and purple prose unless dictated by {{char}}'s persona.\n• Writing for, speaking, thinking, acting, or replying as {{user}} in your response.\n• Repetitive and monotonous outputs.\n• Positivity bias in your replies.\n• Being overly extreme or NSFW when the narrative context is inappropriate.\n</Forbidden>\n\nFollow the instructions in <Guidelines></Guidelines>, avoiding the items listed in <Forbidden></Forbidden>.",
3 "input_sequence": "<|im_start|>user\n",
4 "output_sequence": "<|im_start|>assistant\n",
5 "last_output_sequence": "",
6 "system_sequence": "<|im_start|>system\n",
7 "stop_sequence": "<|im_end|>",
8 "wrap": false,
9 "macro": true,
10 "names": true,
11 "names_force_groups": true,
12 "activation_regex": "",
13 "system_sequence_prefix": "",
14 "system_sequence_suffix": "",
15 "first_output_sequence": "",
16 "skip_examples": false,
17 "output_suffix": "<|im_end|>\n",
18 "input_suffix": "<|im_end|>\n",
19 "system_suffix": "<|im_end|>\n",
20 "user_alignment_message": "",
21 "system_same_as_user": false,
22 "last_system_sequence": "",
23 "name": "Magnum ChatML"
24}1base_model: /workspace/data/gemma-2-9b-chatml
2model_type: AutoModelForCausalLM
3tokenizer_type: AutoTokenizer
4
5plugins:
6 - axolotl.integrations.liger.LigerPlugin
7liger_rope: false
8liger_rms_norm: false
9liger_swiglu: true
10liger_cross_entropy: true
11liger_fused_linear_cross_entropy: false
12
13load_in_8bit: false
14load_in_4bit: false
15strict: false
16
17datasets:
18 - path: anthracite-org/c2_logs_16k_llama_v1.1
19 type: sharegpt
20 conversation: chatml
21 - path: NewEden/Claude-Instruct-5K
22 type: sharegpt
23 conversation: chatml
24 - path: anthracite-org/kalo-opus-instruct-22k-no-refusal
25 type: sharegpt
26 conversation: chatml
27 - path: Epiculous/SynthRP-Gens-v1.1-Filtered-n-Cleaned
28 type: sharegpt
29 conversation: chatml
30 - path: lodrick-the-lafted/kalo-opus-instruct-3k-filtered
31 type: sharegpt
32 conversation: chatml
33 - path: anthracite-org/nopm_claude_writing_fixed
34 type: sharegpt
35 conversation: chatml
36 - path: Epiculous/Synthstruct-Gens-v1.1-Filtered-n-Cleaned
37 type: sharegpt
38 conversation: chatml
39 - path: anthracite-org/kalo_opus_misc_240827
40 type: sharegpt
41 conversation: chatml
42 - path: anthracite-org/kalo_misc_part2
43 type: sharegpt
44 conversation: chatml
45chat_template: chatml
46shuffle_merged_datasets: false
47default_system_message: "You are a helpful assistant that responds to the user."
48dataset_prepared_path: /workspace/data/9b-fft-data
49val_set_size: 0.0
50output_dir: /workspace/data/9b-fft-out
51
52sequence_len: 8192
53sample_packing: true
54eval_sample_packing: false
55pad_to_sequence_len: true
56
57adapter:
58lora_model_dir:
59lora_r:
60lora_alpha:
61lora_dropout:
62lora_target_linear:
63lora_fan_in_fan_out:
64
65wandb_project: 9b-Nemo-config-fft
66wandb_entity:
67wandb_watch:
68wandb_name: attempt-01
69wandb_log_model:
70
71gradient_accumulation_steps: 4
72micro_batch_size: 1
73num_epochs: 4
74optimizer: paged_adamw_8bit
75lr_scheduler: cosine
76learning_rate: 0.00001
77
78train_on_inputs: false
79group_by_length: false
80bf16: auto
81fp16:
82tf32: false
83
84gradient_checkpointing: true
85early_stopping_patience:
86auto_resume_from_checkpoints: true
87local_rank:
88logging_steps: 1
89xformers_attention:
90flash_attention: true
91
92warmup_steps: 10
93evals_per_epoch:
94eval_table_size:
95eval_max_new_tokens:
96saves_per_epoch: 1
97debug:
98deepspeed: deepspeed_configs/zero3_bf16.json
99weight_decay: 0.001
100fsdp:
101fsdp_config:
102special_tokens:
103 pad_token: <pad>