Instructions to use philipjohnbasile/Wisp-2-0.8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use philipjohnbasile/Wisp-2-0.8B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="philipjohnbasile/Wisp-2-0.8B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForCausalLM processor = AutoProcessor.from_pretrained("philipjohnbasile/Wisp-2-0.8B") model = AutoModelForCausalLM.from_pretrained("philipjohnbasile/Wisp-2-0.8B", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use philipjohnbasile/Wisp-2-0.8B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "philipjohnbasile/Wisp-2-0.8B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "philipjohnbasile/Wisp-2-0.8B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/philipjohnbasile/Wisp-2-0.8B
- SGLang
How to use philipjohnbasile/Wisp-2-0.8B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "philipjohnbasile/Wisp-2-0.8B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "philipjohnbasile/Wisp-2-0.8B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "philipjohnbasile/Wisp-2-0.8B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "philipjohnbasile/Wisp-2-0.8B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use philipjohnbasile/Wisp-2-0.8B with Docker Model Runner:
docker model run hf.co/philipjohnbasile/Wisp-2-0.8B
BF16 weights · HF + MLX-LM · 27.5 ms in MLX-8bit 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)
BF16 TRUNK + MTP
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 (BF16 (1.45 GB)) | BFloat16 trunk (un-shifted HF norm convention, HF conv1d layout) + separate mtp.safetensors sidecar (1.45 GB total) |
| 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: Standard Hugging Face transformers (BF16 trunk, PyTorch / CUDA / CPU):
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "philipjohnbasile/Wisp-2-0.8B"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, dtype=torch.bfloat16, device_map="auto").eval()
prefix = "def binary_search(nums: list[int], target: int) -> int:\n lo, hi = 0, len(nums) - 1\n while lo <= hi:\n "
suffix = "\n return -1\n"
prompt = f"<|fim_prefix|>{prefix}<|fim_suffix|>{suffix}<|fim_middle|>"
inputs = tok(prompt, return_tensors="pt", add_special_tokens=False).to(model.device)
with torch.inference_mode():
out = model.generate(**inputs, max_new_tokens=64, do_sample=False)
print(tok.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
Route B: Stock mlx-lm (Apple Silicon BF16):
pip install -U mlx-lm
mlx_lm.generate --model philipjohnbasile/Wisp-2-0.8B --temp 0 --max-tokens 64 \
--prompt '<|fim_prefix|>def clamp(x, lo, hi):
return <|fim_suffix|>
<|fim_middle|>'
Route C: Native 27.5 ms Speculative MTP + Multi-Anchor Warm Server (Apple Silicon):
For the certified 854 MiB Apple Silicon MLX-8bit package with the bundled wisp_runtime/ speculative server and Continue.dev config, use the sibling quantized repository: philipjohnbasile/Wisp-2-0.8B-MLX-8bit ↗.
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}}
}
Fieldbook No. 001 (Wisp 110M) · MLX-8bit Apple Silicon weights (854 MiB) · 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
Model tree for philipjohnbasile/Wisp-2-0.8B
Space using philipjohnbasile/Wisp-2-0.8B 1
Collection including philipjohnbasile/Wisp-2-0.8B
Evaluation results
- Exact Match (100% PSM, MLX-8bit) 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, MLX-8bit) on Wisp Blind Tier-1 Repo-Context FIM (post-2026-06-01, n=566, 30 repos, 11 langs)self-reported30.560