CoolFace
Modelpublic

ggbetz/qwen3-4b-think-s1-full-sft

sourceHugging Faceapache-2.0updated 13d agoView on Hugging Face
0likes355downloads
Model Card

modrill/qwen3-4b-think-s1-full-sft

Full-parameter supervised fine-tuning (SFT) of Qwen/Qwen3-4B-Base on the think_s1 curriculum stage (easy + medium code reasoning data). This checkpoint is Stage1 of the think curriculum (checkpoint-1094).

Related models

Training summary

FieldValue
MethodFull SFT (DeepSpeed ZeRO-2)
Datasetthink_s1 (easy + medium, 72,555 samples)
Chat templateqwen3
Thinking modeenable_thinking=true
Cutoff length16384
Packingtrue (neat_packing)
Epochs2
Global batch64 (4 GPU × 4 × 4)
Learning rate1e-5
LR schedulecosine, warmup 10%
Train steps1094
Final train loss~0.57
Finished2026-06-09

Eval (EvalScope, release_latest / AIME)

Benchmarkpass@1Config
LiveCodeBench36.06%t=0.6, p=0.95, max_tokens=16384
AIME2416.67%same sampling, max_tokens=16384
AIME253.33%same sampling, max_tokens=16384

Usage

HuggingFace Transformers

python
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "modrill/qwen3-4b-think-s1-full-sft"
tok = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    model_id, trust_remote_code=True, torch_dtype="auto", device_map="auto"
)

vLLM

bash
python -m vllm.entrypoints.openai.api_server \
  --model modrill/qwen3-4b-think-s1-full-sft \
  --served-model-name think-s1 \
  --max-model-len 32768 \
  --port 8801

Inference tips

  • —Use Qwen3 chat template with thinking enabled
  • —Recommended eval max_tokens: 16384 (matches training cutoff)
  • —Sampling: temperature=0.6, topp=0.95, topk=20

License

Apache 2.0, consistent with the Qwen3 base model license.