Downloads · 30 days
11
2% of all-time downloads
RockToken/qwen3_30b_a3b_to_4b_onpolicy_5k_src30k-35k_cont
qwen3_30b_a3b_to_4b_onpolicy_5k_src30k-35k_cont is a text generation model from RockToken. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Continual on-policy knowledge distillation of a Qwen3-4B student toward the Qwen3-30B-A3B (MoE) teacher, on 5,000 math prompts from openthoughts3math50k (positions 30k–35k, disjoint from prior training slices).
Downloads · 30 days
11
2% of all-time downloads
All-time downloads
612
Public
Parameters
4B
17.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors17.6 GB · 100%
From the Hugging Face model README
Continual on-policy knowledge distillation of a Qwen3-4B student toward the Qwen3-30B-A3B (MoE) teacher, on 5,000 math prompts from openthoughts3_math_50k (positions 30k–35k, disjoint from prior training slices).
The student for this run is RockToken/qwen3-30b-a3b-to-4b-onpolicy-10k, so the effective training exposure of this checkpoint is:
openthoughts3_math_50k)Stages 2 and 3 use the same on-policy pipeline; only the seed weights, prompt slice, and step count differ.
| Role | Model |
|---|---|
| Student | Qwen3-4B-Instruct-2507 (after stages 1–2 above) |
| Teacher | Qwen/Qwen3-30B-A3B-Instruct-2507 (MoE, ~3B active) |
enable_thinking=False throughout (both stages).
openthoughts3_math_50k (math split of OpenThoughts-3)Framework: KDFlow — FSDP2 + SGLang rollout, Ray-orchestrated GPU co-location with sleep/wakeup.
Hardware: 1× node, 4× H100 (80 GB), ~34 h wall-clock (~136 GPU-hours).
| Group | Value |
|---|---|
| Backend | fsdp2, bf16, gradient ckpt on |
| Epochs | 1 |
| Train batch | 4 (micro 1) |
| Learning rate | 2e-6, cosine, warmup 5% |
| KD ratio | 1.0 |
| KD loss | reverse KL (rkl) |
| KD algorithm | vanilla_kd |
| Temperature (KD) | 1.0 |
| Rollout engine | SGLang, TP=2, 1 engine |
| Rollout batch | 2 prompts × 4 samples/prompt |
generate_max_len | 8000 |
prompt_max_len | 800 (total max_len 8800) |
| Sampling | temperature 1.0, top-p 1.0 |
| Teacher | TP=4, sleep/wakeup enabled |
Off-policy stage 1 hyperparameters (for context): batch 128, LR 2e-5, kd_ratio 0.5, kd_loss KL, max_len 16384, packing_samples on, ring attention.
Research on distillation dynamics. Domain skew is math (OpenThoughts-3 math split).
enable_thinking=False — this student does not emit <think> traces.legendary-music-16 (stage 2, 10k) and lemon-sound-17 / 2gvd60dw (this run, stage 3) under project KDFlow, entity zhao666.