sft_qwen3_0_6b_nemotron-terminal-corpus-20261011
Full fine-tune of Qwen/Qwen3-0.6B on the terminal-agent trajectories of nvidia/Nemotron-Terminal-Corpus (dataset_adapters; DeepSeek-V3.2 terminus-2 trajectories with thinking).
Training data
A seeded random sample of 100,000 conversations (seed 0). Each conversation is expanded into one example per assistant turn: the messages up to and including that turn, with the loss on that turn's thinking and response only. Earlier turns are context, and their thinking is stripped, as the Qwen3 chat template does at inference. Examples longer than 16,384 tokens are dropped (not truncated).
Training
- Trainer: LLaMA-Factory (upstream, commit
ce9dc9e0), templateqwen3,mask_history, full fine-tuning, fp32 master weights with bf16 autocast, Liger kernels, batches grouped by length - Learning rate 2e-5, cosine schedule, warmup ratio 0.03, 1 epoch(s), 24085 steps
- Batch size: 4 per device x 2 accumulation x 4 GPUs
Results
- Mean training loss: 0.6442
- Validation loss (1,000 random held-out per-turn examples, not split by conversation, so somewhat optimistic): 0.5938
Notes
- The weights are saved in float32; load with
torch_dtype=torch.bfloat16(vLLM:--dtype bfloat16) to match Qwen3's usual precision. - Base model: Qwen3-0.6B (Apache-2.0). Training data: Nemotron-Terminal-Corpus (CC-BY-4.0). Check both licenses before reuse.