Jackrong commited on
Commit
3379e36
·
0 Parent(s):

Add GGUF model weights, vision projector, and model card

Browse files

Qwopus3.8-27B-Coder-Flash-Q5_K_M.gguf
Qwopus3.8-27B-Coder-Flash-Q8_0.gguf
mmproj-F32.gguf vision projector
README.md model card
assets/model_hero.png
assets/benchmark_summary.png
assets/agent_evaluation.png
assets/showcase/five_story_pagoda_test.png
assets/showcase/seaside_town_3d_modeling_test.mp4
assets/showcase/seaside_town_3d_modeling_poster.jpg
.gitattributes file tracking

.gitattributes ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ mmproj-F32.gguf filter=lfs diff=lfs merge=lfs -text
37
+ Qwopus3.8-27B-Coder-Flash-Test1-MTP-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
38
+ Qwopus3.8-27B-Coder-Flash-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
39
+ Qwopus3.8-27B-Coder-Flash-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
40
+ assets/model_hero.png filter=lfs diff=lfs merge=lfs -text
41
+ assets/showcase/five_story_pagoda_test.png filter=lfs diff=lfs merge=lfs -text
42
+ assets/benchmark_summary.png filter=lfs diff=lfs merge=lfs -text
43
+ assets/showcase/seaside_town_3d_modeling_test.mp4 filter=lfs diff=lfs merge=lfs -text
Qwopus3.8-27B-Coder-Flash-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6e839dbafe64e8c2ce500baf5098c400c1aa5b89b762524815ac4740d18c2e0
3
+ size 19535702272
Qwopus3.8-27B-Coder-Flash-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1262b7bfe510a9d7ba5fce5f635febaba8550636e646d7ebd98bc0957f29e29
3
+ size 29047085312
README.md ADDED
@@ -0,0 +1,274 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/Qwen3.8-27B
3
+ language:
4
+ - en
5
+ - zh
6
+ library_name: transformers
7
+ license: apache-2.0
8
+ model_name: Qwopus3.8-27B-Coder-Flash
9
+ pipeline_tag: image-text-to-text
10
+ tags:
11
+ - gguf
12
+ - llama.cpp
13
+ - image-text-to-text
14
+ - vision
15
+ - multimodal
16
+ - conversational
17
+ - qwen3_5
18
+ - qwopus3_8
19
+ - transformers
20
+ - vllm
21
+ - fine-tuned
22
+ - coding
23
+ - code-generation
24
+ - reasoning
25
+ - tool-use
26
+ - agent
27
+ - efficient-inference
28
+ base_model_relation: quantized
29
+ ---
30
+
31
+ # ⚡ Qwopus3.8-27B-Coder-Flash
32
+
33
+ ![Qwopus3.8-27B-Coder-Flash — 27B coding, agentic reasoning, and efficient execution](assets/model_hero.png)
34
+
35
+ ## A coding-oriented Flash model for practical software work
36
+
37
+ **Qwopus3.8-27B-Coder-Flash** is positioned for coding, agentic reasoning, tool use, and efficient execution. It extends the Qwopus Flash philosophy to a 27B model focused on useful software-engineering work: understand the request, make a concrete change, inspect tool feedback, test the result, recover from errors, and deliver the artifact.
38
+
39
+ ## 🎨 Visual Coding Showcase
40
+
41
+ ### 3D Seaside Town Modeling Test
42
+
43
+ A recorded walkthrough of the 3D seaside town modeling test.
44
+
45
+ <video src="https://huggingface.co/Jackrong/Qwopus3.8-27B-Coder-Flash-GGUF/resolve/main/assets/showcase/seaside_town_3d_modeling_test.mp4" poster="https://huggingface.co/Jackrong/Qwopus3.8-27B-Coder-Flash-GGUF/resolve/main/assets/showcase/seaside_town_3d_modeling_poster.jpg" controls autoplay loop muted playsinline preload="metadata" width="100%" style="width: 100%; border-radius: 12px;"></video>
46
+
47
+ [Open or download the video](https://huggingface.co/Jackrong/Qwopus3.8-27B-Coder-Flash-GGUF/resolve/main/assets/showcase/seaside_town_3d_modeling_test.mp4)
48
+
49
+ ### Five-Story Pagoda Test
50
+
51
+ ![Five-Story Pagoda Test — rendered pagoda scene](assets/showcase/five_story_pagoda_test.png)
52
+
53
+ These examples illustrate visual coding outputs; they complement the quantitative evaluations below.
54
+
55
+ ## 💡 1. The Flash Philosophy — Make Each Token Count
56
+
57
+ Flash puts useful work first. For a coding model, quality means more than producing a plausible answer: it means implementing the requested change, handling relevant edge cases, and helping an agent reach a tested result.
58
+
59
+ The practical workflow is:
60
+
61
+ **Read → Reason → Call Tools → Edit → Test → Recover → Deliver**
62
+
63
+ Compact, purposeful reasoning is a design goal for this model. The evaluations in this card do not measure reasoning-token reduction, so this goal should not be read as a demonstrated reduction in reasoning length or a general speedup. The focus is to spend each turn on a useful next action while preserving code quality and task completion.
64
+
65
+ > [!TIP]
66
+ > **Efficiency includes correctness.** A short response is useful when it solves the task. The results below therefore report task outcomes and decoding throughput separately.
67
+
68
+ ## 🧪 2. Model Preparation and Collaboration
69
+
70
+ **Qwopus3.8-27B-Coder-Flash** is a coding-oriented fine-tune of [unsloth/Qwen3.8-27B](https://huggingface.co/unsloth/Qwen3.8-27B), based on [Qwen/Qwen3.8-27B](https://huggingface.co/Qwen/Qwen3.8-27B). It focuses on code generation, complex reasoning, and the repeated tool-use decisions involved in practical software work. The model uses the **Apache-2.0** license.
71
+
72
+ **Community support.** We thank [Kyle Hessling · @KyleHessling1 on X](https://x.com/KyleHessling1) for his collaboration and support across the Qwopus project, and [Unsloth](https://unsloth.ai/) for its open-source fine-tuning tools and contributions to the model-training community.
73
+
74
+ ## 📚 3. Dataset and Distillation Recipe
75
+
76
+ The model was fine-tuned on approximately **200,000 (~200K) code and complex-reasoning examples**, combining agent interactions, algorithm and code-generation tasks, and logical reasoning.
77
+
78
+ | Data component | Approximate scope and sources | Training focus |
79
+ | :--- | :--- | :--- |
80
+ | Agent interaction and tool use | ~20K examples, primarily distilled from **Qwen3.8-Flash-Max** | Multi-turn tool calling, tool selection and execution, environment-state tracking, error recovery, self-correction, context-aware planning, boundary awareness, and final delivery |
81
+ | Algorithm and code generation | Teacher sources: **Qwen3.8-Flash-Max**, **Qwen3.8-Max**, and **DeepSeek-V4-Flash** | Algorithm implementation, complex code generation, syntax correctness, edge cases, refactoring, debugging, structured reasoning, and instruction following |
82
+ | Logical reasoning and instruction tuning | High-quality reasoning and instruction data from the **NVIDIA Nemotron** series | Multi-step reasoning, logical consistency, complex instructions, structured responses, and alignment between reasoning and coding |
83
+
84
+ The agent-interaction examples are intended to help the model work through the repeated decisions in a software-engineering agent: choosing a tool, interpreting its output, updating the plan, correcting an invocation, and returning a finished artifact. Code-generation and reasoning examples complement these trajectories with algorithmic problem solving, instruction execution, and planning.
85
+
86
+ ## 📊 4. Benchmark Results — MMLU-Pro and Coding Quality
87
+
88
+ The visual summary below presents local evaluation results. **Coder-Flash** denotes **Qwopus3.8-27B-Coder-Flash**.
89
+
90
+ ![Local benchmark summary for Qwopus3.8-27B-Coder-Flash and reference models. The test sets and settings differ, so the rows are not a controlled ranking.](assets/benchmark_summary.png)
91
+
92
+ ### MMLU-Pro evaluation details
93
+
94
+ > [!NOTE]
95
+ > The reported local score is **93.87% (1,408 / 1,500)** on a balanced subset of **500 mathematics, 500 physics, and 500 chemistry questions**. The run used **zero-shot chain-of-thought (CoT)**; this is a local subset result, distinct from the official five-shot MMLU-Pro protocol.
96
+
97
+ ### Throughput and output-length notes
98
+
99
+ The recorded decoder-only throughput is calculated from the number of generated tokens divided by the sum of the requests' decoding times. It is **not** the wall-clock throughput of the entire concurrent evaluation. Results collected under different runtime conditions should not be treated as strict end-to-end comparisons.
100
+
101
+ The aggregate `raw_output` character counts are **9,576,855** for this model, **7,949,546** for Qwopus3.8-27B-Flash, and **8,824,213** for Qwen3.8 Base. Character count is not token count and does not, by itself, establish inference efficiency.
102
+
103
+ ## ⚡ 5. Efficiency — Purposeful Reasoning and Practical Inference
104
+
105
+ The Flash design goal is to keep reasoning directed toward the next useful action in a coding or tool-use workflow. This evaluation records a decoder-only throughput of **8.973 tok/s** for Qwopus3.8-27B-Coder-Flash. The corresponding reference figures are **9.347 tok/s** for Qwopus3.8-27B-Flash and **8.284 tok/s** for Qwen3.8 Base.
106
+
107
+ No end-to-end acceleration, memory footprint, energy use, token savings, or reduction in reasoning length is reported here. Those measurements require their own documented test conditions.
108
+
109
+ ## 🍎 6. Practical Agent Evaluation
110
+
111
+ Two local evaluations provide separate views of coding-agent behavior.
112
+
113
+ ### Agentic software engineering — 9 / 9
114
+
115
+ The coding-agent test covers three concrete changes:
116
+
117
+ 1. Repair a function that merges overlapping intervals.
118
+ 2. Add a case-sensitivity parameter to a record-search function.
119
+ 3. Add a `drop_remainder` parameter to a chunking function.
120
+
121
+ Each task was run with three different seeds and checked with task-specific tests. The model passed **9 / 9 runs (100%)** in this set. This is a small, targeted local evaluation, not a general software-engineering benchmark or a repository-scale success estimate.
122
+
123
+ ### Agent error recovery — 144 episodes
124
+
125
+ A separate controlled command-line task asked an agent to turn four rows of telemetry into a JSON summary file. Episodes varied prior-context fixtures, error placement, temperature, and random seed. Scenarios included missing arguments, an invalid output format, an incorrect input path, inspecting tool feedback and help/configuration, checking the filesystem, correcting a tool invocation, and delivering the final artifact.
126
+
127
+ ![Separate local agent evaluation signals: Coding Agent 9/9, strict final delivery 135/144, artifact assertions 140/144, and no candidate repeated-failure loops detected by the heuristic.](assets/agent_evaluation.png)
128
+
129
+ ## ⚙️ 7. Inference Examples
130
+
131
+ ### Checkpoint and runtime
132
+
133
+ Use **Transformers 5.8.0 or newer** for the Qwen3.8 processor, together with a compatible PyTorch installation. The full checkpoint uses the `Qwen3_5ForConditionalGeneration` architecture. BF16 weights alone need approximately **56 GB** of memory, plus additional space for the runtime, activations, and cache. The vLLM example targets a Linux machine with a supported NVIDIA GPU and sufficient VRAM; adjust tensor parallelism for your hardware. See the [Transformers architecture documentation](https://huggingface.co/docs/transformers/model_doc/qwen3_5) and the [official vLLM Qwen3.8 recipe](https://recipes.vllm.ai/Qwen/Qwen3.8-27B) for runtime details.
134
+
135
+ Both examples keep thinking enabled and explicitly use `reasoning_effort="xhigh"`. The supported effort values are `low`, `medium`, and `xhigh`. The output limits below are starting points for a short coding prompt; increase them when a task requires longer reasoning or code.
136
+
137
+ ### Transformers — local Python inference
138
+
139
+ Install the dependencies in a dedicated Python environment:
140
+
141
+ ```bash
142
+ python -m pip install -U "transformers>=5.8.0" accelerate torch torchvision
143
+ export MODEL_PATH="/path/to/Qwopus3.8-27B-Coder-Flash"
144
+ ```
145
+
146
+ ```python
147
+ import os
148
+
149
+ import torch
150
+ from transformers import AutoProcessor, Qwen3_5ForConditionalGeneration
151
+
152
+ model_path = os.environ["MODEL_PATH"]
153
+ processor = AutoProcessor.from_pretrained(model_path)
154
+ model = Qwen3_5ForConditionalGeneration.from_pretrained(
155
+ model_path,
156
+ dtype=torch.bfloat16,
157
+ device_map="auto",
158
+ ).eval()
159
+
160
+ messages = [
161
+ {
162
+ "role": "user",
163
+ "content": [
164
+ {
165
+ "type": "text",
166
+ "text": "Write a Python function that merges overlapping intervals. Include tests.",
167
+ }
168
+ ],
169
+ }
170
+ ]
171
+ inputs = processor.apply_chat_template(
172
+ messages,
173
+ tokenize=True,
174
+ add_generation_prompt=True,
175
+ return_dict=True,
176
+ return_tensors="pt",
177
+ enable_thinking=True,
178
+ reasoning_effort="xhigh",
179
+ ).to(model.device)
180
+
181
+ with torch.inference_mode():
182
+ output_ids = model.generate(
183
+ **inputs,
184
+ max_new_tokens=8192,
185
+ do_sample=True,
186
+ temperature=1.0,
187
+ top_p=0.95,
188
+ top_k=20,
189
+ )
190
+
191
+ generated_ids = output_ids[:, inputs["input_ids"].shape[1]:]
192
+ print(processor.batch_decode(generated_ids, skip_special_tokens=True)[0])
193
+ ```
194
+
195
+ ### vLLM — OpenAI-compatible server
196
+
197
+ Use a separate environment for vLLM so that it can install its compatible PyTorch dependencies:
198
+
199
+ ```bash
200
+ python -m pip install -U "vllm>=0.17.0" "transformers>=5.8.0" openai
201
+ export MODEL_PATH="/path/to/Qwopus3.8-27B-Coder-Flash"
202
+
203
+ vllm serve "$MODEL_PATH" \
204
+ --served-model-name qwopus-coder-flash \
205
+ --host 127.0.0.1 \
206
+ --port 8000 \
207
+ --dtype bfloat16 \
208
+ --tensor-parallel-size 1 \
209
+ --max-model-len 16384 \
210
+ --reasoning-parser qwen3
211
+ ```
212
+
213
+ After the server is ready, run this client in another terminal:
214
+
215
+ ```python
216
+ from openai import OpenAI
217
+
218
+ client = OpenAI(
219
+ base_url="http://127.0.0.1:8000/v1",
220
+ api_key="EMPTY",
221
+ timeout=3600,
222
+ )
223
+ response = client.chat.completions.create(
224
+ model="qwopus-coder-flash",
225
+ messages=[
226
+ {
227
+ "role": "user",
228
+ "content": "Write a Python function that merges overlapping intervals. Include tests.",
229
+ }
230
+ ],
231
+ temperature=1.0,
232
+ top_p=0.95,
233
+ max_tokens=8192,
234
+ extra_body={
235
+ "top_k": 20,
236
+ "chat_template_kwargs": {
237
+ "enable_thinking": True,
238
+ "reasoning_effort": "xhigh",
239
+ },
240
+ },
241
+ )
242
+ print(response.choices[0].message.content)
243
+ ```
244
+
245
+ For automatic tool calling, add `--enable-auto-tool-choice --tool-call-parser qwen3_coder` to the server command and supply tool schemas in the client request. The application is responsible for executing tool calls and returning their results to the model.
246
+
247
+ ## 🧭 8. Intended Use and Limitations
248
+
249
+ Potential uses include:
250
+
251
+ - Coding assistance, including implementation, debugging, and refactoring.
252
+ - Software-engineering workflows where an agent reads files, uses tools, edits code, tests changes, and recovers from tool errors.
253
+ - Complex instruction-following and reasoning tasks.
254
+ - Local experimentation with compatible inference runtimes.
255
+
256
+ The reported evidence is limited to the specified local MMLU-Pro run, three seeded coding tasks, one controlled command-line error-recovery scenario, and the stated decoder-only throughput measurements. Performance on other benchmarks is not reported here. Benchmark protocol, task selection, runtime, and orchestration all affect interpretation.
257
+
258
+ Generated code and tool actions can still be incorrect, incomplete, or poorly adapted to a user's environment. Results from the small agent tests do not guarantee success on larger repositories, novel tools, longer work sessions, or different harnesses. Review generated code and tool actions before using them in consequential workflows.
259
+
260
+ ## 🙏 9. Acknowledgements and Citation
261
+
262
+ We thank the Qwen and NVIDIA Nemotron communities for their model and data contributions. We also recognize [Kyle Hessling (@KyleHessling1)](https://x.com/KyleHessling1) for collaboration and support across the Qwopus project, and [Unsloth](https://unsloth.ai/) for its open-source fine-tuning tools and community contributions.
263
+
264
+ If you use this model in your work, please cite:
265
+
266
+ ```bibtex
267
+ @misc{jackrong2026qwopus3827bcoderflash,
268
+ author = {Jackrong},
269
+ title = {Qwopus3.8-27B-Coder-Flash},
270
+ year = {2026},
271
+ howpublished = {Hugging Face},
272
+ url = {https://huggingface.co/Jackrong/Qwopus3.8-27B-Coder-Flash-GGUF}
273
+ }
274
+ ```
assets/agent_evaluation.png ADDED
assets/benchmark_summary.png ADDED

Git LFS Details

  • SHA256: 63fd3a35db920f71d4563cffed77961a4f977d5907af302cacfa100b441d5f96
  • Pointer size: 131 Bytes
  • Size of remote file: 123 kB
assets/model_hero.png ADDED

Git LFS Details

  • SHA256: 0377da647242b5faf95b10601f2ecc072eac9107335a2254a3b1bcb21ba03865
  • Pointer size: 131 Bytes
  • Size of remote file: 101 kB
assets/showcase/five_story_pagoda_test.png ADDED

Git LFS Details

  • SHA256: c10bf79f9d0a686dc4e603e1360cf07150267f277dc6f645818e5326f547e7f0
  • Pointer size: 131 Bytes
  • Size of remote file: 505 kB
assets/showcase/seaside_town_3d_modeling_poster.jpg ADDED
assets/showcase/seaside_town_3d_modeling_test.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:348eee3bd63b6512bf1d9478bfd4e0295ded529e2247359b67a1e492adae1119
3
+ size 5984937
mmproj-F32.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d03a2ef76cee06f8745d3e693a0a3643c92dfb674ff01ea70185abc0530449ff
3
+ size 1842940064