Views
No views yet
0.16.0.dev01# CoderForge v3 axolotl config template.
2# Consumes the pre-tokenized laion/CoderForge-Preview-v3-<SIZE> datasets.
3# Axolotl auto-detects pre-tokenized via input_ids + attention_mask + labels
4# (_is_dataset_already_tokenized) and skips chat_template rendering entirely.
5# Fill 316 via sed-substitution.
6
7base_model: Qwen/Qwen3-8B
8deepspeed: /e/scratch/jureap59/feuer1/code/axolotl/deepspeed_configs/zero3_bf16.json
9
10load_in_8bit: false
11load_in_4bit: false
12
13# plugins disabled 2026-04-22: CCE + bf16 + flash-attn on aarch64/torch2.9 caused
14# gradient explosion (grad_norm 9.8e+11) and loss -> 0 within first 3-7 steps.
15# plugins:
16# - axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin
17
18# chat_template still set so tokenizer can be loaded, even though axolotl
19# bypasses template rendering for pre-tokenized data.
20chat_template: chatml
21datasets:
22 - path: laion/CoderForge-Preview-v3-316
23 # No `type:` specified — axolotl's _is_dataset_already_tokenized() fires
24 # early and returns the dataset as-is.
25 ds_type: parquet
26
27dataset_prepared_path: /e/data1/datasets/playground/ot-baf/axolotl_dataset_cache/cf-v3-316
28output_dir: /e/data1/datasets/playground/ot-baf/checkpoints/cf-v3-316-axolotl__Qwen3-8B
29# hub_model_id: laion/CoderForge-Preview-v3-316-axolotl__Qwen3-8B
30# hub_strategy: end
31
32# Upstream pre-tokenized sequences can exceed 80k tokens; matches Sera v3 truncation.
33sequence_len: 32768
34
35wandb_project:
36wandb_entity:
37wandb_watch:
38wandb_name: cf-v3-316-axolotl__Qwen3-8B
39wandb_log_model:
40
41# Matches upstream SERA config's optimization hparams for apples-to-apples.
42gradient_accumulation_steps: 8
43micro_batch_size: 1
44num_epochs: 3
45optimizer: adamw_torch
46lr_scheduler: cosine
47learning_rate: 1e-5
48adam_beta1: 0.9
49adam_beta2: 0.95
50
51bf16: auto
52tf32: false
53
54gradient_checkpointing: true
55activation_offloading: true
56resume_from_checkpoint:
57logging_steps: 1
58flash_attention: true
59
60loss_watchdog_threshold: 5.0
61loss_watchdog_patience: 3
62
63warmup_ratio: 0.1875
64evals_per_epoch: 0
65save_strategy: epoch
66
67weight_decay: 0.01
68max_grad_norm: 1.0
69special_tokens:
70