Views
No views yet
0.13.0.dev01base_model: LiquidAI/LFM2-350M
2
3chunked_cross_entropy: true
4
5eot_tokens:
6 - "<|im_end|>"
7datasets:
8 - path: chotto-20251007.sft.jsonl
9 type: chat_template
10 field_messages: conversations
11 message_property_mappings:
12 role: role
13 content: content
14 roles:
15 system:
16 - system
17 assistant:
18 - assistant
19 - gpt
20 - model
21 user:
22 - user
23 - human
24 roles_to_train: ["assistant"]
25dataset_prepared_path: last_run_prepared
26output_dir: ./outputs/out
27
28sequence_len: 8192
29sample_packing: true
30flash_attention: true
31pad_to_sequence_len: true
32
33neftune_noise_alpha: 5
34
35use_wandb: true
36wandb_entity: augmxnt
37wandb_project: lfm2
38wandb_name: "LFM2 Test"
39
40# GBS = 128 / 1 GPU / 32 MBS / 4 GAS
41gradient_accumulation_steps: 4
42micro_batch_size: 32
43num_epochs: 3
44optimizer: adamw_torch_4bit
45lr_scheduler: cosine
46learning_rate: 5e-5
47
48train_on_inputs: false
49group_by_length: false
50bf16: true
51tf32: false
52
53gradient_checkpointing: true
54gradient_checkpointing_kwargs:
55 use_reentrant: false
56logging_steps: 1
57
58warmup_ratio: 0.03
59saves_per_epoch: 1
60
61deepspeed: zero3_bf16.json
62# deepcompile: true
63weight_decay: 1e-4
64
65
66# save_first_step: true # uncomment this to validate checkpoint saving works with your config
67