Downloads · 30 days
6
10% of all-time downloads
GurkanOz/qwen3-8b-tool-recovery
qwen3-8b-tool-recovery is a text generation model from GurkanOz. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
Qwen3-8B fine-tuned for tool-failure recovery: when a tool/API call fails (server error, malformed response, timeout), this model detects the failure and takes corrective action — retries the call, switches to an alte…
Downloads · 30 days
6
10% of all-time downloads
All-time downloads
59
Public
Parameters
8.2B
16.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors16.4 GB · 100%
From the Hugging Face model README
Qwen3-8B fine-tuned for tool-failure recovery: when a tool/API call fails (server error, malformed response, timeout), this model detects the failure and takes corrective action — retries the call, switches to an alternative tool, asks the user a concrete question, or reports the failure honestly instead of hallucinating a result.
This is the research artifact behind the QUENCH study: "Do trained agentic skills survive 4-bit quantization?" Answer: yes — this model's recovery skill is statistically unchanged under NVFP4 (see table below). Quantized variants: NVFP4 · FP8-dynamic.
Recovery Rate (RR) = share of injected-failure trials with full recovery (0–3 rubric, scored 3 by GLM-5.2 judge; 60 BFCL v3 tasks × 3 failure types; task-level bootstrap 95% CI). Both variants quantized with the same llm-compressor recipe (no cross-recipe confound).
| RR % | BF16 | FP8-dynamic | NVFP4 |
|---|---|---|---|
| Qwen3-8B (base) | 17.8 (12.8–22.8) | 18.9 | 20.0 |
| this model | 65.6 (57.2–73.9) | 63.3 | 65.0 |
| Δ paired | +47.8 [+38.3,+57.2] | +44.4 | +45.0 |
<think> block normalized onto every assistant turn (enable_thinking=False asymmetry between training render and inference prefill otherwise silently breaks tool-calling in Qwen3 SFT).vllm serve GurkanOz/qwen3-8b-tool-recovery \
--enable-auto-tool-choice --tool-call-parser hermes
Use with chat_template_kwargs: {"enable_thinking": false} and OpenAI-style tools. On tool errors, return the error payload as the tool result — the model will retry/switch/ask instead of hallucinating.
Research artifact, not a production assistant. English-only training data across 8 synthetic tool domains; single seed; evaluated on BFCL single-turn tasks with injected failures. The retry environment used for evaluation returns synthetic success payloads. Inherits Qwen3-8B's base limitations and license (Apache-2.0).
@misc{ozkan2026quench,
title = {QUENCH: Trained Agentic Skills Survive 4-Bit Quantization},
author = {Özkan, Gürkan},
year = {2026},
url = {https://huggingface.co/GurkanOz/qwen3-8b-tool-recovery}
}