1base_model: NewEden/MistralAI-Nemo-Instruct-ChatML
2model_type: AutoModelForCausalLM
3tokenizer_type: AutoTokenizer
4
5load_in_8bit: false
6load_in_4bit: false
7strict: false
8
9datasets:
10 - path: hardlyworking/HardlyRP
11 type: chat_template
12 chat_template: chatml
13 roles_to_train: ["gpt"]
14 field_messages: conversations
15 message_field_role: from
16 message_field_content: value
17 train_on_eos: turn
18 - path: jeiku/Writing
19 type: completion
20 field: text
21
22shuffle_merged_datasets: true
23dataset_prepared_path: dataset_preparedss
24val_set_size: 0.0025
25output_dir: 12b-out-0001-max_grad_norm
26
27hub_model_id: hardlyworking/Sapphire-12B
28hub_strategy: "all_checkpoints"
29push_dataset_to_hub:
30hf_use_auth_token: true
31
32plugins:
33 - axolotl.integrations.liger.LigerPlugin
34liger_rope: true
35liger_rms_norm: true
36liger_layer_norm: true
37liger_glu_activation: true
38liger_fused_linear_cross_entropy: true
39
40sequence_len: 8192
41sample_packing: true
42eval_sample_packing: false
43pad_to_sequence_len: true
44
45max_grad_norm: 0.001
46
47wandb_project: Sapphire
48wandb_entity:
49wandb_watch:
50wandb_name: Sapphire
51wandb_log_model:
52
53evals_per_epoch: 8
54eval_table_size:
55eval_max_new_tokens: 128
56
57gradient_accumulation_steps: 8
58micro_batch_size: 2
59num_epochs: 2
60optimizer: adamw_bnb_8bit
61lr_scheduler: cosine
62learning_rate: 2e-6
63
64train_on_inputs: false
65group_by_length: false
66bf16: auto
67fp16:
68tf32: false
69
70gradient_checkpointing: true
71early_stopping_patience:
72resume_from_checkpoint:
73local_rank:
74logging_steps: 1
75xformers_attention:
76flash_attention: true
77s2_attention:
78
79warmup_ratio: 0.05
80saves_per_epoch: 1
81debug:
82weight_decay: 0.0001
83fsdp:
84fsdp_config:
85special_tokens:
86 pad_token: <pad>