Views
No views yet
0.8.0.dev01base_model: Dans-DiscountModels/Mistral-Nemo-Base-2407-ChatML-Mod
2model_type: AutoModelForCausalLM
3tokenizer_type: AutoTokenizer
4
5trust_remote_code:
6
7# wandb configuration
8wandb_project: 12b-mn-dans-reasoning-test
9wandb_watch:
10
11wandb_run_id: V0.0.4-1-2 # V{Version}-{Run Number}-{Attempt Number}
12wandb_log_model:
13
14# push checkpoints to hub
15hub_model_id: Dans-DiscountModels/12b-mn-dans-reasoning-test-5
16# how to push checkpoints to hub
17# https://huggingface.co/docs/transformers/v4.31.0/en/main_classes/trainer#transformers.TrainingArguments.hub_strategy
18hub_strategy: "every_save"
19# Whether to use hf `use_auth_token` for loading datasets. Useful for fetching private datasets
20# Required to be true when used in combination with `push_dataset_to_hub`
21hf_use_auth_token: true
22
23# where to save the finished model to
24output_dir: ./12b-mn-dans-reasoning-test
25
26save_safetensors: true
27
28# dataset settings (local or huggingface repo)
29datasets:
30 - path: PocketDoc/Dans-Reasoningmaxx-NaturalReasoning
31 type: dan-chat-advanced
32 - path: PocketDoc/Dans-Reasoningmaxx-WebInstruct
33 type: dan-chat-advanced
34 - path: PocketDoc/Dans-Reasoningmaxx-GeneralReasoning
35 type: dan-chat-advanced
36 - path: PocketDoc/Dans-Benchmaxx-COT
37 type: dan-chat-advanced
38 - path: PocketDoc/Dans-Logicmaxx-SAT-AP
39 type: dan-chat-advanced
40 - path: PocketDoc/Dans-Assistantmaxx-Opus-Merge
41 type: dan-chat-advanced
42 # - path: PocketDoc/Dans-Assistantmaxx-sonnetorca-subset
43 # type: dan-chat-advanced
44
45plugins:
46 - axolotl.integrations.liger.LigerPlugin
47 - axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin
48liger_rope: true
49liger_rms_norm: true
50liger_layer_norm: true
51liger_glu_activation: true
52liger_fused_linear_cross_entropy: false
53cut_cross_entropy: true
54
55load_in_8bit: false
56load_in_4bit: false
57strict: false
58
59adapter:
60lora_model_dir:
61
62lora_r: 128
63lora_alpha: 128
64lora_dropout: 0.1
65lora_target_linear: True
66lora_target_modules:
67lora_modules_to_save:
68 - embed_tokens
69 - lm_head
70lora_fan_in_fan_out:
71peft_use_rslora: true
72
73dataset_prepared_path: ./12b-mn-dans-reasoning-test-data
74val_set_size: 0.005
75
76sequence_len: 8192
77
78sample_packing: true
79eval_sample_packing: true
80
81pad_to_sequence_len: true
82
83gradient_checkpointing: true
84# gradient_checkpointing_kwargs:
85# use_reentrant: false
86
87gradient_accumulation_steps: 1
88micro_batch_size: 4
89
90num_epochs: 2
91
92optimizer: came_pytorch
93
94lr_scheduler: rex
95learning_rate: 0.0000015
96cosine_min_lr_ratio: 0.1
97
98weight_decay: 0.1
99
100max_grad_norm: 0.1
101
102train_on_inputs: false
103group_by_length: true
104
105bf16: true
106fp16: false
107tf32: false
108
109early_stopping_patience:
110
111resume_from_checkpoint:
112auto_resume_from_checkpoints: true
113
114local_rank:
115logging_steps: 1
116xformers_attention:
117flash_attention: true
118
119warmup_ratio: 0.05
120
121evals_per_epoch: 16
122eval_table_size:
123eval_max_new_tokens:
124
125saves_per_epoch: 4
126save_total_limit: 1
127
128debug: false
129
130deepspeed: deepspeed_configs/zero3_bf16.json
131
132fsdp:
133fsdp_config:
134
135special_tokens:
136| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.7429 | 0.0014 | 1 | 0.7557 |
| 0.6704 | 0.0634 | 46 | 0.6654 |
| 0.632 | 0.1269 | 92 | 0.6255 |
| 0.6256 | 0.1903 | 138 | 0.6108 |
| 0.5898 | 0.2538 | 184 | 0.6022 |
| 0.6078 | 0.3172 | 230 | 0.5967 |
| 0.5585 | 0.3807 | 276 | 0.5925 |
| 0.609 | 0.4441 | 322 | 0.5887 |
| 0.6203 | 0.5076 | 368 | 0.5854 |
| 0.5651 | 0.5710 | 414 | 0.5825 |
| 0.5886 | 0.6345 | 460 | 0.5802 |
| 0.5479 | 0.6979 | 506 | 0.5783 |
| 0.5924 | 0.7614 | 552 | 0.5764 |
| 0.5515 | 0.8248 | 598 | 0.5745 |
| 0.5891 | 0.8883 | 644 | 0.5727 |
| 0.5757 | 0.9517 | 690 | 0.5712 |
| 0.5241 | 1.0152 | 736 | 0.5718 |
| 0.5303 | 1.0786 | 782 | 0.5723 |
| 0.5586 | 1.1421 | 828 | 0.5713 |
| 0.5087 | 1.2055 | 874 | 0.5702 |
| 0.5251 | 1.2690 | 920 | 0.5694 |
| 0.5336 | 1.3324 | 966 | 0.5689 |
| 0.4921 | 1.3959 | 1012 | 0.5689 |
| 0.5164 | 1.4593 | 1058 | 0.5670 |
| 0.5546 | 1.5228 | 1104 | 0.5665 |
| 0.49 | 1.5862 | 1150 | 0.5649 |
| 0.4836 | 1.6497 | 1196 | 0.5647 |
| 0.4768 | 1.7131 | 1242 | 0.5642 |
| 0.5207 | 1.7766 | 1288 | 0.5630 |
| 0.5127 | 1.8400 | 1334 | 0.5624 |
| 0.5111 | 1.9034 | 1380 | 0.5615 |
| 0.4927 | 1.9669 | 1426 | 0.5607 |