Instructions to use philipjohnbasile/Wisp-2-0.8B-MLX-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use philipjohnbasile/Wisp-2-0.8B-MLX-8bit with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("philipjohnbasile/Wisp-2-0.8B-MLX-8bit") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use philipjohnbasile/Wisp-2-0.8B-MLX-8bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "philipjohnbasile/Wisp-2-0.8B-MLX-8bit"
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "philipjohnbasile/Wisp-2-0.8B-MLX-8bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use philipjohnbasile/Wisp-2-0.8B-MLX-8bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "philipjohnbasile/Wisp-2-0.8B-MLX-8bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "philipjohnbasile/Wisp-2-0.8B-MLX-8bit" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8080/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "philipjohnbasile/Wisp-2-0.8B-MLX-8bit", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use philipjohnbasile/Wisp-2-0.8B-MLX-8bit with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "philipjohnbasile/Wisp-2-0.8B-MLX-8bit"
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default philipjohnbasile/Wisp-2-0.8B-MLX-8bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use philipjohnbasile/Wisp-2-0.8B-MLX-8bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "philipjohnbasile/Wisp-2-0.8B-MLX-8bit"
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "philipjohnbasile/Wisp-2-0.8B-MLX-8bit" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
27.5 ms warm keystroke · MLX-8bit · M5 Max · native MTP
Wisp-2
0.8B.
Faster than a blink.
Hybrid GatedDeltaNet + native speculative reflexes on Apple Silicon.
SELECTED BLIND-BENCHMARK EXAMPLE · FIRECRAWL/ANYDOC (RUST)
let _ = anydoc::to_markdown_bytes(data, anydoc::Format::Docx)|;
Aggregate MLX-8bit MTP D=3 timings: 27.5 ms warm p50 · 358 tok/s forced-24 · 0 fence leaks
Trained & certified on a single Mac (M5 Max) by Philip John Basile
Small model. Real wall-clock speedup.
WARM KEYSTROKE ↓
Lower is faster (blink ~150 ms)
TOKENS / STEP ↑
Higher is faster (normal = 1.0x)
FORCED-24 SPEED ↑
Higher is faster (incl. prefill)
MLX-8BIT BUNDLE
Fits easily in laptop RAM
01 / SPEED & SPECIMENS
At the cursor, before you blink.
Native 3-token EAGLE-3 speculative decoding paired with our Multi-Anchor Hybrid GDN+FA prefix cache gives Wisp-2-0.8B (MLX-8bit) a verified 1.41x real wall-clock MTP speedup over its own autoregressive path on forced 24-token decode, beating even the smaller Qwen2.5-Coder-0.5B on every warm IDE metric (2.65x faster on warm keystrokes) and running 1.92x faster per token than Qwen2.5-Coder-1.5B.
PRESSED SPECIMENS · REAL UNSEEN POST-2026-06-01 COMPLETIONS (ALL OPEN BELOW)
Specimen A · Rustfirecrawl/anydoc fuzz/fuzz_targets/docx.rs ⌄
fuzz_target!(|data: &[u8]| {
// Conversion may fail with a typed error; it must never panic, hang,
// or exhaust memory.
let _ = anydoc::to_markdown_bytes(data, anydoc::Format::Docx)|;
});
Unseen post-2026-06-01 repository (fresh_0253, 100% PSM). Exact match on full API call + enum variant, clean auto-stop, 0 fence leaks.
Specimen B · Gotamnd/kage zim/format.go ⌄
le := binary.LittleEndian
if le.Uint32(b[0:]) != Magic| {
return h, fmt.Errorf("zim: bad magic, not a ZIM file")
}
Unseen post-2026-06-01 repository (fresh_0215, 100% PSM). Exact match using local variable le and repo constant Magic; Qwen2.5-Coder-0.5B hit the 256-token cap (25.6x target length).
Specimen C · Swiftrobbietilton/Compositor Compositor/IO/PSD/PSDReader.swift ⌄
let croppedRight = max(croppedLeft, min(canvasWidth, right))
let croppedBottom = max(croppedTop, min(canvasHeight, bottom))
return PSDCrop(x: croppedLeft - left, y: croppedTop - top,
width: croppedRight - croppedLeft|, height: croppedBottom - croppedTop)
Unseen post-2026-06-01 repository (fresh_0460, 100% PSM). Exact midline span completion; stopped cleanly before the comma.
02 / THE BREAKTHROUGHS WE FOUND
Four discoveries that made 0.8B beat 1.5B.
Starting from raw Qwen3.5-0.8B-Base (which scored only 0.53% exact match on real repo FIM), four concrete engineering breakthroughs unlocked both the accuracy jump (62x exact-match lift) and the 27.5 ms Apple Silicon speed:
BREAKTHROUGH 1 · FP32-SCALE 8-BIT QUANTIZATION (FASTER & CLEANER THAN FP16)
Standard FP16-scale 8-bit quantization caused subtle 1-ULP logit rounding ties (4/1,000 speculative parity flips). Keeping the weights compact at 8-bit (854 MiB) while keeping quantization scales and linear-recurrence states in FP32 eliminated all 4 ties (0/1,000 algorithmic drift, stock mlx_lm.load() cosine 1.000000), boosted blind accuracy (31.63% -> 31.80%), and ran faster than FP16.
BREAKTHROUGH 2 · EXACT FP32 HYBRID ROLLBACK + 64-TOKEN ANCHOR CACHE
Speculative decoding usually breaks on hybrid linear-RNN (GatedDeltaNet) models because rejecting a draft token corrupts the recurrent hidden state. By checkpointing exact FP32 GDN states + 4-tap conv buffers on every draft step and every 64-token file anchor, Wisp-2 rolls back cleanly (0/154 warm rewind mismatches, min cosine 0.999971), cutting warm prefill from 293 ms -> 5.3 ms (55x) and unlocking a verified 1.41x real wall-clock MTP speedup.
BREAKTHROUGH 3 · AUTONOMOUS STOPPING BEATS 2X-LARGER MODELS ON REAL REPOS
On 566 real unseen repo holes, strong pretrained coders like Qwen2.5-Coder-1.5B and 0.5B routinely ramble past the cursor, slamming into the 256-token cap on 189/566 (33%) and 328/566 (58%) items. By combining Tree-sitter AST span holes with stop-mass distillation, Wisp-2 hits the cap only 13/566 (2.3%) times (97.7% auto-stop, 1.0x ideal length), beating 1.5B by +8.66 pp in PSM and 3.8x in cache-friendly SPM order.
BREAKTHROUGH 4 · EMPIRICAL 4-BIT WITHHOLDING (SMALLER IS NOT ALWAYS FASTER)
We tested two mixed 4/8-bit variants expecting free speed. Both lost -1.59 pp to -2.30 pp exact match AND ran slightly slower (27.82 ms vs 26.1-27.5 ms) while saving only 223 MiB, because dequant overhead outweighed memory bandwidth at 0.8B scale. We cleanly withheld 4-bit instead of shipping a worse model.
03 / THE WISP FAMILY & HONEST SCOPE
One family. Honest boundaries.
| Edition | Model | Best For | Playground |
|---|---|---|---|
| No. 001 | wisp-coder-110m (108M) | Scratch tiny FIM & MTP research | Demo ↗ |
| No. 002 | Wisp-2-0.8B (BF16 · MLX-8bit) | 27.5 ms local Apple Silicon IDE autocomplete | Demo ↗ |
| No. 003-006 | Wisp-2.1 · Edit · 2B · Loop | Multi-line exec, Next-Edit, Cmd+K, Looped GDN | Series ↗ |
Wisp-2-0.8B is a base FIM completion model, not a chat assistant or coding agent. We intentionally kept chat SFT out of this compact trunk so inline completions stay fast (27.5 ms warm p50 in MLX-8bit), syntax-valid (92.91% on parseable gold), and free of observed markdown fences (0.00%).
Think of it as your editor's 27 ms local reflexes paired with a larger reasoning model for multi-file planning. Standalone algorithmic synthesis from scratch (Tier-2A n=80, especially Python and C++) still favors 5.5T-token pretrained coders and is the exact focus of Fieldbook No. 003 (Wisp-2.1-0.8B).
04 / ARCHITECTURE
Under the petals.
Hover the stem to feel the 3:1 hybrid cadence.
24 HYBRID TRUNK LAYERS (18 GATEDDELTANET : 6 FULL ATTENTION)
Sage petals (18): constant-memory FP32 GatedDeltaNet recurrence + 4-tap conv1d.
Crimson petals (04, 08, 12, 16, 20, 24): Full GQA Attention (8 Q / 2 KV heads, partial RoPE 10M).
Verify all.
1 SHARED EAGLE-3 MTP BLOCK
65,536-token d2t draft head (99.34% validation coverage). Full 248K unbiased verification with exact GDN state rollback.
| Specification | Value |
|---|---|
| Base Architecture | Qwen3.5-0.8B-Base (text-only trunk + native 1-layer MTP head; vision encoder stripped) |
| Layers | 24 trunk (18 GatedDeltaNet + 6 Full GQA Attention) + 1 shared MTP transformer block |
| Hidden / MLP | d_model 1,024, SwiGLU intermediate 3,584, partial RoPE theta 10,000,000 |
| Vocabulary & Draft Head | 248,320 full vocab (tied); 65,536 int32 d2t draft shortlist (quantize-then-slice, 0.0 diff) |
| Weights (MLX-8bit (854 MiB)) | 8-bit uint32 weights (group_size 64) + FP32 scales/activations; conv1d, in_proj_a/b, norms unquantized (854.1 MiB, MLX-only packed format) |
| Stock Loader Hygiene | Verified in stock mlx_lm.load(): cosine 1.000000 (MLX-8bit) & 0.999921 (BF16), 100% argmax match |
| Weight Hashes & Manifest | Trunk b53d05d094314b69... · Full 58255813ac49f1ff... · export_manifest.json ↗ · mtp_config.json ↗ |
04 / TRAINING & DATA
How it grew on one Mac.
All continual pretraining, sandbox execution verification, distillation, and speculative TTT ran locally on a single Apple M5 Max (128 GB unified memory) in MLX with custom Chunked-WY GatedDeltaNet kernels and FP32 master weights:
- Stage 1 (AST-FIM Continual Pretraining): 120M tokens of permissive SPDX open-source code across 11 languages, packed with Tree-sitter AST span holes, repo/sibling file headers, and balanced 50/50 PSM/SPM ordering.
- Stage 2b (Seatbelt Verified-8 Distillation & Model Soup): 1,515 macOS Seatbelt-sandboxed, compiler- and unit-test-verified function bodies across 8 languages distilled with on-policy KL and combined via a 50/30/20 checkpoint soup selected strictly on held-out dev metrics.
- Stage 3c (Frozen-Trunk EAGLE-3 MTP TTT): 1,000 steps of 3-depth shared-KV test-time training exclusively on the 1-layer native MTP head while keeping the certified trunk weights bit-identical by SHA-256.
Decontamination & licensing scope (G-01): Our 4-layer decontamination pipeline (exact hash, 13-gram overlap, MinHash near-duplicate, and normalized repo/path exclusion) indexed the v1 holdout and Tier-1 blind suite, rejecting 78,258 Stage-0 candidate windows for 13-gram overlap and verifying 0 retained hits across both Stage-0 and Verified-8 training corpora (Stage-0 receipt ↗ · Verified-8 receipt ↗). This audit covers our post-training corpora; it does not audit upstream Qwen/Qwen3.5-0.8B-Base pretraining data. Apache 2.0 covers the released model artifact and bundled runtime; upstream source code and generated outputs remain subject to their applicable licenses.
05 / USAGE
Give it a cursor.
Route A: Instant 1-command Apple Silicon CLI / Server (stock mlx-lm, trunk AR):
pip install -U mlx-lm
# 1. One-shot FIM completion in your terminal
mlx_lm.generate \
--model philipjohnbasile/Wisp-2-0.8B-MLX-8bit \
--temp 0 --max-tokens 64 \
--prompt '<|fim_prefix|>def binary_search(nums: list[int], target: int) -> int:
lo, hi = 0, len(nums) - 1
while lo <= hi:
<|fim_suffix|>
return -1
<|fim_middle|>'
# 2. Or boot a stock OpenAI-compatible server in one command
mlx_lm.server --model philipjohnbasile/Wisp-2-0.8B-MLX-8bit --port 8091
Route B: Native 27.5 ms Speculative MTP + Multi-Anchor Warm Server (bundled wisp_runtime/):
Generic loaders run the trunk autoregressively and ignore mtp.safetensors. This repo bundles a self-contained, zero-repo-dependency wisp_runtime/ package and pinned requirements.txt so you can run native 3-token EAGLE-3 speculative decoding directly from the downloaded snapshot:
hf download philipjohnbasile/Wisp-2-0.8B-MLX-8bit --local-dir ./Wisp-2-0.8B-MLX-8bit
cd ./Wisp-2-0.8B-MLX-8bit
pip install -r requirements.txt
# One-shot native MTP smoke test
python -m wisp_runtime.serve --bundle-dir . --demo
# Start the 27.5 ms OpenAI + FIM warm-cache server
python -m wisp_runtime.serve --bundle-dir . --host 127.0.0.1 --port 8091
Quick HTTP FIM smoke test against the running server:
curl -s http://127.0.0.1:8091/v1/fim/completions \
-H "Content-Type: application/json" \
-d '{"prefix":"def clamp(x: int, lo: int, hi: int) -> int:\n return ","suffix":"\n","max_tokens":24}'
Drop into Continue.dev (~/.continue/config.yaml):
models:
- name: Wisp-2-0.8B (Local 27ms MTP)
provider: openai
apiBase: http://127.0.0.1:8091/v1
apiKey: local
model: Wisp-2-0.8B-MLX-8bit
roles:
- autocomplete
autocompleteOptions:
debounceDelay: 50
maxPromptTokens: 2048
defaultCompletionOptions:
temperature: 0
maxTokens: 64
stop:
- "<|endoftext|>"
- "<|im_end|>"
- "<|fim_prefix|>"
- "<|fim_suffix|>"
- "<|fim_middle|>"
- "<|fim_pad|>"
- "<|repo_name|>"
- "<|file_sep|>"
LM Studio & Zed: In LM Studio, search philipjohnbasile/Wisp-2-0.8B-MLX-8bit directly to pull the MLX weights. In Zed, point your local OpenAI-compatible autocomplete URL to http://127.0.0.1:8091/v1.
06 / EVALUATION
Follow the evidence.
All models were evaluated identically on Apple M5 Max against our frozen blind Tier-1 benchmark: 566 holes across 200 files from 30 unseen open-source repositories in 11 languages, all created strictly after 2026-06-01. Prompts use Qwen's documented repo-level FIM format (<|repo_name|> + up to 2 sibling <|file_sep|> headers preceding FIM markers) and the exact same 8-sentinel stop set across every model (<|endoftext|>, <|im_end|>, <|fim_prefix|>, <|fim_middle|>, <|fim_suffix|>, <|fim_pad|>, <|repo_name|>, <|file_sep|>).
How to Read These Numbers (Plain-English Cheat Sheet) ⌄
New to code-model benchmarks? Look for ↑ (higher is better) and ↓ (lower is better) in every table header below:
- Warm Δ8 / Δ64 / Forced-24 / Cold (ms) ↓ Lower is better: How long you wait after typing. Anything under 50 ms feels instantaneous to a human eye (a blink takes ~150 ms). p50 is the typical (median) wait; p95 is the slow-case tail.
- Exact Match (EM) ↑ Higher is better: Percent of missing code holes the model guessed 100% character-for-character right on the first try.
- EditSim ↑ Higher is better: How close the guess was to the real code (100% = identical, 0% = completely different). Useful even when a valid suggestion picks a different variable name.
- AST Valid ↑ Higher is better: Percent of completions that produce valid, parseable syntax with zero broken brackets or syntax errors.
- Auto-Stop ↑ Higher is better: Percent of times the model knew when to stop typing on its own instead of rambling until hitting the 256-token safety cutoff.
- Echo16 ↓ Lower is better: How often the model accidentally copied code that already existed right after your cursor. Lower means cleaner edits with less duplicate cleanup.
- Med Len Ratio (1.0x is ideal): Suggested code length divided by real missing code length. 1.0x means spot-on length; 16.0x means the model rambled 16 times longer than needed.
- Mean tau (τ) ↑ Higher is better: Average tokens accepted per forward pass. Normal models always sit at 1.00; Wisp-2 averages 2.88 (nearly 3 tokens per step).
- pass@1 ↑ Higher is better · Spurious ↓ Lower is better: On executable unit-test problems (Tier-2A), pass@1 is the share that compiles and passes every hidden test; Spurious flags extra stray code emitted outside the function (0% = spotless).
Apple Silicon M5 Max IDE Latency (n=33 · lower ms is faster ↓)
| Model (8-bit MLX) | Warm Δ8 ↓ | Forced-24 ↓ (tok/s ↑) | Cold Open ↓ |
|---|---|---|---|
| Wisp-2-0.8B (MLX-8bit, MTP D=3) | 27.5 ms | 67.0 ms (358 tok/s*) | 293 ms |
| Wisp-2-0.8B (MLX-8bit, AR D=0) | 32.8 ms | 94.4 ms (254 tok/s*) | 302 ms |
| Qwen2.5-Coder-0.5B (8-bit, KV cache) | 72.8 ms | 73.2 ms (328 tok/s*) | 111 ms |
| Qwen2.5-Coder-1.5B (8-bit, KV cache) | 48.0 ms | 128.8 ms (186 tok/s*) | 193 ms |
Additional timings (M5 Max): Wisp-2 MTP Warm Δ64 p50 = 42.5 ms (vs Qwen 1.5B 96.6 ms), Warm p95 = 70.5 ms (vs Qwen 1.5B 135.7 ms), Warm prefill = 5.3 ms. *Forced-24 tok/s includes warm prefill amortized over 24 tokens. Cold first-file open (293 ms) drops 64-token FP32 anchors once so every subsequent keystroke stays fast.
Blind Repo FIM: 100% PSM (566 holes, 30 unseen repos)
| Model | EM ↑ | EditSim ↑ | Auto-Stop ↑ | Echo16 ↓ |
|---|---|---|---|---|
| Wisp-2-0.8B (MLX-8bit, MTP D=3) | 32.86% | 58.52% | 97.70% | 9.36% |
| Qwen2.5-Coder-1.5B (8-bit, AR) | 24.20% | 39.66% | 66.61% | 41.52% |
| Qwen2.5-Coder-0.5B (8-bit, AR) | 14.66% | 25.97% | 42.05% | 54.06% |
| Qwen3.5-0.8B-Base (raw, before Wisp) | 0.53% | 18.61% | 89.22% | 31.62% |
Full PSM stats (n=566): Wisp-2 parseable AST = 95.03% (vs 78.0% 1.5B, 61.0% 0.5B), Median Length Ratio = 1.0x (ideal; vs 3.0x 1.5B, 16.0x 0.5B), Mean tau = 2.87. Cap hits at 256 tokens: Wisp-2 13/566 vs Qwen 1.5B 189/566 vs Qwen 0.5B 328/566. Paired repo-clustered 95% CIs (EM): vs Base +32.33 pp [+28.07, +36.38] (62x); vs 0.5B +18.20 pp [+14.44, +21.75]; vs 1.5B +8.66 pp [+4.87, +12.33].
Blind Repo FIM: 100% SPM Warm-Cache Order (566 holes)
| Model | EM ↑ | EditSim ↑ | Auto-Stop ↑ | Echo16 ↓ |
|---|---|---|---|---|
| Wisp-2-0.8B (MLX-8bit, MTP D=3) | 30.56% | 52.77% | 86.57% | 16.78% |
| Qwen2.5-Coder-1.5B (8-bit, AR) | 8.13% | 30.00% | 68.38% | 34.45% |
| Qwen2.5-Coder-0.5B (8-bit, AR) | 3.18% | 16.15% | 43.82% | 51.77% |
Full SPM stats (n=566): Wisp-2 parseable AST = 89.36%, Median Length Ratio = 1.0x, Mean tau = 2.89. Paired 95% CIs (EM): vs 0.5B +27.39 pp [+24.10, +30.80]; vs 1.5B +22.44 pp [+19.13, +25.90].
Tier-2A Executable Puzzles (n=80, 8 languages, 100% PSM)
| Model | pass@1 ↑ | Non-Py ↑ | Spurious ↓ |
|---|---|---|---|
| Wisp-2-0.8B (MLX-8bit, MTP) | 37.5% | 41.7% | 0.0% |
| Qwen2.5-Coder-0.5B (8-bit) | 63.7% | 66.7% | 6.2% |
| Qwen2.5-Coder-1.5B (8-bit) | 75.0% | 70.0% | 3.8% |
| Qwen3.5-0.8B-Base (raw) | 8.8% | 5.0% | 1.2% |
| Language (n) | Wisp-2 ↑ | Qwen 0.5B ↑ | Qwen 1.5B ↑ | Raw Base ↑ |
|---|---|---|---|---|
| C (8) | 75% | 88% | 62% | 0% |
| C++ (6) | 17% | 50% | 83% | 0% |
| Go (10) | 40% | 90% | 80% | 0% |
| JavaScript (10) | 30% | 50% | 60% | 10% |
| Python (20) | 25% | 55% | 90% | 20% |
| Rust (10) | 50% | 40% | 60% | 20% |
| Swift (6) | 33% | 100% | 100% | 0% |
| TypeScript (10) | 40% | 60% | 60% | 0% |
Certified Stage 4 mixed Tier-2A note (40 PSM / 40 SPM): Wisp-2-0.8B scored 30/80 (37.50%) overall and 43.33% non-Python (0.0% stub, 0.0% spurious).
Per-language Tier-1 breakdown, G-02 parity audit & metric definitions
Certified mixed Tier-1 overall (283 PSM + 283 SPM): EM 31.80% (PSM 32.16%, SPM 31.45%), EditSim 55.21%, parseable AST 92.91%, Auto-Stop 91.87%, Echo16 13.78%, Fence Leak 0.00%, mean tau 2.878.
G-02 Speculative Parity Audit: 0 algorithmic or stop-token mismatches across 1,000 verify rounds (231 stratified prompts across 11 languages). 1 raw token tie flip audited to a 0.000217 FP32 qmv/qmm rounding margin (logit cosine 1.000000, exact sequential T=1 trunk parity = True). Warm rewind/branch/append parity: 0/154 mismatches (min hidden cosine 0.999971).
Technical definitions: EM normalizes line endings and trailing whitespace; AST Valid measures Tree-sitter parseability on reconstructed files whose gold target parses cleanly (134/141 for Wisp PSM); Echo16 flags excess occurrences of 16-char windows sampled every 4 chars from the first 128 stripped suffix chars; Fence Leak measures observed triple-backtick (```) occurrences (0/566 across all models).
| Language (n) | EM ↑ | EditSim ↑ | Stop ↑ | Echo16 ↓ |
|---|---|---|---|---|
| C (98) | 26.53% | 50.74% | 86.73% | 12.25% |
| C++ (14) | 35.71% | 54.86% | 85.71% | 14.29% |
| Go (60) | 40.00% | 62.88% | 95.00% | 8.33% |
| Java (54) | 40.74% | 61.35% | 94.44% | 16.67% |
| JavaScript (51) | 29.41% | 46.22% | 88.23% | 15.69% |
| Python (60) | 35.00% | 52.94% | 91.67% | 13.33% |
| Rust (60) | 30.00% | 57.75% | 90.00% | 23.33% |
| SQL (49) | 30.61% | 52.70% | 97.96% | 10.20% |
| Swift (60) | 26.67% | 52.58% | 93.33% | 15.00% |
| TSX (3) | 0.00% | 26.65% | 100.00% | 0.00% |
| TypeScript (57) | 31.58% | 63.23% | 94.74% | 10.53% |
07 / LIMITATIONS & ROADMAP
Room to grow.
- Standalone algorithm bodies (Tier-2A): Wisp-2-0.8B delivers a 4.3x lift over its raw Qwen3.5-0.8B-Base starting point (37.5% vs 8.8% pass@1 in matched 100% PSM, 100% clean auto-stop, 0% spurious code), while trailing code-pretrained Qwen2.5-Coder-0.5B (63.8%) and 1.5B (75.0%), especially on Python and C++.
- SPM suffix echo & stopping gap: In SPM mode, suffix echo (Echo16 17.67%) is higher and auto-stop (85.87%) is lower than in PSM (9.89% echo, 97.88% stop).
- 4-bit quantization withheld: Two mixed 4/8-bit variants lost -1.59 pp to -2.30 pp EM on n=566 and ran slightly slower (27.82 ms) than 854 MiB MLX-8bit, so 4-bit was cleanly withheld.
- No chat or safety tuning: Base code completion model trained on public code. Always review generated code before running or committing.
- Next in The Wisp Fieldbook: No. 003 (Wisp-2.1-0.8B) targets multi-line executable functions (Python/C++ + lower Echo16); No. 004 (Wisp-2-0.8B-Edit) adds sub-40 ms Next-Edit prediction and Fast-Apply; No. 005 (Wisp-2-2B-Instruct) brings local Cmd+K refactors and test writing; plus an Inkling-style Looped Hybrid GDN R&D track.
08 / CITATION
Leave a trail.
@misc{wisp_2_0p8b,
title = {Wisp-2-0.8B: sub-30ms hybrid GatedDeltaNet FIM and native speculative decoding on Apple Silicon},
author = {Philip John Basile},
year = {2026},
howpublished = {\url{https://huggingface.co/philipjohnbasile/Wisp-2-0.8B-MLX-8bit}}
}
Fieldbook No. 001 (Wisp 110M) · BF16 Hugging Face weights (1.45 GB) · The Wisp Fieldbook Series · All public work
The Wisp Fieldbook / No. 002. Derivative work of Qwen/Qwen3.5-0.8B-Base (Apache-2.0). Fieldbook botanical cover and asymmetric sprig adapted from Philip John Basile's impasto wildflower series; 6 column-native animated vector plates generated from certified JSON receipts. Artwork notes · Certification receipt.
- Downloads last month
- 40
8-bit
Model tree for philipjohnbasile/Wisp-2-0.8B-MLX-8bit
Space using philipjohnbasile/Wisp-2-0.8B-MLX-8bit 1
Collection including philipjohnbasile/Wisp-2-0.8B-MLX-8bit
Evaluation results
- Exact Match (100% PSM) on Wisp Blind Tier-1 Repo-Context FIM (post-2026-06-01, n=566, 30 repos, 11 langs)self-reported32.860
- Exact Match (100% SPM) on Wisp Blind Tier-1 Repo-Context FIM (post-2026-06-01, n=566, 30 repos, 11 langs)self-reported30.560
- Warm Keystroke Latency p50 (M5 Max, ms) on Wisp Blind Tier-1 Repo-Context FIM (post-2026-06-01, n=566, 30 repos, 11 langs)self-reported27.490