1base_model: tokyotech-llm/Swallow-MX-8x7b-NVE-v0.1
2model_type: AutoModelForCausalLM
3tokenizer_type: LlamaTokenizer
4trust_remote_code: true
5
6load_in_8bit: false
7load_in_4bit: false
8strict: false
9
10chat_template: inst
11datasets:
12 - path: augmxnt/ultra-orca-boros-en-ja-v1
13 type: sharegpt
14dataset_prepared_path: last_run_prepared
15val_set_size: 0.05
16output_dir: ./outputs/basemodel-swallowmx-8x22b
17
18model_config:
19 output_router_logits: true
20
21sequence_len: 4096
22sample_packing: true
23pad_to_sequence_len: true
24
25use_wandb: true
26wandb_project: shisa-v2
27wandb_entity: augmxnt
28wandb_name: shisa-swallowmx-13a47b-v1
29
30global_batch_size: 1
31gradient_accumulation_steps: 8
32micro_batch_size: 1
33num_epochs: 3
34# https://github.com/huggingface/transformers/issues/22101
35# https://github.com/huggingface/transformers/blob/main/src/transformers/training_args.py#L141
36optimizer: paged_adamw_8bit
37lr_scheduler: linear
38learning_rate: 2e-5
39
40train_on_inputs: false
41group_by_length: false
42bf16: auto
43fp16:
44tf32: true
45
46gradient_checkpointing: true
47early_stopping_patience:
48resume_from_checkpoint:
49logging_steps: 1
50xformers_attention:
51flash_attention: true
52
53warmup_ratio: 0.1
54evals_per_epoch: 2
55eval_table_size:
56saves_per_epoch: 1
57debug:
58deepspeed: axolotl/deepspeed_configs/zero3_bf16.json
59weight_decay: 0.0
60fsdp:
61fsdp_config:
62special_tokens:
63