Views
No views yet
0.9.01# Weights and Biases logging config
2wandb_project: shuttle-3.5
3wandb_name: "3.5"
4
5# Model architecture config
6base_model: Qwen/Qwen3-32B
7model_type: AutoModelForCausalLM
8tokenizer_type: AutoTokenizer
9chat_template: chatml
10
11# Hugging Face saving config
12hub_model_id: shuttleai/shuttle-3.5-ckpts
13hub_strategy: all_checkpoints
14
15# Model checkpointing config
16output_dir: ./lora-out
17saves_per_epoch: 10
18save_safetensors: true
19save_total_limit: 5
20
21# Mixed precision training config
22bf16: true
23fp16: false
24tf32: false
25
26# Model loading config
27load_in_8bit: false
28load_in_4bit: true
29strict: false
30
31# Sequence config
32sequence_len: 16384
33s2_attention: false
34sample_packing: true
35eval_sample_packing: true
36pad_to_sequence_len: true
37train_on_inputs: false
38group_by_length: false
39
40# QLoRA adapter config
41adapter: qlora
42lora_r: 64
43lora_alpha: 64
44lora_dropout: 0.05
45peft_use_dora: false
46lora_target_modules:
47 - gate_proj
48 - down_proj
49 - up_proj
50 - q_proj
51 - v_proj
52 - k_proj
53 - o_proj
54
55# Dataset config
56datasets:
57 - path: ./dataset
58 type: chat_template
59val_set_size: 0.05
60evals_per_epoch: 10
61dataset_prepared_path: ./prepared-datasets
62shuffle_merged_datasets: true
63
64# Training hyperparameters
65num_epochs: 1
66gradient_accumulation_steps: 2
67micro_batch_size: 2
68eval_batch_size: 1
69warmup_steps: 500
70optimizer: paged_adamw_8bit
71lr_scheduler: cosine
72learning_rate: 2e-4
73loraplus_lr_ratio: 8
74cosine_min_lr_ratio: 0.1
75weight_decay: 0.1
76max_grad_norm: 1
77logging_steps: 1
78
79# Model optimization
80gradient_checkpointing: unsloth
81xformers_attention: false
82flash_attention: true
83sdp_attention: false
84unsloth_cross_entropy_loss: true
85unsloth_lora_mlp: false
86unsloth_lora_qkv: false
87unsloth_lora_o: false
88
89# Loss monitoring config
90early_stopping_patience: false
91loss_watchdog_threshold: 100.0
92loss_watchdog_patience: 3
93
94# Debug config
95debug: false
96seed: 42
97
98deepspeed: deepspeed_configs/zero2.json| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 7.5468 | 0.0006 | 1 | 7.0761 |
| 4.9993 | 0.1006 | 160 | 5.6051 |
| 3.358 | 0.2011 | 320 | 2.5960 |
| 1.809 | 0.3017 | 480 | 1.3915 |
| 2.088 | 0.4023 | 640 | 1.1270 |
| 1.8377 | 0.5028 | 800 | 1.0472 |
| 1.8002 | 0.6034 | 960 | 1.0100 |
| 1.7863 | 0.7040 | 1120 | 0.9924 |
| 1.4572 | 0.8045 | 1280 | 0.9861 |
| 1.8509 | 0.9051 | 1440 | 0.9783 |