> ## Documentation Index
> Fetch the complete documentation index at: https://miles.radixark.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Qwen

> Miles recipes for the full Qwen3, Qwen3.5, and Next line — dense and MoE, through the Qwen4-architecture Qwen3.8-Flash-Next.

Miles ships ready-to-run RL recipes for every generation of the Qwen line: the dense Qwen3 series (0.6 B → 32 B), the Qwen3.5 family with its gated-attention architecture, the Qwen3 and Qwen3.5 MoE variants, the Gated-Delta-Net Qwen3-Next-80B-A3B, and Qwen3.8-Flash-Next — the GDN + QSA hybrid that previews the Qwen4 architecture.

## Variants

| Family | Class | Sizes | Recipe |
| - | - | - | - |
| Qwen3 | Dense | 0.6 B · 1.7 B · 4 B · 8 B · 14 B · 32 B | [qwen3](https://miles.radixark.com/docs/models/qwen/qwen3.md) |
| Qwen3 | MoE | 3 B / 30 B · 22 B / 235 B | [qwen3-moe](https://miles.radixark.com/docs/models/qwen/qwen3-moe.md) |
| Qwen3.5 | Dense | 4 B · 9 B · 27 B | [qwen3-5](https://miles.radixark.com/docs/models/qwen/qwen3-5.md) |
| Qwen3.5 | MoE | 3 B / 35 B | [qwen3-5-moe](https://miles.radixark.com/docs/models/qwen/qwen3-5-moe.md) |
| Qwen3.6 | Dense | 27 B | [qwen3-6](https://miles.radixark.com/docs/models/qwen/qwen3-6.md) |
| Qwen3.6 | MoE | 3 B / 35 B | [qwen3-6-moe](https://miles.radixark.com/docs/models/qwen/qwen3-6-moe.md) |
| Qwen3.8 | Dense | 27 B | [qwen3-8](https://miles.radixark.com/docs/models/qwen/qwen3-8.md) |
| Qwen3-Next | MoE (GDN) | 3 B / 80 B | [qwen3-next](https://miles.radixark.com/docs/models/qwen/qwen3-next.md) |
| Qwen3.8-Flash-Next | MoE (GDN + QSA) | 6 B / 176 B | [qwen3-8-flash-next](https://miles.radixark.com/docs/models/qwen/qwen3-8-flash-next.md) |

## Fastest path to train

Qwen3-4B on a single 8× H100 node — the canonical starter recipe:

```bash theme={null}
cd /root/miles
hf download Qwen/Qwen3-4B --local-dir /root/models/Qwen3-4B
python scripts/run_qwen3_dense.py --model-name Qwen3-4B
```

Dataset is [DAPO-Math-17k](https://huggingface.co/datasets/zhuzilin/dapo-math-17k) at `/root/datasets/dapo-math-17k/dapo-math-17k.jsonl`. See the [Qwen3 Dense](https://miles.radixark.com/docs/models/qwen/qwen3.md) page for the full walkthrough, weight conversion, and variants.

## Which variant do I pick?

* **Learning Miles for the first time** → Qwen3-4B ([qwen3](https://miles.radixark.com/docs/models/qwen/qwen3.md)). Fits one H100 node, fast loop.
* **Need MoE on a single node** → Qwen3-30B-A3B ([qwen3-moe](https://miles.radixark.com/docs/models/qwen/qwen3-moe.md)).
* **Scaling to multi-node** → Qwen3-235B-A22B ([qwen3-moe](https://miles.radixark.com/docs/models/qwen/qwen3-moe.md)).
* **Latest dense architecture (gated attention, A\_log FP32)** → Qwen3.5-4B ([qwen3-5](https://miles.radixark.com/docs/models/qwen/qwen3-5.md)).
* **Hybrid MTP / speculative decoding experiments** → Qwen3.5-35B-A3B ([qwen3-5-moe](https://miles.radixark.com/docs/models/qwen/qwen3-5-moe.md)).
* **Gated-Delta-Net (fla backend, real-CP)** → Qwen3-Next-80B-A3B ([qwen3-next](https://miles.radixark.com/docs/models/qwen/qwen3-next.md)).
* **Qwen4-architecture preview (hyper-connections, QSA sparse attention, PLE)** → Qwen3.8-Flash-Next ([qwen3-8-flash-next](https://miles.radixark.com/docs/models/qwen/qwen3-8-flash-next.md)).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.