1base_model: Qwen/Qwen3-1.7B-Base
2
3datasets:
4 - path: nq_text_compressed_axolotl/train_with_pseudo_axolotl.jsonl
5 type: chat_template
6 chat_template: tokenizer_default_fallback_chatml
7 field_messages: conversations
8 message_property_mappings:
9 role: role
10 content: content
11 roles:
12 assistant:
13 - assistant
14 - gpt
15 - model
16 user:
17 - user
18 - human
19 system:
20 - system
21
22roles_to_train: ["assistant"]
23train_on_eos: "turn"
24
25shuffle_merged_datasets: true
26output_dir: ./checkpoint/Qwen3-1.7B-nq_text_compressed-with_pseudo-lr1e-4-10epochs
27sequence_len: 1024
28sample_packing: true
29pad_to_sequence_len: true
30flash_attention: false
31xformers_attention: false
32flex_attention: false
33sdp_attention: true
34
35gradient_accumulation_steps: 32
36micro_batch_size: 4
37dataloader_num_workers: 2
38num_epochs: 10
39
40optimizer: adamw_torch
41lr_scheduler: cosine
42learning_rate: 1e-4
43warmup_ratio: 0.1
44weight_decay: 0.0
45bf16: true
46tf32: false
47gradient_checkpointing: true
48
49logging_steps: 1000
50save_strategy: epoch
51save_total_limit: 1
52
53special_tokens:
54 eos_token: <|im_end|>
55
56wandb_project: "ICLGR-NQ"
57wandb_entity: "abnerden0803-national-taiwan-university"
58wandb_name: "qwen3-1.7b-nq_text_compressed-pseudo-lr1e-4-10epochs"
59wandb_log_model:
60wandb_watch:
61
62val_set_size: 0.0
63