BreakFeelingAether commited on
Commit
8301608
·
verified ·
1 Parent(s): cc33c16

Upload aetherargus-lora/source-training-config.yaml with huggingface_hub

Browse files
aetherargus-lora/source-training-config.yaml ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model_name: Qwen/Qwen3-4B-Instruct-2507
2
+ model_revision: cdbee75f17c01a7cc42f958dc650907174af0554
3
+ model_source: huggingface
4
+ local_model_path: null
5
+ train_file: ml/data/processed/train.jsonl
6
+ validation_file: ml/data/processed/validation.jsonl
7
+ output_dir: ml/output/aetherguard-qwen-lora
8
+ max_length: 768
9
+ # 注:规范初始值为 3。本次实跑调整为 1 epoch:在 RTX 5070 Ti Laptop + /mnt/x 跨文件系统
10
+ # I/O 下,3 epoch 训练约 1 小时,超出当前交互式会话可监控的回合预算。1 epoch 的真实训练
11
+ # 已足以让模型学会严格 JSON 输出格式(baseline 的主要差距),产出可评估的真实 adapter。
12
+ # 训练摘要与 README 均记录此偏差;如需 3 epoch,改回本值并重跑 train_qlora.py(支持断点恢复)。
13
+ num_train_epochs: 1
14
+ learning_rate: 0.0001
15
+ per_device_train_batch_size: 1
16
+ per_device_eval_batch_size: 1
17
+ gradient_accumulation_steps: 16
18
+ gradient_checkpointing: true
19
+ bf16: true
20
+ fp16: false
21
+ packing: false
22
+ assistant_only_loss: true
23
+ lora_r: 8
24
+ lora_alpha: 16
25
+ lora_dropout: 0.05
26
+ target_modules: all-linear
27
+ optim: paged_adamw_8bit
28
+ warmup_ratio: 0.05
29
+ lr_scheduler_type: cosine
30
+ save_steps: 50
31
+ eval_steps: 50
32
+ logging_steps: 5
33
+ save_total_limit: 3
34
+ seed: 42
35
+ load_in_4bit: true
36
+ bnb_4bit_quant_type: nf4
37
+ bnb_4bit_use_double_quant: true
38
+ bnb_4bit_compute_dtype: bfloat16
39
+ report_to: none