Qwen3 pretraining
EngineSurogate EngineThe maintained pretraining examples show two ways to train on raw text: from random initialization with NorMuon, and continued pretraining of an existing model with AdamW 8-bit (see Optimizers).
surogate pt examples/pt/qwen3.yamlsurogate sft examples/pt/qwen3-continue.yamlpt always initializes from scratch. Continued pretraining
uses sft with lora: false and loss_scale: all. Both examples train on the tiny
Shakespeare corpus to show the workflow, with explicit validation and checkpointing.
Next: Quickstart: pretraining walks through a first run step by step.