Release status: public experimental converted adapter release.
This is an experimental PEFT-format conversion of the public MLX LoRA adapter
edithatogo/qwen3-4b-hermes-lora. It is intended to make the Qwen3 v4 strict
Hermes tool-call adapter usable from CUDA/Hugging Face tooling such as
transformers, peft, and lm-evaluation-harness.
The PEFT base model is:
Qwen/Qwen3-4B
Source MLX adapter repo:
https://huggingface.co/edithatogo/qwen3-4b-hermes-lora
Converted PEFT adapter repo:
https://huggingface.co/edithatogo/qwen3-4b-hermes-lora-peft-converted
The adapter is intended for local evaluation and agent-runtime packaging. It requires the recorded runtime prompt condition:
/no_think<think>\n\n</think>\n\nWithout the assistant prefill, the model still emits an empty leading thinking wrapper and does not satisfy the strict raw-output gate.
Qwen/Qwen3-4BQwen/Qwen3-4B-MLX-4bitgemma4/experiments/qwen3-4b-strict-toolcall-v4-targeted/lora_adapterscripts/convert_mlx_lora_to_peft.pyreports/cloud/qwen3-v4-mlx-to-peft-conversion-20260613.mdq_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_projgemma4/scripts/train_config.qwen3-4b.strict-toolcall-v4-targeted.yamlgemma4/data/strict_tool_call/expanded_splits_v4_targetedgemma4/experiments/qwen3-4b-strict-toolcall-v4-targeted/lora_adapterreports/publication/qwen3-4b-strict-toolcall-v4-targeted/dataset-token-audit.jsonreports/publication/qwen3-4b-strict-toolcall-v4-targeted/dataset-overlap-audit.jsonPEFT conversion checks:
| Check | Status |
|---|---|
| Static PEFT config load | pass |
| Colab T4 4-bit PEFT load smoke | pass |
Colab T4 lm_eval[hf] selected task route, limit 5 |
pass |
Full no-limit lm_eval scorecard |
blocked by Colab session pruning |
Bounded lm_eval route pilot on Colab T4:
| Task | Metric | Value | Samples |
|---|---|---|---|
arc_challenge |
acc_norm |
0.2000 | 5 |
hellaswag |
acc_norm |
0.6000 | 5 |
truthfulqa_mc2 |
acc |
0.5166 | 5 |
gsm8k |
exact_match,strict-match |
0.8000 | 5 |
winogrande |
acc |
0.4000 | 5 |
These are route-pilot scores only and must not be used as no-limit benchmark claims.
Held-out strict local tool-call gate:
| Suite | Pass | JSON valid | Arguments | Invalid tool | Multi-turn |
|---|---|---|---|---|---|
benchmarks/tool_call_local/heldout_suite.json |
1.000 | 1.000 | 1.000 | 1.000 | 1.000 |
Mirrored regression:
| Suite | Pass |
|---|---|
benchmarks/tool_call_local/suite.json |
1.000 |
Repo-native pilot benchmarks:
| Pilot | Pass | Notes |
|---|---|---|
| BFCL-style pilot | 0.667 | local pilot only, not official BFCL |
| IFEval-style pilot | 0.667 | local pilot only, not official IFEval |
| Coding sanity pilot | 1.000 | local pilot only, not HumanEval/MBPP |
Exact held-out command:
source scripts/env.sh
PYTHONPATH=scripts ./.venv/bin/python scripts/run_tool_call_benchmark.py \
--model Qwen/Qwen3-4B-MLX-4bit \
--adapter gemma4/experiments/qwen3-4b-strict-toolcall-v4-targeted/lora_adapter \
--suite benchmarks/tool_call_local/heldout_suite.json \
--user-prefix /no_think \
--assistant-prefill $'<think>\n\n</think>\n\n' \
--run-id qwen3-4b-strict-toolcall-v4-targeted-heldout-prefill-20260525 \
--max-tokens 256
Raw local artifact:
/Volumes/PortableSSD/hermes-evals/tool-call-benchmark/qwen3-4b-strict-toolcall-v4-targeted-heldout-prefill-20260525
The reusable runtime prompt contract is recorded in
RUNTIME_PROMPT_PROFILES.yaml as qwen3-no-think-assistant-prefill.
lm_eval
pilot, but no full no-limit lm_eval scorecard yet.lm_eval endpoint route was attempted separately, but the current
local MLX endpoint is not loglikelihood-compatible for those tasks. A direct
MLX adapter has scored bounded selected-task limit-10 and limit-25 runs; treat
those as pilot evidence only, not as full official lm_eval or leaderboard
scores.notify_care_team.https://huggingface.co/datasets/edithatogo/qwen3-hermes-strict-toolcall-synthetic-v4.release-decision.md; the publication
bundle is expected to pass scripts/validate_publication_bundle.py --require-ready.Public repository with anonymous access. Public availability does not itself establish source reuse permission or completeness.
This pass reviewed repository metadata and the published artifact inventory only. It did not execute model weights, reproduce training or revalidate reported benchmark scores. Existing base-model, prompt, experimental and synthetic-smoke limitations remain authoritative.
The asset inventory was checked at revision 97c969fdcc92e7b25eb79f57e12d87a5da1761ee. Counts/status in source receipts apply to those editions and runs, not all upstream sources. Snapshots, candidates, fixtures and metadata-only products must not be represented as complete released datasets or clinically/operationally validated products.
Start with adapter_config.json.
For reproducible use, record this repository identifier, pinned revision and relevant manifest/object hashes, plus the upstream source and required attribution. Use hf_hub_download with an explicit revision and repo_type="model" for individual assets; verify published checksums before transformation. Code licences do not override source-document, base-model or third-party rights. Where a dataset-wide licence is not established, license: other means inspect the recorded source terms and do not assume a new grant.
Report metadata or integrity concerns through this repository's Community tab or its identified source-project tracker, with revision/path/hash. Do not disclose sensitive payloads or private access details publicly. This metadata maintenance does not authorise model deployment, new data release, medical decisions or source-rights changes.
Qwen/Qwen3-4B