# Qwen3 pretraining

Source: https://docs.surogate.ai/engine/examples/pt/qwen3/

[The maintained pretraining examples](/engine/examples/recipes/pt/) 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](/engine/guides/optimizers/)).

```bash
surogate pt examples/pt/qwen3.yaml
surogate sft examples/pt/qwen3-continue.yaml
```

[`pt`](/engine/reference/cli/#pt) 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](/engine/getting-started/quickstart-pretraining/) walks through a first run step by step.
