TIR-Qwen3.5-4B-NonThinking
This is a full-parameter supervised fine-tune of Qwen/Qwen3.5-4B for direct-response multimodal tool-integrated reasoning. It was trained without assistant <think> blocks and with a strict 32,768-token training length.
The checkpoint is in standard Hugging Face Transformers format and can be served with recent vLLM or Transformers releases that support Qwen3.5.
TIR-Bench results
Evaluation used the full 1,215-example, 13-task TIR-Bench suite in agent mode with a Python sandbox, no task-specific prompts, rule-based scoring, a 32,768-token context window, and up to 12,768 generated tokens. Thinking was disabled through the chat template. Missing/error outputs remain in the denominator.
| Task | Correct | Total | Accuracy | Errors |
|---|---|---|---|---|
| color | 31 | 100 | 31.00% | 7 |
| contrast | 13 | 50 | 26.00% | 0 |
| instrument | 10 | 80 | 12.50% | 5 |
| jigsaw | 2 | 120 | 1.67% | 0 |
| math | 25 | 120 | 20.83% | 4 |
| maze | 63 | 120 | 52.50% | 2 |
| ocr | 26 | 60 | 43.33% | 0 |
| refcoco | 37 | 120 | 30.83% | 6 |
| rotation_game | 13 | 75 | 17.33% | 13 |
| spot_difference | 0 | 100 | 0.00% | 4 |
| symbolic | 38 | 50 | 76.00% | 0 |
| visual_search | 55 | 120 | 45.83% | 5 |
| word_search | 50 | 100 | 50.00% | 3 |
| Overall | 363 | 1,215 | 29.88% | 49 |
Machine-readable aggregate files and per-task reports are under results/.
Training data
The 27,289-row non-thinking mixture contains:
| Component | Rows | Notes |
|---|---|---|
| AgenticData true-multiturn SFT | 4,561 | reconstructed multimodal agent trajectories |
| CodeDance SFT | 13,828 | multimodal tool-use examples |
| Cotrain attachment | 2,200 | jigsaw 1,200; spot difference 1,000 |
| TIR synthetic attachment | 6,700 | all 13 benchmark task families |
The final file contains no assistant <think> blocks, no duplicate rows, and no image-placeholder mismatches. Its SHA-256 is 4c7ff8688da222b32eec5ce68c0e1f47fa4d1952dd89c53ea7cf5a30db641b2e. See TRAINING_DATA.md for provenance and reconstruction caveats.
Inference
Install a recent vLLM build with Qwen3.5 support, then serve the private repository with your Hugging Face token available in HF_TOKEN:
vllm serve HEART77/TIR-Qwen3.5-4B-NonThinking \
--port 8000 \
--max-model-len 32768 \
--reasoning-parser qwen3
In another shell:
pip install openai
python inference.py --image /path/to/image.png --prompt "Describe the image and solve the problem."
inference.py also accepts text-only prompts when --image is omitted. It explicitly sends chat_template_kwargs={"enable_thinking": false}.
Training configuration
- Full-parameter SFT with ms-swift/Megatron
- Base model:
Qwen/Qwen3.5-4B - Maximum training length: 32,768
- Epochs: 1
- Global batch size: 64
- Micro batch size: 1
- Tensor parallel size: 2
- Pipeline parallel size: 1
- Vision tower and aligner frozen; language model trainable
- Final optimizer step/checkpoint: 426
- Weight dtype: bfloat16
The exported args.json records the complete training arguments.
Limitations
This model is specialized for the training mixture and has not been comprehensively evaluated for general-purpose safety, factuality, multilingual quality, or out-of-domain robustness. Tool execution must be sandboxed; never execute model-generated code directly in a trusted environment.