thunquant jica98 commited on
Commit
cc99df6
·
0 Parent(s):

Duplicate from jica98/qwen3.5-4B-super-coder

Browse files

Co-authored-by: Jishnu Raj <jica98@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ qwen3.5-4B-super-coder.Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
38
+ qwen3.5-4B-super-coder.BF16-mmproj.gguf filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen3.5-4B
3
+ tags:
4
+ - coding
5
+ - tool-calling
6
+ - gguf
7
+ - unsloth
8
+ - llama-cpp
9
+ - thinking-mode
10
+ - Gated-DeltaNet
11
+ - mobile-fit
12
+ licence: apache-2.0
13
+ pipeline_tag: text-generation
14
+ ---
15
+
16
+ # qwen3.5-4B-super-coder (Q_4.0 GGUF)
17
+
18
+ `qwen3.5-4B-super-coder` is a 4-bit quantized GGUF model optimized for fast, reliable coding, structured tool calling, and active reasoning (thinking mode) on consumer/mobile hardware. It is distilled from Claude Sonnet 4.6 & Opus 4.6, and merged/quantized using Unsloth.
19
+
20
+ ## Model Summary & Architecture
21
+
22
+ - **Base Model**: `Qwen/Qwen3.5-4B`
23
+ - **Format**: GGUF (Q_4.0 Quantization)
24
+ - **Size**: ~2.6 GB
25
+ - **Context Window**: 32K (optimized for mobile RAM budgets, natively supports up to 262K/1M context via YaRN)
26
+ - **Key Architectural Advantage**: The base `Qwen3.5-4B` model uses a hybrid architecture combining **Gated DeltaNet** (3 layers) and **Full Attention** (1 layer) repeating. Since only 8 of the 32 layers store a full KV cache, the KV cache footprint is incredibly small (~0.4GB for 32K context), making it exceptionally well-suited for high-context coding on mobile devices (e.g., iPhone 15 Pro+, flagship Android, iPad Pro).
27
+
28
+ ## Distillation & Training Procedure
29
+
30
+ This model was trained using a staged Supervised Fine-Tuning (SFT) pipeline to systematically inject reasoning capability, coding specialization, and tool-calling precision:
31
+
32
+ ```
33
+ ┌──────────────────────────────────────────┐
34
+ │ Phase A: │
35
+ │ General Distillation (Claude Style) │
36
+ │ Dataset: Claude-Distills (140K) │
37
+ └────────────────────┬─────────────────────┘
38
+
39
+
40
+ ┌──────────────────────────────────────────┐
41
+ │ Phase B: │
42
+ │ Specialization (Coding & Tool Calling) │
43
+ │ Dataset: Curated Replay Mix (77K) │
44
+ └────────────────────┬─────────────────────┘
45
+
46
+
47
+ ┌──────────────────────────────────────────┐
48
+ │ Phase C: │
49
+ │ Tool Precision & Schema Conformance │
50
+ │ Dataset: Tool-focused Mix (~20K) │
51
+ └──────────────────────────────────────────┘
52
+ ```
53
+
54
+ 1. **Phase 1: Distillation (Claude Behavior)**
55
+ - **Dataset**: `clzoro/Claude-Distills` (140K samples; Sonnet 4.6 + Opus 4.6).
56
+ - **Objective**: Transfer general instruction-following, Claude-like formatting/tone, and reasoning capabilities. The Opus subset (21K samples) provided the crucial `<think>` block traces to establish thinking capabilities.
57
+ 2. **Phase 2: Specialization (Coding & Tools)**
58
+ - **Dataset**: Curated 77K sample mix (55K coding instructions, 13K tool calling, and 9K general anti-forgetting replay samples).
59
+ - **Objective**: Specialize the model on coding accuracy across Python, JS, Shell, etc., and introduce structured tool-calling.
60
+ 3. **Phase 3: Tool Precision**
61
+ - **Dataset**: Focused tool-calling dataset (~20K samples) with schema variations, neg/no-tool examples, and strict JSON format targets.
62
+ - **Objective**: Ensure precise JSON schema conformance and reduce tool false-positives.
63
+ 4. **Phase 4: Coding/Tool Specialization Continuation**
64
+ - **Starting point**: `jica98/qwen3.5-4b-claude-distill-lora` Phase 3 LoRA.
65
+ - **Output adapter**: `qwen3.5-4b-phase4-specialize-lora`.
66
+ - **Training mix**: local filtered coding/tool data from `filtered_dataset/train.jsonl`, Claude distillation replay from `data/claude_distill.jsonl`, and an Opus replay slice to retain visible reasoning behavior.
67
+ - **Objective**: Continue the distilled LoRA into a stronger coding/tool-specialized adapter while preserving anti-forgetting replay.
68
+ - **Default recipe**: 1024 max sequence length, batch size 1, gradient accumulation 8, learning rate `1e-4`, 1 epoch, checkpointing every 200 steps.
69
+
70
+ ## Phase 5 Fable Reasoning Fine-Tune
71
+
72
+ The latest adapter was further fine-tuned for Fable reasoning and agentic coding traces after the Phase 4 specialization pass.
73
+
74
+ Phase 5 training data:
75
+ - `kelexine/fable-5-sft-traces` for cleaned Fable reasoning/SFT traces.
76
+ - `armand0e/claude-fable-5-claude-code` for raw Claude/Fable-5 agent traces.
77
+ - `victor/fable-5-boeing-747-trace` for the Boeing 747 Claude Code/Fable-5 trace.
78
+
79
+ Training summary:
80
+ - Starting point: `qwen3.5-4b-phase4-specialize-lora`.
81
+ - Output adapter: `qwen3.5-4b-phase5-fable-lora`.
82
+ - After dedupe/sample in the recorded run: 4,721 examples.
83
+ - After max-length filtering at 4096 tokens: 4,267 examples.
84
+ - Default recipe: batch size 1, gradient accumulation 8, learning rate `5e-5`, 1 epoch, BF16, `adamw_8bit`.
85
+
86
+ The Phase 5 data loader normalizes traces into Qwen chat-template text, groups raw Claude event logs into session conversations, deduplicates samples, filters by token length, and skips checkpoint artifacts during Hub upload by default.
87
+
88
+ ## Strengths & What It Is Good At
89
+
90
+ - 💻 **Conversational Programming**: Excel at writing clean, efficient, and well-commented code in Python, C++, Rust, JavaScript, Shell, and more.
91
+ - 🧠 **Visible Reasoning (Thinking Mode)**: When faced with complex reasoning or coding tasks, the model engages a `<think>...</think>` block to outline its plan before writing code.
92
+ - 🛠️ **Reliable Tool Calling**: Specially tuned to parse and output valid JSON tool parameters conforming to provided function schemas.
93
+ - 📱 **Mobile & Edge Execution**: With a weight footprint of ~2.6GB and extremely low KV cache overhead, it fits comfortably on 8GB+ RAM edge devices.
94
+
95
+ ## Recommended Inference Settings
96
+
97
+ For the best balance of reasoning depth and formatting precision, use the following generation parameters:
98
+
99
+ - **Temperature**: `0.6`
100
+ - **Top-P**: `0.95`
101
+ - **Top-K**: `20`
102
+ - **Min-P**: `0.0`
103
+ - **Flash Attention**: Enable `-fa` in llama.cpp/llama-cli for optimal speeds.
104
+ - **System Prompt**: Set system prompt to guide the assistant (e.g. `You are a helpful coding assistant.`).
105
+
106
+
107
+ ## Benchmark Results (Q4_0 GGUF via LM Studio)
108
+
109
+ Benchmark run against GGUF Q4_0 quant served through LM Studio on consumer AMD ROCm hardware. Results file: [`benchmark/lmstudio_q4_benchmark/benchmark_report.md`](https://huggingface.co/jica98/qwen3.5-4B-super-coder/blob/main/benchmark/lmstudio_q4_benchmark/benchmark_report.md)
110
+
111
+ | Benchmark | Score | Status |
112
+ |---|---|---|
113
+ | HumanEval+ Pass@1 | 0.00 | ok |
114
+ | MBPP+ Pass@1 | 0.00 | ok |
115
+ | BigCodeBench-Hard | — | needs_review |
116
+ | LiveCodeBench v6 | — | not_run |
117
+ | BFCL v4 | — | needs_review |
118
+ | IFEval | — | needs_review |
119
+ | MMLU-Pro | — | needs_review |
120
+ | JSON validity | 40.00% | ok |
121
+ | No-tool accuracy | 87.50% | ok |
122
+
123
+ **Notes:**
124
+ - Several benchmarks require environment setup that wasn't completed (IFEval, MMLU-Pro, BFCL, BigCodeBench-Hard).
125
+ - HumanEval+ and MBPP+ scored 0.00 — the Q4_0 quant may degrade code generation significantly; evaluation with the BF16 base is needed for comparison.
126
+ - JSON validity and No-tool accuracy are custom deterministic diagnostics.
adapter_config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "Qwen3_5ForConditionalGeneration",
7
+ "parent_library": "transformers.models.qwen3_5.modeling_qwen3_5",
8
+ "unsloth_fixed": true
9
+ },
10
+ "base_model_name_or_path": "unsloth/Qwen3.5-4B",
11
+ "bias": "none",
12
+ "corda_config": null,
13
+ "ensure_weight_tying": false,
14
+ "eva_config": null,
15
+ "exclude_modules": null,
16
+ "fan_in_fan_out": false,
17
+ "inference_mode": true,
18
+ "init_lora_weights": true,
19
+ "layer_replication": null,
20
+ "layers_pattern": null,
21
+ "layers_to_transform": null,
22
+ "loftq_config": {},
23
+ "lora_alpha": 32,
24
+ "lora_bias": false,
25
+ "lora_dropout": 0.0,
26
+ "lora_ga_config": null,
27
+ "megatron_config": null,
28
+ "megatron_core": "megatron.core",
29
+ "modules_to_save": null,
30
+ "peft_type": "LORA",
31
+ "peft_version": "0.19.1",
32
+ "qalora_group_size": 16,
33
+ "r": 16,
34
+ "rank_pattern": {},
35
+ "revision": null,
36
+ "target_modules": [
37
+ "down_proj",
38
+ "gate_proj",
39
+ "q_proj",
40
+ "v_proj",
41
+ "up_proj",
42
+ "k_proj",
43
+ "o_proj"
44
+ ],
45
+ "target_parameters": null,
46
+ "task_type": "CAUSAL_LM",
47
+ "trainable_token_indices": null,
48
+ "use_bdlora": null,
49
+ "use_dora": false,
50
+ "use_qalora": false,
51
+ "use_rslora": false
52
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85fe4607a6ed26349f8bde53023b41804d4788dc0fb0f15a3febc907d4dc7a2a
3
+ size 84972248
benchmark/lmstudio_q4_benchmark/benchmark_report.md ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Phase-5 Q4_0 LM Studio Benchmark Report
2
+
3
+ - Generated: `2026-06-27T15:00:25+05:30`
4
+ - Endpoint: `http://127.0.0.1:1234/v1`
5
+ - Served model identifier: `qwen3.5-4b-super-coder`
6
+ - Decoding: greedy / temperature 0 unless an official framework overrides it
7
+
8
+ | Benchmark | Official base | Parent base | Phase-5 BF16 | Phase-5 Q4_0 | Delta vs parent | Status |
9
+ |---|---:|---:|---:|---:|---:|---|
10
+ | HumanEval+ Pass@1 | — | — | — | 0.00 | — | ok |
11
+ | MBPP+ Pass@1 | — | — | — | 0.00 | — | ok |
12
+ | BigCodeBench-Hard | — | — | — | — | — | needs_review |
13
+ | LiveCodeBench v6 | — | — | — | — | — | not_run |
14
+ | BFCL v4 | — | — | — | — | — | needs_review |
15
+ | IFEval | — | — | — | — | — | needs_review |
16
+ | MMLU-Pro | — | — | — | — | — | needs_review |
17
+ | JSON validity | — | — | — | 40.00 | — | ok |
18
+ | No-tool accuracy | — | — | — | 87.50 | — | ok |
19
+
20
+ ## Metric provenance
21
+
22
+ HumanEval+, MBPP+, BigCodeBench-Hard, BFCL, IFEval and MMLU-Pro are run through their official frameworks. LiveCodeBench uses its official release-v6 dataset and evaluator, with a generic OpenAI-chat generation prompt because the custom LM Studio model is not registered in LiveCodeBench's model-style table. JSON validity and No-tool accuracy are custom deterministic diagnostics.
23
+
24
+ ### HumanEval+ Pass@1
25
+
26
+ - Score: **0.00**
27
+ - Metric: Pass@1
28
+ - Source: Official EvalPlus
29
+ - Status: `ok`
30
+ - Details: `{"parsed_from": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/evalplus/humaneval/evalplus_results/humaneval/qwen3.5-4b-super-coder_openai_temp_0.0_eval_results.json", "json_key": "eval.HumanEval/22.0.plus_fail_tests.0.0.3", "raw_value": 0, "pattern_matches": 1, "command": {"name": "evalplus_humaneval", "command": ["/home/jica/repo/rocm_unsloth/benchmark/.benchmark_envs/evalplus/bin/evalplus.evaluate", "--model", "qwen3.5-4b-super-coder", "--dataset", "humaneval", "--backend", "openai", "--base-url", "http://127.0.0.1:1234/v1", "--greedy"], "returncode": 0, "elapsed_seconds": 1646.0040039900014, "log_path": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/logs/evalplus_humaneval.log", "cwd": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/evalplus/humaneval"}}`
31
+
32
+ ### MBPP+ Pass@1
33
+
34
+ - Score: **0.00**
35
+ - Metric: Pass@1
36
+ - Source: Official EvalPlus
37
+ - Status: `ok`
38
+ - Details: `{"parsed_from": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/evalplus/mbpp/evalplus_results/mbpp/qwen3.5-4b-super-coder_openai_temp_0.0_eval_results.json", "json_key": "eval.Mbpp/6.0.plus_fail_tests.0.0", "raw_value": 0, "pattern_matches": 1, "command": {"name": "evalplus_mbpp", "command": ["/home/jica/repo/rocm_unsloth/benchmark/.benchmark_envs/evalplus/bin/evalplus.evaluate", "--model", "qwen3.5-4b-super-coder", "--dataset", "mbpp", "--backend", "openai", "--base-url", "http://127.0.0.1:1234/v1", "--greedy"], "returncode": 0, "elapsed_seconds": 3226.43256972, "log_path": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/logs/evalplus_mbpp.log", "cwd": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/evalplus/mbpp"}}`
39
+
40
+ ### BigCodeBench-Hard
41
+
42
+ - Score: **—**
43
+ - Metric: Calibrated Pass@1
44
+ - Source: Official BigCodeBench
45
+ - Status: `needs_review`
46
+ - Details: `{"command": {"name": "bigcodebench_hard", "command": ["/home/jica/repo/rocm_unsloth/benchmark/.benchmark_envs/bigcodebench/bin/bigcodebench.evaluate", "--model", "qwen3.5-4b-super-coder", "--execution", "gradio", "--split", "instruct", "--subset", "hard", "--backend", "openai", "--base_url", "http://127.0.0.1:1234/v1", "--bs", "1", "--n_samples", "1", "--temperature", "0.0", "--greedy", "--pass_k", "1", "--root", "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/bigcodebench/bcb_results"], "returncode": 1, "elapsed_seconds": 1760.3364485260026, "log_path": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/logs/bigcodebench_hard.log", "cwd": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/bigcodebench"}, "execution_backend": "gradio"}`
47
+
48
+ ### BFCL v4
49
+
50
+ - Score: **—**
51
+ - Metric: Overall accuracy for selected categories
52
+ - Source: Official BFCL
53
+ - Status: `needs_review`
54
+ - Details: `{"categories": "all_scoring", "generation_command": {"name": "bfcl_v4_generate", "command": ["/home/jica/repo/rocm_unsloth/benchmark/.benchmark_envs/bfcl/bin/bfcl", "generate", "--model", "Qwen/Qwen3-4B-Instruct-2507-FC", "--test-category", "all_scoring", "--skip-server-setup", "--num-threads", "1", "--result-dir", "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/bfcl/project/result"], "returncode": 1, "elapsed_seconds": 2.7761374679976143, "log_path": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/logs/bfcl_v4_generate.log", "cwd": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/bfcl"}, "evaluation_command": {"name": "bfcl_v4_evaluate", "command": ["/home/jica/repo/rocm_unsloth/benchmark/.benchmark_envs/bfcl/bin/bfcl", "evaluate", "--model", "Qwen/Qwen3-4B-Instruct-2507-FC", "--test-category", "all_scoring", "--result-dir", "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/bfcl/project/result", "--score-dir", "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/bfcl/project/score"], "returncode": 1, "elapsed_seconds": 2.4078060280007776, "log_path": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/logs/bfcl_v4_evaluate.log", "cwd": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/bfcl"}, "served_alias": "Qwen/Qwen3-4B-Instruct-2507-FC"}`
55
+
56
+ ### BFCL no-tool/relevance
57
+
58
+ - Score: **—**
59
+ - Metric: BFCL irrelevance/relevance detection
60
+ - Source: Official BFCL
61
+ - Status: `not_available`
62
+ - Details: `{}`
63
+
64
+ ### IFEval
65
+
66
+ - Score: **—**
67
+ - Metric: Prompt-level strict accuracy
68
+ - Source: LM Evaluation Harness
69
+ - Status: `needs_review`
70
+ - Details: `{"command": {"name": "lm_eval_ifeval", "command": ["/home/jica/repo/rocm_unsloth/benchmark/.benchmark_envs/lm_eval/bin/lm_eval", "--model", "local-chat-completions", "--model_args", "model=qwen3.5-4b-super-coder,base_url=http://127.0.0.1:1234/v1/chat/completions,num_concurrent=1,max_retries=4,tokenized_requests=False,batch_size=1", "--tasks", "ifeval", "--batch_size", "1", "--log_samples", "--output_path", "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/lm_eval/ifeval/results"], "returncode": 1, "elapsed_seconds": 5.503946738001105, "log_path": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/logs/lm_eval_ifeval.log", "cwd": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/lm_eval/ifeval"}}`
71
+
72
+ ### MMLU-Pro
73
+
74
+ - Score: **—**
75
+ - Metric: Accuracy
76
+ - Source: LM Evaluation Harness
77
+ - Status: `needs_review`
78
+ - Details: `{"command": {"name": "lm_eval_mmlu_pro", "command": ["/home/jica/repo/rocm_unsloth/benchmark/.benchmark_envs/lm_eval/bin/lm_eval", "--model", "local-chat-completions", "--model_args", "model=qwen3.5-4b-super-coder,base_url=http://127.0.0.1:1234/v1/chat/completions,num_concurrent=1,max_retries=4,tokenized_requests=False,batch_size=1", "--tasks", "mmlu_pro", "--batch_size", "1", "--log_samples", "--output_path", "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/lm_eval/mmlu_pro/results"], "returncode": 1, "elapsed_seconds": 4.813302385999123, "log_path": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/logs/lm_eval_mmlu_pro.log", "cwd": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/lm_eval/mmlu_pro"}}`
79
+
80
+ ### JSON validity
81
+
82
+ - Score: **40.00**
83
+ - Metric: Schema-valid JSON rate
84
+ - Source: Custom deterministic endpoint diagnostic
85
+ - Status: `ok`
86
+ - Details: `{"total": 30, "json_parse_rate_percent": 96.66666666666667, "schema_valid_rate_percent": 40.0, "responses": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/custom/json_validity/responses.json"}`
87
+
88
+ ### No-tool accuracy
89
+
90
+ - Score: **87.50**
91
+ - Metric: Correctly abstained from tool use
92
+ - Source: Custom deterministic native-tool diagnostic
93
+ - Status: `ok`
94
+ - Details: `{"correct": 35, "total": 40, "responses": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/custom/no_tool/responses.json"}`
95
+
96
+ ## Important interpretation notes
97
+
98
+ - Only the Q4_0 model served by LM Studio was evaluated. The other comparison columns intentionally remain blank.
99
+ - `Delta vs parent` cannot be calculated without a parent-model score.
100
+ - BFCL's score is for the categories passed through `--bfcl-categories`; check the details before comparing it to the public full-suite leaderboard.
101
+ - Generated code is untrusted. Use an isolated machine or container.
benchmark/lmstudio_q4_benchmark/benchmark_results.json ADDED
@@ -0,0 +1,1201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "generated_at": "2026-06-27T15:00:25+05:30",
4
+ "selected_benchmarks": [
5
+ "bfcl",
6
+ "bigcodebench",
7
+ "humaneval",
8
+ "ifeval",
9
+ "json_validity",
10
+ "livecodebench",
11
+ "mbpp",
12
+ "mmlu_pro",
13
+ "no_tool"
14
+ ],
15
+ "errors": [
16
+ {
17
+ "benchmark": "LiveCodeBench",
18
+ "error": "CalledProcessError: Command '['/home/jica/repo/rocm_unsloth/benchmark/.benchmark_envs/livecodebench/bin/python', '-c', \"\\nimport json\\nfrom datasets import load_dataset\\nds = load_dataset(\\n 'livecodebench/code_generation_lite',\\n split='test',\\n version_tag='release_v6',\\n trust_remote_code=True,\\n)\\nwith open('/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/livecodebench/livecodebench_dataset.json', 'w', encoding='utf-8') as f:\\n json.dump([dict(x) for x in ds], f, ensure_ascii=False)\\nprint(len(ds))\\n\"]' returned non-zero exit status 1.",
19
+ "traceback": "Traceback (most recent call last):\n File \"/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_full_benchmark.py\", line 1526, in guarded\n value = fn()\n ^^^^\n File \"/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_full_benchmark.py\", line 1594, in <lambda>\n lambda: run_livecodebench(\n ^^^^^^^^^^^^^^^^^^\n File \"/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_full_benchmark.py\", line 730, in run_livecodebench\n generation_details = generate_livecodebench_outputs(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_full_benchmark.py\", line 662, in generate_livecodebench_outputs\n subprocess.run([str(lcb_python), \"-c\", loader_code], check=True)\n File \"/usr/lib/python3.11/subprocess.py\", line 571, in run\n raise CalledProcessError(retcode, process.args,\nsubprocess.CalledProcessError: Command '['/home/jica/repo/rocm_unsloth/benchmark/.benchmark_envs/livecodebench/bin/python', '-c', \"\\nimport json\\nfrom datasets import load_dataset\\nds = load_dataset(\\n 'livecodebench/code_generation_lite',\\n split='test',\\n version_tag='release_v6',\\n trust_remote_code=True,\\n)\\nwith open('/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/livecodebench/livecodebench_dataset.json', 'w', encoding='utf-8') as f:\\n json.dump([dict(x) for x in ds], f, ensure_ascii=False)\\nprint(len(ds))\\n\"]' returned non-zero exit status 1.\n"
20
+ }
21
+ ],
22
+ "environment_versions": {
23
+ "script_version": "1.0.1",
24
+ "python": "3.11.14 (main, Nov 20 2025, 15:58:12) [GCC 15.2.1 20251112]",
25
+ "platform": "Linux-7.1.1-2-cachyos-x86_64-with-glibc2.43",
26
+ "bfcl": [
27
+ "aiohappyeyeballs==2.6.2",
28
+ "aiohttp==3.14.1",
29
+ "aiosignal==1.4.0",
30
+ "annotated-doc==0.0.4",
31
+ "annotated-types==0.7.0",
32
+ "anthropic==0.112.0",
33
+ "anyio==4.14.1",
34
+ "argcomplete==3.6.3",
35
+ "attrs==26.1.0",
36
+ "beautifulsoup4==4.15.0",
37
+ "bfcl_eval==2026.3.23",
38
+ "black==26.5.1",
39
+ "boto3==1.43.36",
40
+ "botocore==1.43.36",
41
+ "certifi==2026.6.17",
42
+ "cffi==2.0.0",
43
+ "charset-normalizer==3.4.7",
44
+ "click==8.4.2",
45
+ "cohere==5.18.0",
46
+ "cryptography==49.0.0",
47
+ "cuda-bindings==13.3.1",
48
+ "cuda-pathfinder==1.5.5",
49
+ "cuda-toolkit==13.0.2",
50
+ "dashscope==1.26.0",
51
+ "datamodel-code-generator==0.25.7",
52
+ "distro==1.9.0",
53
+ "dnspython==2.8.0",
54
+ "docstring_parser==0.18.0",
55
+ "dotenv==0.9.9",
56
+ "email-validator==2.3.0",
57
+ "eval_type_backport==0.4.0",
58
+ "faiss-cpu==1.11.0",
59
+ "fastavro==1.12.2",
60
+ "filelock==3.20.0",
61
+ "frozenlist==1.8.0",
62
+ "fsspec==2026.6.0",
63
+ "genson==1.3.0",
64
+ "google-auth==2.55.1",
65
+ "google-genai==2.10.0",
66
+ "google_search_results==2.4.2",
67
+ "h11==0.16.0",
68
+ "hf-xet==1.5.1",
69
+ "html2text==2025.4.15",
70
+ "httpcore==1.0.9",
71
+ "httpx==0.28.1",
72
+ "httpx-sse==0.4.0",
73
+ "huggingface_hub==1.21.0",
74
+ "idna==3.18",
75
+ "inflect==5.6.2",
76
+ "isort==5.13.2",
77
+ "Jinja2==3.1.6",
78
+ "jiter==0.15.0",
79
+ "jmespath==1.1.0",
80
+ "joblib==1.5.3",
81
+ "json5==0.15.0",
82
+ "jsonlines==4.0.0",
83
+ "jsonschema==4.26.0",
84
+ "jsonschema-specifications==2025.9.1",
85
+ "markdown-it-py==4.2.0",
86
+ "MarkupSafe==3.0.3",
87
+ "mdurl==0.1.2",
88
+ "mistralai==1.7.0",
89
+ "mpmath==1.3.0",
90
+ "multidict==6.7.1",
91
+ "mypy_extensions==1.1.0",
92
+ "narwhals==2.22.1",
93
+ "networkx==3.3",
94
+ "numpy==1.26.4",
95
+ "nvidia-cublas==13.1.1.3",
96
+ "nvidia-cuda-cupti==13.0.85",
97
+ "nvidia-cuda-nvrtc==13.0.88",
98
+ "nvidia-cuda-runtime==13.0.96",
99
+ "nvidia-cudnn-cu13==9.20.0.48",
100
+ "nvidia-cufft==12.0.0.61",
101
+ "nvidia-cufile==1.15.1.6",
102
+ "nvidia-curand==10.4.0.35",
103
+ "nvidia-cusolver==12.0.4.66",
104
+ "nvidia-cusparse==12.6.3.3",
105
+ "nvidia-cusparselt-cu13==0.8.1",
106
+ "nvidia-nccl-cu13==2.29.7",
107
+ "nvidia-nvjitlink==13.0.88",
108
+ "nvidia-nvshmem-cu13==3.4.5",
109
+ "nvidia-nvtx==13.0.85",
110
+ "openai==2.44.0",
111
+ "overrides==7.7.0",
112
+ "packaging==26.2",
113
+ "pandas==3.0.3",
114
+ "pathspec==1.1.1",
115
+ "pillow==12.2.0",
116
+ "platformdirs==4.10.0",
117
+ "propcache==0.5.2",
118
+ "pyasn1==0.6.3",
119
+ "pyasn1_modules==0.4.2",
120
+ "pycparser==3.0",
121
+ "pydantic==2.13.4",
122
+ "pydantic_core==2.46.4",
123
+ "Pygments==2.20.0",
124
+ "python-dateutil==2.9.0.post0",
125
+ "python-dotenv==1.2.2",
126
+ "pytokens==0.4.1",
127
+ "PyYAML==6.0.3",
128
+ "qwen-agent==0.0.34",
129
+ "rank-bm25==0.2.2",
130
+ "referencing==0.37.0",
131
+ "regex==2026.5.9",
132
+ "requests==2.34.2",
133
+ "rich==15.0.0",
134
+ "rpds-py==2026.5.1",
135
+ "s3transfer==0.19.0",
136
+ "safetensors==0.8.0",
137
+ "scikit-learn==1.9.0",
138
+ "scipy==1.17.1",
139
+ "sentence-transformers==5.6.0",
140
+ "shellingham==1.5.4",
141
+ "six==1.17.0",
142
+ "sniffio==1.3.1",
143
+ "soupsieve==2.8.4",
144
+ "sympy==1.14.0",
145
+ "tabulate==0.10.0",
146
+ "tenacity==9.1.4",
147
+ "threadpoolctl==3.6.0",
148
+ "tiktoken==0.13.0",
149
+ "tokenizers==0.22.2",
150
+ "torch==2.12.1",
151
+ "tqdm==4.68.3",
152
+ "transformers==5.12.1",
153
+ "tree-sitter==0.21.3",
154
+ "tree-sitter-java==0.21.0",
155
+ "tree-sitter-javascript==0.21.4",
156
+ "triton==3.7.1",
157
+ "typer==0.25.1",
158
+ "types-requests==2.33.0.20260518",
159
+ "typing-inspection==0.4.2",
160
+ "typing_extensions==4.15.0",
161
+ "urllib3==2.7.0",
162
+ "websocket-client==1.9.0",
163
+ "websockets==16.0",
164
+ "writer-sdk==3.0.0",
165
+ "yarl==1.24.2"
166
+ ],
167
+ "bigcodebench": [
168
+ "accelerate==1.14.0",
169
+ "aiohappyeyeballs==2.6.2",
170
+ "aiohttp==3.14.1",
171
+ "aiosignal==1.4.0",
172
+ "annotated-doc==0.0.4",
173
+ "annotated-types==0.7.0",
174
+ "anthropic==0.112.0",
175
+ "anyio==4.14.1",
176
+ "apache-tvm-ffi==0.1.9",
177
+ "appdirs==1.4.4",
178
+ "astor==0.8.1",
179
+ "attrs==26.1.0",
180
+ "bigcodebench==0.2.5",
181
+ "blake3==1.0.9",
182
+ "bounded-pool-executor==0.0.3",
183
+ "bracex==2.6",
184
+ "cachetools==7.1.4",
185
+ "cbor2==6.1.2",
186
+ "certifi==2026.6.17",
187
+ "cffi==2.0.0",
188
+ "charset-normalizer==3.4.7",
189
+ "click==8.4.2",
190
+ "cloudpickle==3.1.2",
191
+ "compressed-tensors==0.17.0",
192
+ "cryptography==49.0.0",
193
+ "cuda-bindings==13.3.1",
194
+ "cuda-core==1.0.1",
195
+ "cuda-pathfinder==1.5.5",
196
+ "cuda-python==13.3.1",
197
+ "cuda-tile==1.3.0",
198
+ "cuda-toolkit==13.0.2",
199
+ "datasets==5.0.0",
200
+ "depyf==0.20.0",
201
+ "detect-installer==0.1.0",
202
+ "dill==0.4.1",
203
+ "diskcache==5.6.3",
204
+ "distro==1.9.0",
205
+ "dnspython==2.8.0",
206
+ "dockerfile-parse==2.0.1",
207
+ "docstring_parser==0.18.0",
208
+ "e2b==2.30.0",
209
+ "einops==0.8.2",
210
+ "email-validator==2.3.0",
211
+ "fastapi==0.136.3",
212
+ "fastapi-cli==0.0.27",
213
+ "fastapi-cloud-cli==0.21.0",
214
+ "fastar==0.11.0",
215
+ "fastsafetensors==0.3.2",
216
+ "filelock==3.29.4",
217
+ "fire==0.7.1",
218
+ "flashinfer-cubin==0.6.12",
219
+ "flashinfer-python==0.6.12",
220
+ "frozenlist==1.8.0",
221
+ "fsspec==2026.4.0",
222
+ "gguf==0.19.0",
223
+ "google-auth==2.55.1",
224
+ "google-genai==2.10.0",
225
+ "googleapis-common-protos==1.75.0",
226
+ "gradio_client==2.5.0",
227
+ "grpcio==1.81.1",
228
+ "h11==0.16.0",
229
+ "h2==4.3.0",
230
+ "hf-xet==1.5.1",
231
+ "hpack==4.2.0",
232
+ "httpcore==1.0.9",
233
+ "httptools==0.8.0",
234
+ "httpx==0.28.1",
235
+ "httpx-sse==0.4.3",
236
+ "huggingface_hub==1.21.0",
237
+ "humming-kernels==0.1.4",
238
+ "hyperframe==6.1.0",
239
+ "idna==3.18",
240
+ "ijson==3.5.0",
241
+ "interegular==0.3.3",
242
+ "Jinja2==3.1.6",
243
+ "jiter==0.15.0",
244
+ "jmespath==1.1.0",
245
+ "jsonschema==4.26.0",
246
+ "jsonschema-specifications==2025.9.1",
247
+ "lark==1.2.2",
248
+ "llguidance==1.7.6",
249
+ "llvmlite==0.47.0",
250
+ "lm-format-enforcer==0.11.3",
251
+ "loguru==0.7.3",
252
+ "markdown-it-py==4.2.0",
253
+ "MarkupSafe==3.0.3",
254
+ "mcp==1.28.1",
255
+ "mdurl==0.1.2",
256
+ "mistral_common==1.11.5",
257
+ "mistralai==0.4.2",
258
+ "ml_dtypes==0.5.4",
259
+ "model-hosting-container-standards==0.1.16",
260
+ "mpmath==1.3.0",
261
+ "msgspec==0.21.1",
262
+ "multidict==6.7.1",
263
+ "multipledispatch==1.0.0",
264
+ "multiprocess==0.70.19",
265
+ "networkx==3.6.1",
266
+ "ninja==1.13.0",
267
+ "numba==0.65.0",
268
+ "numpy==2.3.5",
269
+ "nvidia-cublas==13.1.0.3",
270
+ "nvidia-cuda-cccl==13.3.3.3.1",
271
+ "nvidia-cuda-crt==13.3.33",
272
+ "nvidia-cuda-cupti==13.0.85",
273
+ "nvidia-cuda-nvcc==13.2.78",
274
+ "nvidia-cuda-nvrtc==13.0.88",
275
+ "nvidia-cuda-runtime==13.0.96",
276
+ "nvidia-cuda-tileiras==13.2.78",
277
+ "nvidia-cudnn-cu13==9.19.0.56",
278
+ "nvidia-cudnn-frontend==1.25.0",
279
+ "nvidia-cufft==12.0.0.61",
280
+ "nvidia-cufile==1.15.1.6",
281
+ "nvidia-curand==10.4.0.35",
282
+ "nvidia-cusolver==12.0.4.66",
283
+ "nvidia-cusparse==12.6.3.3",
284
+ "nvidia-cusparselt-cu13==0.8.0",
285
+ "nvidia-cutlass-dsl==4.5.2",
286
+ "nvidia-cutlass-dsl-libs-base==4.5.2",
287
+ "nvidia-cutlass-dsl-libs-cu13==4.5.2",
288
+ "nvidia-ml-py==13.610.43",
289
+ "nvidia-nccl-cu13==2.28.9",
290
+ "nvidia-nvjitlink==13.0.88",
291
+ "nvidia-nvshmem-cu13==3.4.5",
292
+ "nvidia-nvtx==13.0.85",
293
+ "nvidia-nvvm==13.2.78",
294
+ "openai==2.44.0",
295
+ "openai-harmony==0.0.8",
296
+ "opencv-python-headless==4.13.0.92",
297
+ "opentelemetry-api==1.43.0",
298
+ "opentelemetry-exporter-otlp==1.43.0",
299
+ "opentelemetry-exporter-otlp-proto-common==1.43.0",
300
+ "opentelemetry-exporter-otlp-proto-grpc==1.43.0",
301
+ "opentelemetry-exporter-otlp-proto-http==1.43.0",
302
+ "opentelemetry-proto==1.43.0",
303
+ "opentelemetry-sdk==1.43.0",
304
+ "opentelemetry-semantic-conventions==0.64b0",
305
+ "opentelemetry-semantic-conventions-ai==0.5.1",
306
+ "orjson==3.10.18",
307
+ "outlines_core==0.2.14",
308
+ "packaging==26.2",
309
+ "pandas==3.0.3",
310
+ "partial-json-parser==0.2.1.1.post7",
311
+ "pillow==12.2.0",
312
+ "pqdm==0.2.0",
313
+ "prometheus-fastapi-instrumentator==8.0.2",
314
+ "prometheus_client==0.25.0",
315
+ "propcache==0.5.2",
316
+ "protobuf==7.35.1",
317
+ "psutil==7.2.2",
318
+ "py-cpuinfo==9.0.0",
319
+ "pyarrow==24.0.0",
320
+ "pyasn1==0.6.3",
321
+ "pyasn1_modules==0.4.2",
322
+ "pybase64==1.4.3",
323
+ "pycountry==26.2.16",
324
+ "pycparser==3.0",
325
+ "pydantic==2.13.4",
326
+ "pydantic-extra-types==2.11.1",
327
+ "pydantic-settings==2.14.2",
328
+ "pydantic_core==2.46.4",
329
+ "pyelftools==0.33",
330
+ "Pygments==2.20.0",
331
+ "PyJWT==2.13.0",
332
+ "python-dateutil==2.9.0.post0",
333
+ "python-dotenv==1.2.2",
334
+ "python-json-logger==4.1.0",
335
+ "python-multipart==0.0.32",
336
+ "PyYAML==6.0.3",
337
+ "pyzmq==27.1.0",
338
+ "quack-kernels==0.5.0",
339
+ "referencing==0.37.0",
340
+ "regex==2026.5.9",
341
+ "requests==2.34.2",
342
+ "rich==15.0.0",
343
+ "rich-toolkit==0.20.1",
344
+ "rignore==0.7.6",
345
+ "rpds-py==2026.5.1",
346
+ "safetensors==0.8.0",
347
+ "sentencepiece==0.2.1",
348
+ "sentry-sdk==2.63.0",
349
+ "setproctitle==1.3.7",
350
+ "shellingham==1.5.4",
351
+ "six==1.17.0",
352
+ "sniffio==1.3.1",
353
+ "sse-starlette==3.4.5",
354
+ "starlette==1.3.1",
355
+ "supervisor==4.3.0",
356
+ "sympy==1.14.0",
357
+ "tabulate==0.10.0",
358
+ "tempdir==0.7.1",
359
+ "tenacity==9.1.4",
360
+ "termcolor==3.3.0",
361
+ "tiktoken==0.13.0",
362
+ "tilelang==0.1.9",
363
+ "tokenizers==0.22.2",
364
+ "tokenspeed-mla==0.1.2",
365
+ "tokenspeed-triton==3.7.10.post20260531",
366
+ "torch==2.11.0",
367
+ "torch_c_dlpack_ext==0.1.5",
368
+ "torchaudio==2.11.0",
369
+ "torchvision==0.26.0",
370
+ "tqdm==4.68.3",
371
+ "transformers==5.12.1",
372
+ "tree-sitter==0.25.2",
373
+ "tree-sitter-python==0.25.0",
374
+ "triton==3.6.0",
375
+ "typer==0.25.1",
376
+ "typing-inspection==0.4.2",
377
+ "typing_extensions==4.15.0",
378
+ "urllib3==2.7.0",
379
+ "uvicorn==0.49.0",
380
+ "uvloop==0.22.1",
381
+ "vllm==0.23.0",
382
+ "watchfiles==1.2.0",
383
+ "wcmatch==10.1",
384
+ "websockets==16.0",
385
+ "wget==3.2",
386
+ "xgrammar==0.2.3",
387
+ "xxhash==3.7.1",
388
+ "yarl==1.24.2",
389
+ "z3-solver==4.15.4.0"
390
+ ],
391
+ "evalplus": [
392
+ "aiohappyeyeballs==2.6.2",
393
+ "aiohttp==3.14.1",
394
+ "aiosignal==1.4.0",
395
+ "annotated-doc==0.0.4",
396
+ "annotated-types==0.7.0",
397
+ "anthropic==0.112.0",
398
+ "anyio==4.14.1",
399
+ "appdirs==1.4.4",
400
+ "attrs==26.1.0",
401
+ "certifi==2026.6.17",
402
+ "cffi==2.0.0",
403
+ "charset-normalizer==3.4.7",
404
+ "click==8.4.2",
405
+ "cryptography==49.0.0",
406
+ "datasets==5.0.0",
407
+ "dill==0.4.1",
408
+ "distro==1.9.0",
409
+ "docstring_parser==0.18.0",
410
+ "evalplus==0.3.1",
411
+ "filelock==3.29.4",
412
+ "fire==0.7.1",
413
+ "frozenlist==1.8.0",
414
+ "fsspec==2026.4.0",
415
+ "google-ai-generativelanguage==0.6.15",
416
+ "google-api-core==2.31.0",
417
+ "google-api-python-client==2.198.0",
418
+ "google-auth==2.55.1",
419
+ "google-auth-httplib2==0.4.0",
420
+ "google-generativeai==0.8.6",
421
+ "googleapis-common-protos==1.75.0",
422
+ "grpcio==1.81.1",
423
+ "grpcio-status==1.71.2",
424
+ "h11==0.16.0",
425
+ "hf-xet==1.5.1",
426
+ "httpcore==1.0.9",
427
+ "httplib2==0.32.0",
428
+ "httpx==0.28.1",
429
+ "huggingface_hub==1.21.0",
430
+ "idna==3.18",
431
+ "jiter==0.15.0",
432
+ "markdown-it-py==4.2.0",
433
+ "mdurl==0.1.2",
434
+ "multidict==6.7.1",
435
+ "multipledispatch==1.0.0",
436
+ "multiprocess==0.70.19",
437
+ "numpy==2.4.6",
438
+ "openai==2.44.0",
439
+ "packaging==26.2",
440
+ "pandas==3.0.3",
441
+ "propcache==0.5.2",
442
+ "proto-plus==1.28.0",
443
+ "protobuf==5.29.6",
444
+ "psutil==7.2.2",
445
+ "pyarrow==24.0.0",
446
+ "pyasn1==0.6.3",
447
+ "pyasn1_modules==0.4.2",
448
+ "pycparser==3.0",
449
+ "pydantic==2.13.4",
450
+ "pydantic_core==2.46.4",
451
+ "Pygments==2.20.0",
452
+ "pyparsing==3.3.2",
453
+ "python-dateutil==2.9.0.post0",
454
+ "PyYAML==6.0.3",
455
+ "regex==2026.5.9",
456
+ "requests==2.34.2",
457
+ "rich==15.0.0",
458
+ "safetensors==0.8.0",
459
+ "shellingham==1.5.4",
460
+ "six==1.17.0",
461
+ "sniffio==1.3.1",
462
+ "stop-sequencer==1.2.3",
463
+ "tempdir==0.7.1",
464
+ "termcolor==3.3.0",
465
+ "tokenizers==0.22.2",
466
+ "tqdm==4.68.3",
467
+ "transformers==5.12.1",
468
+ "tree-sitter==0.25.2",
469
+ "tree-sitter-python==0.25.0",
470
+ "typer==0.25.1",
471
+ "typing-inspection==0.4.2",
472
+ "typing_extensions==4.15.0",
473
+ "uritemplate==4.2.0",
474
+ "urllib3==2.7.0",
475
+ "wget==3.2",
476
+ "xxhash==3.7.1",
477
+ "yarl==1.24.2"
478
+ ],
479
+ "livecodebench": [
480
+ "aiohappyeyeballs==2.6.2",
481
+ "aiohttp==3.14.1",
482
+ "aiosignal==1.4.0",
483
+ "annotated-doc==0.0.4",
484
+ "annotated-types==0.7.0",
485
+ "anthropic==0.112.0",
486
+ "anyio==4.14.1",
487
+ "apache-tvm-ffi==0.1.9",
488
+ "astor==0.8.1",
489
+ "attrs==26.1.0",
490
+ "blake3==1.0.9",
491
+ "cachetools==7.1.4",
492
+ "cbor2==6.1.2",
493
+ "certifi==2026.6.17",
494
+ "cffi==2.0.0",
495
+ "charset-normalizer==3.4.7",
496
+ "click==8.4.2",
497
+ "cloudpickle==3.1.2",
498
+ "cohere==7.0.4",
499
+ "compressed-tensors==0.17.0",
500
+ "cryptography==49.0.0",
501
+ "cuda-bindings==13.3.1",
502
+ "cuda-core==1.0.1",
503
+ "cuda-pathfinder==1.5.5",
504
+ "cuda-python==13.3.1",
505
+ "cuda-tile==1.3.0",
506
+ "cuda-toolkit==13.0.2",
507
+ "cyclopts==4.19.0",
508
+ "datasets==5.0.0",
509
+ "depyf==0.20.0",
510
+ "detect-installer==0.1.0",
511
+ "detect_agent==0.3.0",
512
+ "dill==0.4.1",
513
+ "diskcache==5.6.3",
514
+ "distro==1.9.0",
515
+ "dnspython==2.8.0",
516
+ "docstring_parser==0.18.0",
517
+ "einops==0.8.2",
518
+ "email-validator==2.3.0",
519
+ "fastapi==0.136.3",
520
+ "fastapi-cli==0.0.27",
521
+ "fastapi-cloud-cli==0.21.0",
522
+ "fastar==0.11.0",
523
+ "fastavro==1.12.2",
524
+ "fastsafetensors==0.3.2",
525
+ "filelock==3.29.4",
526
+ "flashinfer-cubin==0.6.12",
527
+ "flashinfer-python==0.6.12",
528
+ "frozenlist==1.8.0",
529
+ "fsspec==2026.4.0",
530
+ "gguf==0.19.0",
531
+ "google-auth==2.55.1",
532
+ "google-genai==2.10.0",
533
+ "googleapis-common-protos==1.75.0",
534
+ "grpcio==1.81.1",
535
+ "h11==0.16.0",
536
+ "hf-xet==1.5.1",
537
+ "httpcore==1.0.9",
538
+ "httptools==0.8.0",
539
+ "httpx==0.28.1",
540
+ "httpx-sse==0.4.3",
541
+ "huggingface_hub==1.21.0",
542
+ "humming-kernels==0.1.4",
543
+ "idna==3.18",
544
+ "ijson==3.5.0",
545
+ "interegular==0.3.3",
546
+ "Jinja2==3.1.6",
547
+ "jiter==0.15.0",
548
+ "jmespath==1.1.0",
549
+ "jsonschema==4.26.0",
550
+ "jsonschema-specifications==2025.9.1",
551
+ "lark==1.2.2",
552
+ "livecodebench @ git+https://github.com/LiveCodeBench/LiveCodeBench.git@28fef95ea8c9f7a547c8329f2cd3d32b92c1fa24",
553
+ "llguidance==1.7.6",
554
+ "llvmlite==0.47.0",
555
+ "lm-format-enforcer==0.11.3",
556
+ "loguru==0.7.3",
557
+ "markdown-it-py==4.2.0",
558
+ "MarkupSafe==3.0.3",
559
+ "mcp==1.28.1",
560
+ "mdurl==0.1.2",
561
+ "mistral_common==1.11.5",
562
+ "mistralai==0.4.2",
563
+ "ml_dtypes==0.5.4",
564
+ "model-hosting-container-standards==0.1.16",
565
+ "mpmath==1.3.0",
566
+ "msgspec==0.21.1",
567
+ "multidict==6.7.1",
568
+ "multiprocess==0.70.19",
569
+ "networkx==3.6.1",
570
+ "ninja==1.13.0",
571
+ "numba==0.65.0",
572
+ "numpy==2.3.5",
573
+ "nvidia-cublas==13.1.0.3",
574
+ "nvidia-cuda-cccl==13.3.3.3.1",
575
+ "nvidia-cuda-crt==13.3.33",
576
+ "nvidia-cuda-cupti==13.0.85",
577
+ "nvidia-cuda-nvcc==13.2.78",
578
+ "nvidia-cuda-nvrtc==13.0.88",
579
+ "nvidia-cuda-runtime==13.0.96",
580
+ "nvidia-cuda-tileiras==13.2.78",
581
+ "nvidia-cudnn-cu13==9.19.0.56",
582
+ "nvidia-cudnn-frontend==1.25.0",
583
+ "nvidia-cufft==12.0.0.61",
584
+ "nvidia-cufile==1.15.1.6",
585
+ "nvidia-curand==10.4.0.35",
586
+ "nvidia-cusolver==12.0.4.66",
587
+ "nvidia-cusparse==12.6.3.3",
588
+ "nvidia-cusparselt-cu13==0.8.0",
589
+ "nvidia-cutlass-dsl==4.5.2",
590
+ "nvidia-cutlass-dsl-libs-base==4.5.2",
591
+ "nvidia-cutlass-dsl-libs-cu13==4.5.2",
592
+ "nvidia-ml-py==13.610.43",
593
+ "nvidia-nccl-cu13==2.28.9",
594
+ "nvidia-nvjitlink==13.0.88",
595
+ "nvidia-nvshmem-cu13==3.4.5",
596
+ "nvidia-nvtx==13.0.85",
597
+ "nvidia-nvvm==13.2.78",
598
+ "openai==2.44.0",
599
+ "openai-harmony==0.0.8",
600
+ "opencv-python-headless==4.13.0.92",
601
+ "opentelemetry-api==1.43.0",
602
+ "opentelemetry-exporter-otlp==1.43.0",
603
+ "opentelemetry-exporter-otlp-proto-common==1.43.0",
604
+ "opentelemetry-exporter-otlp-proto-grpc==1.43.0",
605
+ "opentelemetry-exporter-otlp-proto-http==1.43.0",
606
+ "opentelemetry-proto==1.43.0",
607
+ "opentelemetry-sdk==1.43.0",
608
+ "opentelemetry-semantic-conventions==0.64b0",
609
+ "opentelemetry-semantic-conventions-ai==0.5.1",
610
+ "orjson==3.10.18",
611
+ "outlines_core==0.2.14",
612
+ "packaging==26.2",
613
+ "pandas==3.0.3",
614
+ "partial-json-parser==0.2.1.1.post7",
615
+ "Pebble==5.2.0",
616
+ "pillow==12.2.0",
617
+ "prometheus-fastapi-instrumentator==8.0.2",
618
+ "prometheus_client==0.25.0",
619
+ "propcache==0.5.2",
620
+ "protobuf==7.35.1",
621
+ "psutil==7.2.2",
622
+ "py-cpuinfo==9.0.0",
623
+ "pyarrow==24.0.0",
624
+ "pyasn1==0.6.3",
625
+ "pyasn1_modules==0.4.2",
626
+ "pybase64==1.4.3",
627
+ "pycountry==26.2.16",
628
+ "pycparser==3.0",
629
+ "pydantic==2.13.4",
630
+ "pydantic-extra-types==2.11.1",
631
+ "pydantic-settings==2.14.2",
632
+ "pydantic_core==2.46.4",
633
+ "pyelftools==0.33",
634
+ "Pygments==2.20.0",
635
+ "PyJWT==2.13.0",
636
+ "python-dateutil==2.9.0.post0",
637
+ "python-dotenv==1.2.2",
638
+ "python-json-logger==4.1.0",
639
+ "python-multipart==0.0.32",
640
+ "PyYAML==6.0.3",
641
+ "pyzmq==27.1.0",
642
+ "quack-kernels==0.5.0",
643
+ "referencing==0.37.0",
644
+ "regex==2026.5.9",
645
+ "requests==2.34.2",
646
+ "rich==15.0.0",
647
+ "rich-rst==2.0.2",
648
+ "rich-toolkit==0.20.1",
649
+ "rignore==0.7.6",
650
+ "rpds-py==2026.5.1",
651
+ "safetensors==0.8.0",
652
+ "sentencepiece==0.2.1",
653
+ "sentry-sdk==2.63.0",
654
+ "setproctitle==1.3.7",
655
+ "shellingham==1.5.4",
656
+ "six==1.17.0",
657
+ "sniffio==1.3.1",
658
+ "sse-starlette==3.4.5",
659
+ "starlette==1.3.1",
660
+ "supervisor==4.3.0",
661
+ "sympy==1.14.0",
662
+ "tabulate==0.10.0",
663
+ "tenacity==9.1.4",
664
+ "tiktoken==0.13.0",
665
+ "tilelang==0.1.9",
666
+ "together==2.19.0",
667
+ "tokenizers==0.22.2",
668
+ "tokenspeed-mla==0.1.2",
669
+ "tokenspeed-triton==3.7.10.post20260531",
670
+ "torch==2.11.0",
671
+ "torch_c_dlpack_ext==0.1.5",
672
+ "torchaudio==2.11.0",
673
+ "torchvision==0.26.0",
674
+ "tqdm==4.68.3",
675
+ "transformers==5.12.1",
676
+ "triton==3.6.0",
677
+ "typer==0.25.1",
678
+ "types-PyYAML==6.0.12.20260518",
679
+ "types-requests==2.33.0.20260518",
680
+ "types-tabulate==0.10.0.20260508",
681
+ "types-tqdm==4.68.0.20260608",
682
+ "typing-inspection==0.4.2",
683
+ "typing_extensions==4.15.0",
684
+ "urllib3==2.7.0",
685
+ "uvicorn==0.49.0",
686
+ "uvloop==0.22.1",
687
+ "vllm==0.23.0",
688
+ "watchfiles==1.2.0",
689
+ "websockets==16.0",
690
+ "xgrammar==0.2.3",
691
+ "xxhash==3.7.1",
692
+ "yarl==1.24.2",
693
+ "z3-solver==4.15.4.0"
694
+ ],
695
+ "lm_eval": [
696
+ "absl-py==2.4.0",
697
+ "aiohappyeyeballs==2.6.2",
698
+ "aiohttp==3.14.1",
699
+ "aiosignal==1.4.0",
700
+ "annotated-doc==0.0.4",
701
+ "anyio==4.14.1",
702
+ "attrs==26.1.0",
703
+ "certifi==2026.6.17",
704
+ "chardet==6.0.0.post1",
705
+ "charset-normalizer==3.4.7",
706
+ "click==8.4.2",
707
+ "colorama==0.4.6",
708
+ "DataProperty==1.1.1",
709
+ "datasets==5.0.0",
710
+ "dill==0.4.1",
711
+ "evaluate==0.4.6",
712
+ "filelock==3.29.4",
713
+ "frozenlist==1.8.0",
714
+ "fsspec==2026.4.0",
715
+ "h11==0.16.0",
716
+ "hf-xet==1.5.1",
717
+ "httpcore==1.0.9",
718
+ "httpx==0.28.1",
719
+ "huggingface_hub==1.21.0",
720
+ "idna==3.18",
721
+ "immutabledict==4.3.1",
722
+ "Jinja2==3.1.6",
723
+ "joblib==1.5.3",
724
+ "langdetect==1.0.9",
725
+ "lm_eval==0.4.12",
726
+ "lxml==6.1.1",
727
+ "markdown-it-py==4.2.0",
728
+ "MarkupSafe==3.0.3",
729
+ "mbstrdecoder==1.1.5",
730
+ "mdurl==0.1.2",
731
+ "more-itertools==11.1.0",
732
+ "multidict==6.7.1",
733
+ "multiprocess==0.70.19",
734
+ "narwhals==2.22.1",
735
+ "nltk==3.9.4",
736
+ "numpy==2.4.6",
737
+ "packaging==26.2",
738
+ "pandas==3.0.3",
739
+ "pathvalidate==3.3.1",
740
+ "portalocker==3.2.0",
741
+ "propcache==0.5.2",
742
+ "pyarrow==24.0.0",
743
+ "Pygments==2.20.0",
744
+ "pytablewriter==1.2.1",
745
+ "python-dateutil==2.9.0.post0",
746
+ "pytz==2026.2",
747
+ "PyYAML==6.0.3",
748
+ "regex==2026.5.9",
749
+ "requests==2.34.2",
750
+ "rich==15.0.0",
751
+ "rouge_score==0.1.2",
752
+ "sacrebleu==2.6.0",
753
+ "scikit-learn==1.9.0",
754
+ "scipy==1.17.1",
755
+ "shellingham==1.5.4",
756
+ "six==1.17.0",
757
+ "sqlitedict==2.1.0",
758
+ "tabledata==1.3.5",
759
+ "tabulate==0.10.0",
760
+ "tcolorpy==0.1.7",
761
+ "tenacity==9.1.4",
762
+ "threadpoolctl==3.6.0",
763
+ "tiktoken==0.13.0",
764
+ "tqdm==4.68.3",
765
+ "typepy==1.3.5",
766
+ "typer==0.25.1",
767
+ "typing_extensions==4.15.0",
768
+ "urllib3==2.7.0",
769
+ "word2number==1.1",
770
+ "xxhash==3.7.1",
771
+ "yarl==1.24.2"
772
+ ]
773
+ },
774
+ "arguments": {
775
+ "setup": false,
776
+ "run": true,
777
+ "benchmarks": "all",
778
+ "base_url": "http://127.0.0.1:1234/v1",
779
+ "api_key": "lm-studio",
780
+ "model": "auto",
781
+ "output": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark",
782
+ "env_root": "/home/jica/repo/rocm_unsloth/benchmark/.benchmark_envs",
783
+ "resume": true,
784
+ "bigcode_execution": "gradio",
785
+ "lcb_release": "release_v6",
786
+ "max_code_tokens": 4096,
787
+ "bfcl_model_alias": "Qwen/Qwen3-4B-Instruct-2507-FC",
788
+ "bfcl_categories": "all_scoring",
789
+ "bfcl_tokenizer_path": null,
790
+ "continue_on_error": true
791
+ }
792
+ },
793
+ "model": "qwen3.5-4b-super-coder",
794
+ "base_url": "http://127.0.0.1:1234/v1",
795
+ "results": [
796
+ {
797
+ "benchmark": "HumanEval+ Pass@1",
798
+ "score_percent": 0.0,
799
+ "status": "ok",
800
+ "metric": "Pass@1",
801
+ "source": "Official EvalPlus",
802
+ "details": {
803
+ "parsed_from": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/evalplus/humaneval/evalplus_results/humaneval/qwen3.5-4b-super-coder_openai_temp_0.0_eval_results.json",
804
+ "json_key": "eval.HumanEval/22.0.plus_fail_tests.0.0.3",
805
+ "raw_value": 0,
806
+ "pattern_matches": 1,
807
+ "command": {
808
+ "name": "evalplus_humaneval",
809
+ "command": [
810
+ "/home/jica/repo/rocm_unsloth/benchmark/.benchmark_envs/evalplus/bin/evalplus.evaluate",
811
+ "--model",
812
+ "qwen3.5-4b-super-coder",
813
+ "--dataset",
814
+ "humaneval",
815
+ "--backend",
816
+ "openai",
817
+ "--base-url",
818
+ "http://127.0.0.1:1234/v1",
819
+ "--greedy"
820
+ ],
821
+ "returncode": 0,
822
+ "elapsed_seconds": 1646.0040039900014,
823
+ "log_path": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/logs/evalplus_humaneval.log",
824
+ "cwd": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/evalplus/humaneval"
825
+ }
826
+ }
827
+ },
828
+ {
829
+ "benchmark": "MBPP+ Pass@1",
830
+ "score_percent": 0.0,
831
+ "status": "ok",
832
+ "metric": "Pass@1",
833
+ "source": "Official EvalPlus",
834
+ "details": {
835
+ "parsed_from": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/evalplus/mbpp/evalplus_results/mbpp/qwen3.5-4b-super-coder_openai_temp_0.0_eval_results.json",
836
+ "json_key": "eval.Mbpp/6.0.plus_fail_tests.0.0",
837
+ "raw_value": 0,
838
+ "pattern_matches": 1,
839
+ "command": {
840
+ "name": "evalplus_mbpp",
841
+ "command": [
842
+ "/home/jica/repo/rocm_unsloth/benchmark/.benchmark_envs/evalplus/bin/evalplus.evaluate",
843
+ "--model",
844
+ "qwen3.5-4b-super-coder",
845
+ "--dataset",
846
+ "mbpp",
847
+ "--backend",
848
+ "openai",
849
+ "--base-url",
850
+ "http://127.0.0.1:1234/v1",
851
+ "--greedy"
852
+ ],
853
+ "returncode": 0,
854
+ "elapsed_seconds": 3226.43256972,
855
+ "log_path": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/logs/evalplus_mbpp.log",
856
+ "cwd": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/evalplus/mbpp"
857
+ }
858
+ }
859
+ },
860
+ {
861
+ "benchmark": "BigCodeBench-Hard",
862
+ "score_percent": null,
863
+ "status": "needs_review",
864
+ "metric": "Calibrated Pass@1",
865
+ "source": "Official BigCodeBench",
866
+ "details": {
867
+ "command": {
868
+ "name": "bigcodebench_hard",
869
+ "command": [
870
+ "/home/jica/repo/rocm_unsloth/benchmark/.benchmark_envs/bigcodebench/bin/bigcodebench.evaluate",
871
+ "--model",
872
+ "qwen3.5-4b-super-coder",
873
+ "--execution",
874
+ "gradio",
875
+ "--split",
876
+ "instruct",
877
+ "--subset",
878
+ "hard",
879
+ "--backend",
880
+ "openai",
881
+ "--base_url",
882
+ "http://127.0.0.1:1234/v1",
883
+ "--bs",
884
+ "1",
885
+ "--n_samples",
886
+ "1",
887
+ "--temperature",
888
+ "0.0",
889
+ "--greedy",
890
+ "--pass_k",
891
+ "1",
892
+ "--root",
893
+ "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/bigcodebench/bcb_results"
894
+ ],
895
+ "returncode": 1,
896
+ "elapsed_seconds": 1760.3364485260026,
897
+ "log_path": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/logs/bigcodebench_hard.log",
898
+ "cwd": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/bigcodebench"
899
+ },
900
+ "execution_backend": "gradio"
901
+ }
902
+ },
903
+ {
904
+ "benchmark": "BFCL v4",
905
+ "score_percent": null,
906
+ "status": "needs_review",
907
+ "metric": "Overall accuracy for selected categories",
908
+ "source": "Official BFCL",
909
+ "details": {
910
+ "categories": "all_scoring",
911
+ "generation_command": {
912
+ "name": "bfcl_v4_generate",
913
+ "command": [
914
+ "/home/jica/repo/rocm_unsloth/benchmark/.benchmark_envs/bfcl/bin/bfcl",
915
+ "generate",
916
+ "--model",
917
+ "Qwen/Qwen3-4B-Instruct-2507-FC",
918
+ "--test-category",
919
+ "all_scoring",
920
+ "--skip-server-setup",
921
+ "--num-threads",
922
+ "1",
923
+ "--result-dir",
924
+ "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/bfcl/project/result"
925
+ ],
926
+ "returncode": 1,
927
+ "elapsed_seconds": 2.7761374679976143,
928
+ "log_path": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/logs/bfcl_v4_generate.log",
929
+ "cwd": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/bfcl"
930
+ },
931
+ "evaluation_command": {
932
+ "name": "bfcl_v4_evaluate",
933
+ "command": [
934
+ "/home/jica/repo/rocm_unsloth/benchmark/.benchmark_envs/bfcl/bin/bfcl",
935
+ "evaluate",
936
+ "--model",
937
+ "Qwen/Qwen3-4B-Instruct-2507-FC",
938
+ "--test-category",
939
+ "all_scoring",
940
+ "--result-dir",
941
+ "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/bfcl/project/result",
942
+ "--score-dir",
943
+ "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/bfcl/project/score"
944
+ ],
945
+ "returncode": 1,
946
+ "elapsed_seconds": 2.4078060280007776,
947
+ "log_path": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/logs/bfcl_v4_evaluate.log",
948
+ "cwd": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/bfcl"
949
+ },
950
+ "served_alias": "Qwen/Qwen3-4B-Instruct-2507-FC"
951
+ }
952
+ },
953
+ {
954
+ "benchmark": "BFCL no-tool/relevance",
955
+ "score_percent": null,
956
+ "status": "not_available",
957
+ "metric": "BFCL irrelevance/relevance detection",
958
+ "source": "Official BFCL",
959
+ "details": {}
960
+ },
961
+ {
962
+ "benchmark": "IFEval",
963
+ "score_percent": null,
964
+ "status": "needs_review",
965
+ "metric": "Prompt-level strict accuracy",
966
+ "source": "LM Evaluation Harness",
967
+ "details": {
968
+ "command": {
969
+ "name": "lm_eval_ifeval",
970
+ "command": [
971
+ "/home/jica/repo/rocm_unsloth/benchmark/.benchmark_envs/lm_eval/bin/lm_eval",
972
+ "--model",
973
+ "local-chat-completions",
974
+ "--model_args",
975
+ "model=qwen3.5-4b-super-coder,base_url=http://127.0.0.1:1234/v1/chat/completions,num_concurrent=1,max_retries=4,tokenized_requests=False,batch_size=1",
976
+ "--tasks",
977
+ "ifeval",
978
+ "--batch_size",
979
+ "1",
980
+ "--log_samples",
981
+ "--output_path",
982
+ "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/lm_eval/ifeval/results"
983
+ ],
984
+ "returncode": 1,
985
+ "elapsed_seconds": 5.503946738001105,
986
+ "log_path": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/logs/lm_eval_ifeval.log",
987
+ "cwd": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/lm_eval/ifeval"
988
+ }
989
+ }
990
+ },
991
+ {
992
+ "benchmark": "MMLU-Pro",
993
+ "score_percent": null,
994
+ "status": "needs_review",
995
+ "metric": "Accuracy",
996
+ "source": "LM Evaluation Harness",
997
+ "details": {
998
+ "command": {
999
+ "name": "lm_eval_mmlu_pro",
1000
+ "command": [
1001
+ "/home/jica/repo/rocm_unsloth/benchmark/.benchmark_envs/lm_eval/bin/lm_eval",
1002
+ "--model",
1003
+ "local-chat-completions",
1004
+ "--model_args",
1005
+ "model=qwen3.5-4b-super-coder,base_url=http://127.0.0.1:1234/v1/chat/completions,num_concurrent=1,max_retries=4,tokenized_requests=False,batch_size=1",
1006
+ "--tasks",
1007
+ "mmlu_pro",
1008
+ "--batch_size",
1009
+ "1",
1010
+ "--log_samples",
1011
+ "--output_path",
1012
+ "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/lm_eval/mmlu_pro/results"
1013
+ ],
1014
+ "returncode": 1,
1015
+ "elapsed_seconds": 4.813302385999123,
1016
+ "log_path": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/logs/lm_eval_mmlu_pro.log",
1017
+ "cwd": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/lm_eval/mmlu_pro"
1018
+ }
1019
+ }
1020
+ },
1021
+ {
1022
+ "benchmark": "JSON validity",
1023
+ "score_percent": 40.0,
1024
+ "status": "ok",
1025
+ "metric": "Schema-valid JSON rate",
1026
+ "source": "Custom deterministic endpoint diagnostic",
1027
+ "details": {
1028
+ "total": 30,
1029
+ "json_parse_rate_percent": 96.66666666666667,
1030
+ "schema_valid_rate_percent": 40.0,
1031
+ "responses": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/custom/json_validity/responses.json"
1032
+ }
1033
+ },
1034
+ {
1035
+ "benchmark": "No-tool accuracy",
1036
+ "score_percent": 87.5,
1037
+ "status": "ok",
1038
+ "metric": "Correctly abstained from tool use",
1039
+ "source": "Custom deterministic native-tool diagnostic",
1040
+ "details": {
1041
+ "correct": 35,
1042
+ "total": 40,
1043
+ "responses": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/custom/no_tool/responses.json"
1044
+ }
1045
+ }
1046
+ ],
1047
+ "commands": [
1048
+ {
1049
+ "name": "evalplus_humaneval",
1050
+ "command": [
1051
+ "/home/jica/repo/rocm_unsloth/benchmark/.benchmark_envs/evalplus/bin/evalplus.evaluate",
1052
+ "--model",
1053
+ "qwen3.5-4b-super-coder",
1054
+ "--dataset",
1055
+ "humaneval",
1056
+ "--backend",
1057
+ "openai",
1058
+ "--base-url",
1059
+ "http://127.0.0.1:1234/v1",
1060
+ "--greedy"
1061
+ ],
1062
+ "returncode": 0,
1063
+ "elapsed_seconds": 1646.0040039900014,
1064
+ "log_path": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/logs/evalplus_humaneval.log",
1065
+ "cwd": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/evalplus/humaneval"
1066
+ },
1067
+ {
1068
+ "name": "evalplus_mbpp",
1069
+ "command": [
1070
+ "/home/jica/repo/rocm_unsloth/benchmark/.benchmark_envs/evalplus/bin/evalplus.evaluate",
1071
+ "--model",
1072
+ "qwen3.5-4b-super-coder",
1073
+ "--dataset",
1074
+ "mbpp",
1075
+ "--backend",
1076
+ "openai",
1077
+ "--base-url",
1078
+ "http://127.0.0.1:1234/v1",
1079
+ "--greedy"
1080
+ ],
1081
+ "returncode": 0,
1082
+ "elapsed_seconds": 3226.43256972,
1083
+ "log_path": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/logs/evalplus_mbpp.log",
1084
+ "cwd": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/evalplus/mbpp"
1085
+ },
1086
+ {
1087
+ "name": "bigcodebench_hard",
1088
+ "command": [
1089
+ "/home/jica/repo/rocm_unsloth/benchmark/.benchmark_envs/bigcodebench/bin/bigcodebench.evaluate",
1090
+ "--model",
1091
+ "qwen3.5-4b-super-coder",
1092
+ "--execution",
1093
+ "gradio",
1094
+ "--split",
1095
+ "instruct",
1096
+ "--subset",
1097
+ "hard",
1098
+ "--backend",
1099
+ "openai",
1100
+ "--base_url",
1101
+ "http://127.0.0.1:1234/v1",
1102
+ "--bs",
1103
+ "1",
1104
+ "--n_samples",
1105
+ "1",
1106
+ "--temperature",
1107
+ "0.0",
1108
+ "--greedy",
1109
+ "--pass_k",
1110
+ "1",
1111
+ "--root",
1112
+ "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/bigcodebench/bcb_results"
1113
+ ],
1114
+ "returncode": 1,
1115
+ "elapsed_seconds": 1760.3364485260026,
1116
+ "log_path": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/logs/bigcodebench_hard.log",
1117
+ "cwd": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/bigcodebench"
1118
+ },
1119
+ {
1120
+ "name": "bfcl_v4_generate",
1121
+ "command": [
1122
+ "/home/jica/repo/rocm_unsloth/benchmark/.benchmark_envs/bfcl/bin/bfcl",
1123
+ "generate",
1124
+ "--model",
1125
+ "Qwen/Qwen3-4B-Instruct-2507-FC",
1126
+ "--test-category",
1127
+ "all_scoring",
1128
+ "--skip-server-setup",
1129
+ "--num-threads",
1130
+ "1",
1131
+ "--result-dir",
1132
+ "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/bfcl/project/result"
1133
+ ],
1134
+ "returncode": 1,
1135
+ "elapsed_seconds": 2.7761374679976143,
1136
+ "log_path": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/logs/bfcl_v4_generate.log",
1137
+ "cwd": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/bfcl"
1138
+ },
1139
+ {
1140
+ "name": "bfcl_v4_evaluate",
1141
+ "command": [
1142
+ "/home/jica/repo/rocm_unsloth/benchmark/.benchmark_envs/bfcl/bin/bfcl",
1143
+ "evaluate",
1144
+ "--model",
1145
+ "Qwen/Qwen3-4B-Instruct-2507-FC",
1146
+ "--test-category",
1147
+ "all_scoring",
1148
+ "--result-dir",
1149
+ "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/bfcl/project/result",
1150
+ "--score-dir",
1151
+ "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/bfcl/project/score"
1152
+ ],
1153
+ "returncode": 1,
1154
+ "elapsed_seconds": 2.4078060280007776,
1155
+ "log_path": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/logs/bfcl_v4_evaluate.log",
1156
+ "cwd": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/bfcl"
1157
+ },
1158
+ {
1159
+ "name": "lm_eval_ifeval",
1160
+ "command": [
1161
+ "/home/jica/repo/rocm_unsloth/benchmark/.benchmark_envs/lm_eval/bin/lm_eval",
1162
+ "--model",
1163
+ "local-chat-completions",
1164
+ "--model_args",
1165
+ "model=qwen3.5-4b-super-coder,base_url=http://127.0.0.1:1234/v1/chat/completions,num_concurrent=1,max_retries=4,tokenized_requests=False,batch_size=1",
1166
+ "--tasks",
1167
+ "ifeval",
1168
+ "--batch_size",
1169
+ "1",
1170
+ "--log_samples",
1171
+ "--output_path",
1172
+ "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/lm_eval/ifeval/results"
1173
+ ],
1174
+ "returncode": 1,
1175
+ "elapsed_seconds": 5.503946738001105,
1176
+ "log_path": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/logs/lm_eval_ifeval.log",
1177
+ "cwd": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/lm_eval/ifeval"
1178
+ },
1179
+ {
1180
+ "name": "lm_eval_mmlu_pro",
1181
+ "command": [
1182
+ "/home/jica/repo/rocm_unsloth/benchmark/.benchmark_envs/lm_eval/bin/lm_eval",
1183
+ "--model",
1184
+ "local-chat-completions",
1185
+ "--model_args",
1186
+ "model=qwen3.5-4b-super-coder,base_url=http://127.0.0.1:1234/v1/chat/completions,num_concurrent=1,max_retries=4,tokenized_requests=False,batch_size=1",
1187
+ "--tasks",
1188
+ "mmlu_pro",
1189
+ "--batch_size",
1190
+ "1",
1191
+ "--log_samples",
1192
+ "--output_path",
1193
+ "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/lm_eval/mmlu_pro/results"
1194
+ ],
1195
+ "returncode": 1,
1196
+ "elapsed_seconds": 4.813302385999123,
1197
+ "log_path": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/logs/lm_eval_mmlu_pro.log",
1198
+ "cwd": "/home/jica/repo/rocm_unsloth/benchmark/lmstudio_q4_benchmark/lm_eval/mmlu_pro"
1199
+ }
1200
+ ]
1201
+ }
chat_template.jinja ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- set image_count = namespace(value=0) %}
2
+ {%- set video_count = namespace(value=0) %}
3
+ {%- macro render_content(content, do_vision_count, is_system_content=false) %}
4
+ {%- if content is string %}
5
+ {{- content }}
6
+ {%- elif content is iterable and content is not mapping %}
7
+ {%- for item in content %}
8
+ {%- if 'image' in item or 'image_url' in item or item.type == 'image' %}
9
+ {%- if is_system_content %}
10
+ {{- raise_exception('System message cannot contain images.') }}
11
+ {%- endif %}
12
+ {%- if do_vision_count %}
13
+ {%- set image_count.value = image_count.value + 1 %}
14
+ {%- endif %}
15
+ {%- if add_vision_id %}
16
+ {{- 'Picture ' ~ image_count.value ~ ': ' }}
17
+ {%- endif %}
18
+ {{- '<|vision_start|><|image_pad|><|vision_end|>' }}
19
+ {%- elif 'video' in item or item.type == 'video' %}
20
+ {%- if is_system_content %}
21
+ {{- raise_exception('System message cannot contain videos.') }}
22
+ {%- endif %}
23
+ {%- if do_vision_count %}
24
+ {%- set video_count.value = video_count.value + 1 %}
25
+ {%- endif %}
26
+ {%- if add_vision_id %}
27
+ {{- 'Video ' ~ video_count.value ~ ': ' }}
28
+ {%- endif %}
29
+ {{- '<|vision_start|><|video_pad|><|vision_end|>' }}
30
+ {%- elif 'text' in item %}
31
+ {{- item.text }}
32
+ {%- else %}
33
+ {{- raise_exception('Unexpected item type in content.') }}
34
+ {%- endif %}
35
+ {%- endfor %}
36
+ {%- elif content is none or content is undefined %}
37
+ {{- '' }}
38
+ {%- else %}
39
+ {{- raise_exception('Unexpected content type.') }}
40
+ {%- endif %}
41
+ {%- endmacro %}
42
+ {%- if not messages %}
43
+ {{- raise_exception('No messages provided.') }}
44
+ {%- endif %}
45
+ {%- set num_sys = 0 %}
46
+ {%- set merged_system = '' %}
47
+ {%- if messages[0].role == 'system' or messages[0].role == 'developer' %}
48
+ {%- set first = render_content(messages[0].content, false, true)|trim %}
49
+ {%- if messages|length > 1 and (messages[1].role == 'system' or messages[1].role == 'developer') %}
50
+ {%- set second = render_content(messages[1].content, false, true)|trim %}
51
+ {%- set merged_system = first + '\n' + second %}
52
+ {%- set num_sys = 2 %}
53
+ {%- else %}
54
+ {%- set merged_system = first %}
55
+ {%- set num_sys = 1 %}
56
+ {%- endif %}
57
+ {%- endif %}
58
+ {%- if tools and tools is iterable and tools is not mapping %}
59
+ {{- '<|im_start|>system\n' }}
60
+ {{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }}
61
+ {%- for tool in tools %}
62
+ {{- "\n" }}
63
+ {{- tool | tojson }}
64
+ {%- endfor %}
65
+ {{- "\n</tools>" }}
66
+ {{- '\n\nIf you choose to call a function ONLY reply in the following format with NO suffix:\n\n<tool_call>\n<function=example_function_name>\n<parameter=example_parameter_1>\nvalue_1\n</parameter>\n<parameter=example_parameter_2>\nThis is the value for the second parameter\nthat can span\nmultiple lines\n</parameter>\n</function>\n</tool_call>\n\n<IMPORTANT>\nReminder:\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\n- Required parameters MUST be specified\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\n</IMPORTANT>' }}
67
+ {%- if merged_system %}
68
+ {{- '\n\n' + merged_system }}
69
+ {%- endif %}
70
+ {{- '<|im_end|>\n' }}
71
+ {%- else %}
72
+ {%- if merged_system %}
73
+ {{- '<|im_start|>system\n' + merged_system + '<|im_end|>\n' }}
74
+ {%- endif %}
75
+ {%- endif %}
76
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
77
+ {%- for message in messages[::-1] %}
78
+ {%- set index = (messages|length - 1) - loop.index0 %}
79
+ {%- if ns.multi_step_tool and message.role == "user" %}
80
+ {%- set content = render_content(message.content, false)|trim %}
81
+ {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}
82
+ {%- set ns.multi_step_tool = false %}
83
+ {%- set ns.last_query_index = index %}
84
+ {%- endif %}
85
+ {%- endif %}
86
+ {%- endfor %}
87
+ {%- for message in messages %}
88
+ {%- if loop.index0 >= num_sys and message.role != "system" and message.role != "developer" %}
89
+ {%- set content = render_content(message.content, true)|trim %}
90
+ {%- if message.role == "user" %}
91
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
92
+ {%- elif message.role == "assistant" %}
93
+ {%- set reasoning_content = '' %}
94
+ {%- if message.reasoning_content is string %}
95
+ {%- set reasoning_content = message.reasoning_content %}
96
+ {%- else %}
97
+ {%- if '</think>' in content %}
98
+ {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
99
+ {%- set content = content.split('</think>')[-1].lstrip('\n') %}
100
+ {%- endif %}
101
+ {%- endif %}
102
+ {%- set reasoning_content = reasoning_content|trim %}
103
+ {%- if loop.index0 > ns.last_query_index %}
104
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }}
105
+ {%- else %}
106
+ {{- '<|im_start|>' + message.role + '\n' + content }}
107
+ {%- endif %}
108
+ {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
109
+ {%- for tool_call in message.tool_calls %}
110
+ {%- if tool_call.function is defined %}
111
+ {%- set tool_call = tool_call.function %}
112
+ {%- endif %}
113
+ {%- if loop.first %}
114
+ {%- if content|trim %}
115
+ {{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
116
+ {%- else %}
117
+ {{- '<tool_call>\n<function=' + tool_call.name + '>\n' }}
118
+ {%- endif %}
119
+ {%- else %}
120
+ {{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
121
+ {%- endif %}
122
+ {%- if tool_call.arguments is mapping %}
123
+ {%- for args_name in tool_call.arguments %}
124
+ {%- set args_value = tool_call.arguments[args_name] %}
125
+ {{- '<parameter=' + args_name + '>\n' }}
126
+ {%- set args_value = args_value | tojson | safe if args_value is mapping or (args_value is sequence and args_value is not string) else args_value | string %}
127
+ {{- args_value }}
128
+ {{- '\n</parameter>\n' }}
129
+ {%- endfor %}
130
+ {%- endif %}
131
+ {{- '</function>\n</tool_call>' }}
132
+ {%- endfor %}
133
+ {%- endif %}
134
+ {{- '<|im_end|>\n' }}
135
+ {%- elif message.role == "tool" %}
136
+ {%- if loop.previtem and loop.previtem.role != "tool" %}
137
+ {{- '<|im_start|>user' }}
138
+ {%- endif %}
139
+ {{- '\n<tool_response>\n' }}
140
+ {{- content }}
141
+ {{- '\n</tool_response>' }}
142
+ {%- if not loop.last and loop.nextitem.role != "tool" %}
143
+ {{- '<|im_end|>\n' }}
144
+ {%- elif loop.last %}
145
+ {{- '<|im_end|>\n' }}
146
+ {%- endif %}
147
+ {%- endif %}
148
+ {%- endif %}
149
+ {%- endfor %}
150
+ {%- if add_generation_prompt %}
151
+ {{- '<|im_start|>assistant\n' }}
152
+ {%- if enable_thinking is defined and enable_thinking is false %}
153
+ {{- '<think>\n\n</think>\n\n' }}
154
+ {%- else %}
155
+ {{- '<think>\n' }}
156
+ {%- endif %}
157
+ {%- endif %}
158
+ {#- Unsloth fixes - developer role, tool calling #}
config.json ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3_5ForConditionalGeneration"
4
+ ],
5
+ "torch_dtype": "bfloat16",
6
+ "image_token_id": 248056,
7
+ "model_name": "Qwen/Qwen3.5-4B",
8
+ "model_type": "qwen3_5",
9
+ "pad_token_id": 248044,
10
+ "text_config": {
11
+ "attention_bias": false,
12
+ "attention_dropout": 0.0,
13
+ "attn_output_gate": true,
14
+ "bos_token_id": null,
15
+ "torch_dtype": "bfloat16",
16
+ "eos_token_id": 248044,
17
+ "full_attention_interval": 4,
18
+ "head_dim": 256,
19
+ "hidden_act": "silu",
20
+ "hidden_size": 2560,
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 9216,
23
+ "layer_types": [
24
+ "linear_attention",
25
+ "linear_attention",
26
+ "linear_attention",
27
+ "full_attention",
28
+ "linear_attention",
29
+ "linear_attention",
30
+ "linear_attention",
31
+ "full_attention",
32
+ "linear_attention",
33
+ "linear_attention",
34
+ "linear_attention",
35
+ "full_attention",
36
+ "linear_attention",
37
+ "linear_attention",
38
+ "linear_attention",
39
+ "full_attention",
40
+ "linear_attention",
41
+ "linear_attention",
42
+ "linear_attention",
43
+ "full_attention",
44
+ "linear_attention",
45
+ "linear_attention",
46
+ "linear_attention",
47
+ "full_attention",
48
+ "linear_attention",
49
+ "linear_attention",
50
+ "linear_attention",
51
+ "full_attention",
52
+ "linear_attention",
53
+ "linear_attention",
54
+ "linear_attention",
55
+ "full_attention"
56
+ ],
57
+ "linear_conv_kernel_dim": 4,
58
+ "linear_key_head_dim": 128,
59
+ "linear_num_key_heads": 16,
60
+ "linear_num_value_heads": 32,
61
+ "linear_value_head_dim": 128,
62
+ "mamba_ssm_dtype": "float32",
63
+ "max_position_embeddings": 262144,
64
+ "mlp_only_layers": [],
65
+ "model_type": "qwen3_5_text",
66
+ "mtp_num_hidden_layers": 1,
67
+ "mtp_use_dedicated_embeddings": false,
68
+ "num_attention_heads": 16,
69
+ "num_hidden_layers": 32,
70
+ "num_key_value_heads": 4,
71
+ "pad_token_id": null,
72
+ "partial_rotary_factor": 0.25,
73
+ "rms_norm_eps": 1e-06,
74
+ "rope_parameters": {
75
+ "mrope_interleaved": true,
76
+ "mrope_section": [
77
+ 11,
78
+ 11,
79
+ 10
80
+ ],
81
+ "partial_rotary_factor": 0.25,
82
+ "rope_theta": 10000000,
83
+ "rope_type": "default"
84
+ },
85
+ "tie_word_embeddings": true,
86
+ "use_cache": false,
87
+ "vocab_size": 248320
88
+ },
89
+ "tie_word_embeddings": true,
90
+ "unsloth_version": "2026.6.3",
91
+ "video_token_id": 248057,
92
+ "vision_config": {
93
+ "deepstack_visual_indexes": [],
94
+ "depth": 24,
95
+ "torch_dtype": "bfloat16",
96
+ "hidden_act": "gelu_pytorch_tanh",
97
+ "hidden_size": 1024,
98
+ "in_channels": 3,
99
+ "initializer_range": 0.02,
100
+ "intermediate_size": 4096,
101
+ "model_type": "qwen3_5",
102
+ "num_heads": 16,
103
+ "num_position_embeddings": 2304,
104
+ "out_hidden_size": 2560,
105
+ "patch_size": 16,
106
+ "spatial_merge_size": 2,
107
+ "temporal_patch_size": 2
108
+ },
109
+ "vision_end_token_id": 248054,
110
+ "vision_start_token_id": 248053
111
+ }
processor_config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image_processor": {
3
+ "data_format": "channels_first",
4
+ "do_convert_rgb": true,
5
+ "do_normalize": true,
6
+ "do_rescale": true,
7
+ "do_resize": true,
8
+ "image_mean": [
9
+ 0.5,
10
+ 0.5,
11
+ 0.5
12
+ ],
13
+ "image_processor_type": "Qwen2VLImageProcessor",
14
+ "image_std": [
15
+ 0.5,
16
+ 0.5,
17
+ 0.5
18
+ ],
19
+ "merge_size": 2,
20
+ "patch_size": 16,
21
+ "resample": 3,
22
+ "rescale_factor": 0.00392156862745098,
23
+ "size": {
24
+ "longest_edge": 16777216,
25
+ "shortest_edge": 65536
26
+ },
27
+ "temporal_patch_size": 2
28
+ },
29
+ "processor_class": "Qwen3VLProcessor",
30
+ "video_processor": {
31
+ "data_format": "channels_first",
32
+ "default_to_square": true,
33
+ "do_convert_rgb": true,
34
+ "do_normalize": true,
35
+ "do_rescale": true,
36
+ "do_resize": true,
37
+ "do_sample_frames": true,
38
+ "fps": 2,
39
+ "image_mean": [
40
+ 0.5,
41
+ 0.5,
42
+ 0.5
43
+ ],
44
+ "image_std": [
45
+ 0.5,
46
+ 0.5,
47
+ 0.5
48
+ ],
49
+ "max_frames": 768,
50
+ "merge_size": 2,
51
+ "min_frames": 4,
52
+ "patch_size": 16,
53
+ "resample": 3,
54
+ "rescale_factor": 0.00392156862745098,
55
+ "return_metadata": false,
56
+ "size": {
57
+ "longest_edge": 25165824,
58
+ "shortest_edge": 4096
59
+ },
60
+ "temporal_patch_size": 2,
61
+ "video_processor_type": "Qwen3VLVideoProcessor"
62
+ }
63
+ }
qwen3.5-4B-super-coder.BF16-mmproj.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:020a4a0203074c2e3925b676f19784ae6ceed79448abc7b02a4389a6ab1a4687
3
+ size 675568864
qwen3.5-4B-super-coder.Q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb304049c80e71b5fddc967f41e0a95a362b8094b955f10a72a9eecb91155578
3
+ size 2611783040
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87a7830d63fcf43bf241c3c5242e96e62dd3fdc29224ca26fed8ea333db72de4
3
+ size 19989343
tokenizer_config.json ADDED
@@ -0,0 +1,299 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "audio_bos_token": "<|audio_start|>",
4
+ "audio_eos_token": "<|audio_end|>",
5
+ "audio_token": "<|audio_pad|>",
6
+ "backend": "tokenizers",
7
+ "bos_token": null,
8
+ "clean_up_tokenization_spaces": false,
9
+ "eos_token": "<|im_end|>",
10
+ "errors": "replace",
11
+ "image_token": "<|image_pad|>",
12
+ "is_local": false,
13
+ "model_max_length": 262144,
14
+ "model_specific_special_tokens": {
15
+ "audio_bos_token": "<|audio_start|>",
16
+ "audio_eos_token": "<|audio_end|>",
17
+ "audio_token": "<|audio_pad|>",
18
+ "image_token": "<|image_pad|>",
19
+ "video_token": "<|video_pad|>",
20
+ "vision_bos_token": "<|vision_start|>",
21
+ "vision_eos_token": "<|vision_end|>"
22
+ },
23
+ "pad_token": "<|vision_pad|>",
24
+ "padding_side": "right",
25
+ "pretokenize_regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?[\\p{L}\\p{M}]+|\\p{N}| ?[^\\s\\p{L}\\p{M}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+",
26
+ "processor_class": "Qwen3VLProcessor",
27
+ "split_special_tokens": false,
28
+ "tokenizer_class": "TokenizersBackend",
29
+ "unk_token": null,
30
+ "video_token": "<|video_pad|>",
31
+ "vision_bos_token": "<|vision_start|>",
32
+ "vision_eos_token": "<|vision_end|>",
33
+ "added_tokens_decoder": {
34
+ "248044": {
35
+ "content": "<|endoftext|>",
36
+ "single_word": false,
37
+ "lstrip": false,
38
+ "rstrip": false,
39
+ "normalized": false,
40
+ "special": true
41
+ },
42
+ "248045": {
43
+ "content": "<|im_start|>",
44
+ "single_word": false,
45
+ "lstrip": false,
46
+ "rstrip": false,
47
+ "normalized": false,
48
+ "special": true
49
+ },
50
+ "248046": {
51
+ "content": "<|im_end|>",
52
+ "single_word": false,
53
+ "lstrip": false,
54
+ "rstrip": false,
55
+ "normalized": false,
56
+ "special": true
57
+ },
58
+ "248047": {
59
+ "content": "<|object_ref_start|>",
60
+ "single_word": false,
61
+ "lstrip": false,
62
+ "rstrip": false,
63
+ "normalized": false,
64
+ "special": true
65
+ },
66
+ "248048": {
67
+ "content": "<|object_ref_end|>",
68
+ "single_word": false,
69
+ "lstrip": false,
70
+ "rstrip": false,
71
+ "normalized": false,
72
+ "special": true
73
+ },
74
+ "248049": {
75
+ "content": "<|box_start|>",
76
+ "single_word": false,
77
+ "lstrip": false,
78
+ "rstrip": false,
79
+ "normalized": false,
80
+ "special": true
81
+ },
82
+ "248050": {
83
+ "content": "<|box_end|>",
84
+ "single_word": false,
85
+ "lstrip": false,
86
+ "rstrip": false,
87
+ "normalized": false,
88
+ "special": true
89
+ },
90
+ "248051": {
91
+ "content": "<|quad_start|>",
92
+ "single_word": false,
93
+ "lstrip": false,
94
+ "rstrip": false,
95
+ "normalized": false,
96
+ "special": true
97
+ },
98
+ "248052": {
99
+ "content": "<|quad_end|>",
100
+ "single_word": false,
101
+ "lstrip": false,
102
+ "rstrip": false,
103
+ "normalized": false,
104
+ "special": true
105
+ },
106
+ "248053": {
107
+ "content": "<|vision_start|>",
108
+ "single_word": false,
109
+ "lstrip": false,
110
+ "rstrip": false,
111
+ "normalized": false,
112
+ "special": true
113
+ },
114
+ "248054": {
115
+ "content": "<|vision_end|>",
116
+ "single_word": false,
117
+ "lstrip": false,
118
+ "rstrip": false,
119
+ "normalized": false,
120
+ "special": true
121
+ },
122
+ "248055": {
123
+ "content": "<|vision_pad|>",
124
+ "single_word": false,
125
+ "lstrip": false,
126
+ "rstrip": false,
127
+ "normalized": false,
128
+ "special": true
129
+ },
130
+ "248056": {
131
+ "content": "<|image_pad|>",
132
+ "single_word": false,
133
+ "lstrip": false,
134
+ "rstrip": false,
135
+ "normalized": false,
136
+ "special": true
137
+ },
138
+ "248057": {
139
+ "content": "<|video_pad|>",
140
+ "single_word": false,
141
+ "lstrip": false,
142
+ "rstrip": false,
143
+ "normalized": false,
144
+ "special": true
145
+ },
146
+ "248058": {
147
+ "content": "<tool_call>",
148
+ "single_word": false,
149
+ "lstrip": false,
150
+ "rstrip": false,
151
+ "normalized": false,
152
+ "special": false
153
+ },
154
+ "248059": {
155
+ "content": "</tool_call>",
156
+ "single_word": false,
157
+ "lstrip": false,
158
+ "rstrip": false,
159
+ "normalized": false,
160
+ "special": false
161
+ },
162
+ "248060": {
163
+ "content": "<|fim_prefix|>",
164
+ "single_word": false,
165
+ "lstrip": false,
166
+ "rstrip": false,
167
+ "normalized": false,
168
+ "special": false
169
+ },
170
+ "248061": {
171
+ "content": "<|fim_middle|>",
172
+ "single_word": false,
173
+ "lstrip": false,
174
+ "rstrip": false,
175
+ "normalized": false,
176
+ "special": false
177
+ },
178
+ "248062": {
179
+ "content": "<|fim_suffix|>",
180
+ "single_word": false,
181
+ "lstrip": false,
182
+ "rstrip": false,
183
+ "normalized": false,
184
+ "special": false
185
+ },
186
+ "248063": {
187
+ "content": "<|fim_pad|>",
188
+ "single_word": false,
189
+ "lstrip": false,
190
+ "rstrip": false,
191
+ "normalized": false,
192
+ "special": false
193
+ },
194
+ "248064": {
195
+ "content": "<|repo_name|>",
196
+ "single_word": false,
197
+ "lstrip": false,
198
+ "rstrip": false,
199
+ "normalized": false,
200
+ "special": false
201
+ },
202
+ "248065": {
203
+ "content": "<|file_sep|>",
204
+ "single_word": false,
205
+ "lstrip": false,
206
+ "rstrip": false,
207
+ "normalized": false,
208
+ "special": false
209
+ },
210
+ "248066": {
211
+ "content": "<tool_response>",
212
+ "single_word": false,
213
+ "lstrip": false,
214
+ "rstrip": false,
215
+ "normalized": false,
216
+ "special": false
217
+ },
218
+ "248067": {
219
+ "content": "</tool_response>",
220
+ "single_word": false,
221
+ "lstrip": false,
222
+ "rstrip": false,
223
+ "normalized": false,
224
+ "special": false
225
+ },
226
+ "248068": {
227
+ "content": "<think>",
228
+ "single_word": false,
229
+ "lstrip": false,
230
+ "rstrip": false,
231
+ "normalized": false,
232
+ "special": false
233
+ },
234
+ "248069": {
235
+ "content": "</think>",
236
+ "single_word": false,
237
+ "lstrip": false,
238
+ "rstrip": false,
239
+ "normalized": false,
240
+ "special": false
241
+ },
242
+ "248070": {
243
+ "content": "<|audio_start|>",
244
+ "single_word": false,
245
+ "lstrip": false,
246
+ "rstrip": false,
247
+ "normalized": false,
248
+ "special": true
249
+ },
250
+ "248071": {
251
+ "content": "<|audio_end|>",
252
+ "single_word": false,
253
+ "lstrip": false,
254
+ "rstrip": false,
255
+ "normalized": false,
256
+ "special": true
257
+ },
258
+ "248072": {
259
+ "content": "<tts_pad>",
260
+ "single_word": false,
261
+ "lstrip": false,
262
+ "rstrip": false,
263
+ "normalized": false,
264
+ "special": true
265
+ },
266
+ "248073": {
267
+ "content": "<tts_text_bos>",
268
+ "single_word": false,
269
+ "lstrip": false,
270
+ "rstrip": false,
271
+ "normalized": false,
272
+ "special": true
273
+ },
274
+ "248074": {
275
+ "content": "<tts_text_eod>",
276
+ "single_word": false,
277
+ "lstrip": false,
278
+ "rstrip": false,
279
+ "normalized": false,
280
+ "special": true
281
+ },
282
+ "248075": {
283
+ "content": "<tts_text_bos_single>",
284
+ "single_word": false,
285
+ "lstrip": false,
286
+ "rstrip": false,
287
+ "normalized": false,
288
+ "special": true
289
+ },
290
+ "248076": {
291
+ "content": "<|audio_pad|>",
292
+ "single_word": false,
293
+ "lstrip": false,
294
+ "rstrip": false,
295
+ "normalized": false,
296
+ "special": true
297
+ }
298
+ }
299
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1da83ab52b01141c6bf8eb27d4a4bfbc8573cd761a0485c3db5145825151b2c0
3
+ size 5713