Qwen3.8 27B · Qwen · Boollm (GGUF)
Qwen3.8 27B, tuned by Boollm for everyday writing, in one standalone GGUF file.
This is Qwen's own Qwen3.8-27B with a small writing tune merged into its
weights, quantized to Q4_K_M for llama.cpp. It is not the original Qwen model, and it is not an official Qwen
release. It is one file: download Qwen3.8-27B-Boollm-Q4_K_M.gguf and run it. No adapter, nothing else needed.
Read the results before choosing it. In our tests this model is not better than plain Qwen3.8 27B overall. It writes better first drafts and follow-up drafts, but it is weaker at coding (527/664 vs 545/664) and slightly weaker on maths. If you mainly write code, plain Qwen3.8 27B is the better choice.
Contents
Files
Download one file: Qwen3.8-27B-Boollm-Q4_K_M.gguf. That is the whole model.
| File | What it is | Size | SHA-256 |
|---|---|---|---|
Qwen3.8-27B-Boollm-Q4_K_M.gguf | The model (writing tune merged in, Q4_K_M) | 16,810,714,432 bytes (15.7 GiB) | 5ba3d93c7c5c757cec8df67bf1897fb56489cc5140877fe5f6a1a0a5ffa5d59e |
optional-vision/mmproj-Qwen3.8-27B-Q8_0.gguf | Optional: image reader, only if you want to send pictures | 629,247,072 bytes (600 MiB) | bd597031904a4017679b418ac993c28d58ec800603956cee2718dcd9f2ee0884 |
You don't need the optional-vision folder for text. llama.cpp keeps the image reader in a separate file, so it can't
be built into the model file; it is Qwen's own vision encoder, unchanged by the tune.
Memory: about 17 GB for the model plus the context cache (a few GB at 8K–16K tokens). A 32 GB Mac, or a GPU with 24 GB+ VRAM with partial CPU offload, is a comfortable minimum.
Quick start
Download the one file:
hf download Boollm/Qwen3.8-27B-GGUF Qwen3.8-27B-Boollm-Q4_K_M.gguf --local-dir .
Run it with llama.cpp (OpenAI-compatible API on port 8080):
llama-server -m Qwen3.8-27B-Boollm-Q4_K_M.gguf --jinja -ngl 99 -c 16384
The chat template is embedded in the GGUF (Qwen's own template); use --jinja so llama.cpp applies it.
Built and tested with llama.cpp release b10516.
Optional: send pictures
Download the image reader as well and pass it with --mmproj:
hf download Boollm/Qwen3.8-27B-GGUF optional-vision/mmproj-Qwen3.8-27B-Q8_0.gguf --local-dir .
llama-server -m Qwen3.8-27B-Boollm-Q4_K_M.gguf --mmproj optional-vision/mmproj-Qwen3.8-27B-Q8_0.gguf --jinja -ngl 99 -c 16384
Recommended settings
All results on this page were measured with thinking switched off, which is how the Boollm app runs it:
{ "chat_template_kwargs": { "enable_thinking": false } }
- Sampling used in testing (the Boollm app's settings): temperature 0.7, top-k 40, top-p 0.9.
- Context: tested with an 8K-token context per request. The base model supports longer context; long-context behaviour of this tune was not tested.
- Thinking mode still works (the template is unchanged) but the tune was trained and tested without it.
Results
Same tests, same settings and same llama.cpp build for plain Qwen3.8 27B Q4_K_M (made from Qwen's BF16 weights) and this file. These are Boollm's own tests, not an independent benchmark.
Summary
| Test | Plain Qwen3.8 27B | This model | Change |
|---|---|---|---|
| App test, overall (1,222 checks) | 1119 | 1118 | −1 |
| Writing tasks only (780 checks) | 685 | 684 | −1 |
| Replies to real-style emails (50 cases × 3 checks) | 118/150 | 118/150 | 0 |
| Coding, HumanEval (164) | — | 145/164 (88.4%) | |
| Coding, MBPP test split (500) | — | 382/500 (76.4%) | |
| Coding total (664) | 545/664 (82.1%) | 527/664 (79.4%) | −18 |
| Vision (62 image questions) | 59/62 | 59/62 | 0 |
App test by category
The app test covers the tasks the Boollm app actually sends to the model. Each answer is checked by rules first (required names, numbers, dates, length limits, no invented facts) and then by a separate judge model that sees the whole conversation; failed answers get a second, more careful judge pass.
| Category | What it checks | Plain | This model |
|---|---|---|---|
| draft | Write an email/message from short notes, keeping every given fact | 70/100 | 79/100 |
| followup | Change a draft on request ("make it shorter", "say Thursday instead") | 42/50 | 46/50 |
| notext | Answer about a picture or file with little or no text | 17/20 | 19/20 |
| reply | Reply to an incoming email as the user | 50/60 | 49/60 |
| compose | New email from a brief | 42/50 | 41/50 |
| humanize | Rewrite AI-sounding text so it reads naturally, facts kept | 95/100 | 92/100 |
| rephrase | Rewrite in a given tone (friendly, formal, shorter…) | 135/140 | 135/140 |
| summarize | Summarize a text or thread | 49/50 | 48/50 |
| alternatives | Give three different versions | 40/40 | 40/40 |
| voice_write | Write in the user's own style from their samples | 18/40 | 10/40 |
| voice_learn | Describe a user's writing style from samples | 10/10 | 10/10 |
| style | Writing-style checks | 20/20 | 20/20 |
| aiscore | AI-sounding-text detection support | 114/120 | 114/120 |
| everyday | Everyday questions | 79/80 | 79/80 |
| facts | Factual questions | 50/50 | 50/50 |
| math | Arithmetic and word problems | 99/100 | 97/100 |
| live | Says it can't know live information instead of guessing | 40/40 | 40/40 |
| identity | Knows what it is and where it runs | 30/30 | 30/30 |
| attach | Questions about attached documents | 60/60 | 60/60 |
| vision | Questions about images | 59/62 | 59/62 |
| Total | 1119/1222 | 1118/1222 |
voice_write is the noisiest category in our suite: scores for the same model move by several points between runs.
What this means
- Better: first drafts (+9) and follow-up edits to drafts (+4).
- Same: replies to emails, facts, everyday questions, vision, documents.
- Worse: coding (−18 of 664), style imitation, and 1–3 points on humanize, compose, reply, summarize and maths.
- Overall it is level with plain Qwen3.8 27B, not ahead of it.
Intended use
- Writing assistants: drafting emails and messages from notes, editing drafts on request, replying to email threads.
- General chat and everyday questions, document and image questions, as with the base model.
- Local, offline use with llama.cpp and apps built on it.
Not recommended as a coding model (use plain Qwen3.8 27B), or for medical, legal, financial or safety-critical decisions without human review.
How it was made
Base model
Qwen/Qwen3.8-27B, commit 1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0.
Every downloaded file was checked against the repository (SHA-256 for weight files, git blob IDs for the rest).
Training data
2,811 examples (2,671 training, 140 validation) of the kinds of requests Boollm users make:
| Kind | Examples |
|---|---|
| Coding tasks (MBPP train/validation plus new tasks with tests) | 823 |
| Rewrites (tone changes, humanize, shorten) | 633 |
| Everyday questions | 421 |
| Drafts from notes | 284 |
| Replies to email threads | 263 |
| Notes and summaries | 195 |
| Questions about attached files | 192 |
- Answers were written by Qwen3.8-27B itself, with thinking on (self-distillation): the tune teaches the model to give its thought-through answer directly when thinking is off. No answers from closed models were used.
- Coding answers were kept only if their tests passed in a sandbox. Other answers were kept only if they passed rule checks (facts kept, no invented names/dates/numbers, no copying the input) and a review by the same model.
- Held out: HumanEval and the MBPP test split were never used for training. The app test and reply cases were generated separately from the training data and never trained on.
- The system prompt in training is Boollm's desktop answer prompt.
Training
| Setting | Value |
|---|---|
| Method | LoRA on a 4-bit MLX copy of the base (QLoRA-style), merged afterwards into the BF16 weights |
| Rank / scale | 16 / 8.0 (alpha 128) |
| Layers | All language-model layers: attention q/k/v/o, linear-attention in_proj_qkv/in_proj_z/out_proj, MLP gate/up/down |
| Optimizer | AdamW, learning rate 5e-5, cosine decay to 1e-6, 30 warm-up steps |
| Batch | 2 × 4 gradient accumulation (8 per update) |
| Max sequence length | 3,072 tokens, loss on answers only (prompt masked) |
| Checkpoint used | Step 500 (125 updates, about 1,000 examples seen) |
| Hardware | Apple M5 Pro, 64 GB, MLX |
Validation loss went from 0.563 (start) to 0.355 (step 250) to 0.344 (step 500), then rose (0.377 at step 1,000, about 0.395 later) as the model began to overfit. We kept step 500. A full run to the end of training and a step-1,000 checkpoint both scored lower on our tests.
Merge and quantization
- The LoRA was added into Qwen's BF16 language-model weights: W' = W + 8 · (A · B)ᵀ for each of the 400 tuned weight matrices. All other tensors, including the vision encoder, are unchanged.
- Converted to GGUF as Q8_0 with llama.cpp's
convert_hf_to_gguf.py(b10516). - Quantized to Q4_K_M with
llama-quantize --allow-requantize.
Step 2 used Q8_0 instead of BF16 because of disk space, so this file went through one more quantization than a direct BF16 → Q4_K_M conversion. All results above were measured on this exact file. A side-by-side check against plain Qwen Q4_K_M with the same tune loaded as a LoRA gave the same or near-identical answers on test prompts.
Limitations
- Not better than plain Qwen3.8 27B overall, and worse at coding.
- Tested in English only, with thinking off, on Boollm's own test sets. Other languages and thinking mode were not evaluated after tuning.
- Long-context behaviour beyond 8K tokens was not tested.
- Style imitation from a few writing samples is weak (10/40).
- Like any language model it can state wrong facts confidently, especially about recent events, which it cannot know. Check anything important.
- Only a Q4_K_M build is provided. Image input needs the separate optional image reader file.
License
Apache-2.0, the same license as Qwen3.8-27B.
This is a modified version of Qwen/Qwen3.8-27B. Modifications by Boollm: fine-tuned with LoRA on the data described above, the LoRA merged into the weights, and the result converted and quantized to GGUF. Qwen3.8 is made by the Qwen team at Alibaba; see their model card for the original model, its capabilities and its own evaluations. Boollm is not affiliated with or endorsed by the Qwen team.
Contact
Questions and issues: open a discussion on this repository, or see boollm.com/support.