Qwen3.5-0.8B Tool Calling: Supervised Distillation
This checkpoint starts from stock Qwen3.5-0.8B and learns from one saved, verified successful Qwen3.5-4B answer for each selected prompt. This is supervised sequence-level knowledge distillation using hard teacher answers, not soft-logit distillation.
Training
- Full text-model fine-tuning; no LoRA.
- 1,477 prompts, three epochs, effective batch size 16, microbatch one, 279 optimizer updates.
- Learning rate 2e-5; AdamW betas (0.9, 0.95), epsilon 1e-8, weight decay 0.01.
- Cosine schedule with nine warmup steps (3%), gradient clipping 1.0, seed 42.
- Assistant-response cross-entropy only, averaging tokens within each example and then examples within the batch.
- FP32 weights and optimizer with BF16 autocast, gradient checkpointing, no packing.
- Thinking disabled; max sequence length 16,384; no training examples were truncated.
- The released checkpoint is epoch three, selected in advance rather than chosen using BFCL scores.
- Targets were regraded; failed and truncated teacher responses were excluded from target selection.
BFCL sample scores were 71.60%, 71.00%, and 72.40% (mean 71.67%).
Data
Training used 1,477 selected single-turn tool-calling prompts derived from xLAM and ToolACE: 541 xLAM call examples, 511 ToolACE call examples, and 425 ToolACE no-call examples (28.77%). Teacher consistency filtering required at least two successes in three fresh attempts. The final pool also contains additional teacher-consistent no-call prompts that were not required to be student failures. A separate 325-example local held-out split was excluded from training selection. Training prompts were checked for duplicate IDs, exact input duplicates, and exact query overlap with the reserved BFCL single-turn set; semantic overlap and pretraining contamination are not ruled out.
Evaluation
Results use a frozen random sample of 500 BFCL single-turn examples, including 150 no-call examples, with three sampled attempts per example.
Official BFCL AST/relevance checkers were used at revision 6ea57973c7a6097fd7c5915698c54c17c5b1b6c8.
These are sample microaccuracy results, not a full BFCL-V4 score.
This sample has been used during experiment development and is not an untouched final test set.
| Model | Mean accuracy | No-call accuracy |
|---|---|---|
| Stock Qwen3.5-0.8B | 57.80% | 79.11% |
| One-epoch OPD checkpoint | 71.07% | 81.11% |
| Three-epoch supervised checkpoint | 71.67% | 87.56% |
The OPD and supervised scores differ by only nine correct responses out of 1,500 attempts, and this does not establish a reliable method ranking.
Generation settings were thinking disabled, max output 1,024 tokens, temperature 0.6, top-p 0.95, top-k 20, context 16,384, and eight concurrent requests.
The sample SHA-256 is 6f7819c4d3096011472d1726df393e365ac3deb89fe9666ab338f3e3cea92601.
Detailed per-run and category results are included in evaluation_summary.json.
Serving
This checkpoint was trained and evaluated for text tool calling; multimodal use has not been validated.
It is a full checkpoint, not a LoRA adapter.
The checkpoint was evaluated using vLLM 0.31.0, the Qwen3 reasoning parser, the qwen3_coder tool-call parser, and the explicit shared student_template.jinja provided here.
Use the same template and disable thinking when reproducing the results.
After downloading this repository, serve its local directory with:
vllm serve /path/to/downloaded/model \
--language-model-only --dtype bfloat16 --max-model-len 16384 \
--enable-auto-tool-choice --tool-call-parser qwen3_coder \
--reasoning-parser qwen3 \
--chat-template /path/to/downloaded/model/student_template.jinja
Send OpenAI-compatible chat-completion requests with tools, max_tokens: 1024, and chat_template_kwargs: {"enable_thinking": false}.
The exported model configuration and tokenizer are included.
Limitations and provenance
This is an experimental specialization for single-turn tool calls; multi-turn, agentic, general reasoning, and multimodal quality have not been established.
Tool calls can be incorrect and should be validated before execution.
Training and evaluation hyperparameters differ between the two distillation methods, so this is not a controlled isolation of the loss function.
The base model is Qwen/Qwen3.5-0.8B, and the frozen teacher was Qwen/Qwen3.5-4B.
Dataset sources are Salesforce/xlam-function-calling-60k and Team-ACE/ToolACE.
The base model's Apache 2.0 license is retained in LICENSE, and this checkpoint contains modifications from fine-tuning.
No raw training data, credentials, or optimizer states are included in this release.