How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf TokenBender/Apprentice-v0.5
# Run inference directly in the terminal:
llama cli -hf TokenBender/Apprentice-v0.5
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf TokenBender/Apprentice-v0.5
# Run inference directly in the terminal:
llama cli -hf TokenBender/Apprentice-v0.5
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama serve -hf TokenBender/Apprentice-v0.5
# Run inference directly in the terminal:
./build/bin/llama cli -hf TokenBender/Apprentice-v0.5
Use Docker
docker model run hf.co/TokenBender/Apprentice-v0.5
Quick Links

Apprentice v0.5 (Qwen3.8-27B, 10.96 GB)

Apprentice v0.5 is a 10.96 GB drop-in GGUF extracted from frozen Qwen/Qwen3.8-27B using Chantless capability extraction โ€” zero LoRA, zero fine-tuning, zero speed tax.

I collected personal research trajectories over a 1.5-month period alongside DeepSWE trajectories present in the open, annotated them for recurrent issues, and extracted a 10.96 GB model that cures Qwen3.8's overthinking while keeping long-horizon coding intact. It runs on a 16 GB GPU or 24 GB MacBook with 64K lossless f16 KV cache on stock llama.cpp.

Built using Chantless - https://github.com/DeusExperiments/chantless


Results

Anthropic Perf Take-Home Headliner

Terminal-Bench 2.1

Overthinking Overview

Hesitation

Thinking Length

Doom-Loops

Clean Solves


Files & Provenance

File Size SHA-256 Description
Qwen3.8-27B-Apprentice-v0.5.gguf 10.96 GB d6ae6b2c117d1634d1b51f413a6cc62645e82f389c3e44146696290a5017de11 Final extracted GGUF ready for stock llama.cpp
masks/qwen38-27b-apprentice-v0.5-extract-mask.json 10.8 KB 884e04fea80fc6c8ca1c0f89f9b156c96885ca5e9f7b732af92aac5840946fb7 Stage-1 chantless.mask/v3 extraction mask
masks/qwen38-27b-apprentice-v0.5-overlay.json 4.5 KB 234e40a565e93f8695afdd14f83d3052e33b2c2804c793b4942e987a92b8a9a0 Stage-2 Apprentice v0.5 overlay mask (+0 B size delta)
  • Base model: Qwen/Qwen3.8-27B (pinned revision 1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0, F16 GGUF SHA-256 05f18ee2b177c76c34a827a1bcada598a9bfd99f939ddcb8b37a9e47874f6599)

How to Use

1. Download the GGUF

huggingface-cli download TokenBender/Apprentice-v0.5 Qwen3.8-27B-Apprentice-v0.5.gguf --local-dir .

(You can also launch directly with -hf TokenBender/Apprentice-v0.5 in recent llama.cpp builds.)

2. Serve with llama.cpp (OpenAI-compatible API)

Recommended sampling: temp=0.6, top_p=0.95, top_k=20, and do not enable DRY or repetition penalties (Apprentice v0.5 suppresses looping natively without breaking code tokens). Keep the KV cache at lossless f16 (-ctk f16 -ctv f16).

16 GB GPU / 24 GB MacBook (64K context):

llama-server \
  -m Qwen3.8-27B-Apprentice-v0.5.gguf \
  -ngl 99 \
  -c 65536 \
  -fa on \
  --jinja \
  -ctk f16 -ctv f16 \
  --temp 0.6 --top-p 0.95 --top-k 20 \
  --host 127.0.0.1 --port 8080

With DFlash2 speculative decoding (optional, 24 GB+ VRAM / A100 / H100):

huggingface-cli download z-lab/Qwen3.8-27B-DFlash2-GGUF Qwen3.8-27B-DFlash2-Q8_0.gguf --local-dir .

llama-server \
  -m Qwen3.8-27B-Apprentice-v0.5.gguf \
  -md Qwen3.8-27B-DFlash2-Q8_0.gguf \
  -ngl 99 -ngld 99 \
  --spec-type draft-dflash2 \
  --spec-draft-n-max 11 \
  -c 65536 \
  -fa on \
  --jinja \
  -ctk f16 -ctv f16 \
  --temp 0.6 --top-p 0.95 --top-k 20 \
  --host 127.0.0.1 --port 8080

(On 40 GB+ GPUs such as A100 or H100, you can increase -c up to 262144.)

3. Quick CLI Test (llama-cli)

llama-cli \
  -m Qwen3.8-27B-Apprentice-v0.5.gguf \
  -ngl 99 \
  -c 65536 \
  -fa on \
  --jinja \
  -ctk f16 -ctv f16 \
  --temp 0.6 --top-p 0.95 --top-k 20 \
  -p "Write a lock-free SPSC ring buffer in C++20."

4. Rebuilding from Base + Masks

To inspect or rebuild the Stage-1 extracted base from pinned Qwen/Qwen3.8-27B using masks/qwen38-27b-apprentice-v0.5-extract-mask.json, see the Chantless CLI at github.com/DeusExperiments/chantless.


Built using Chantless - https://github.com/DeusExperiments/chantless

Downloads last month
539
GGUF
Model size
27B params
Architecture
qwen35
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for TokenBender/Apprentice-v0.5

Base model

Qwen/Qwen3.8-27B
Quantized
(2,059)
this model