Quill fix-v1

On-device grammar fix / voice-preserving rewrite model for Quill, a private AI keyboard and chat app. Fine-tuned from Qwen/Qwen3.5-0.8B-Base with LoRA (r=32, all projections) on 58.8k instruction rows (CoEdIT fix/rewrite, phone-style typo noising, 12% no-op rows) for 2 epochs. Merged and exported to GGUF with llama.cpp (convert_hf_to_gguf.py --no-nextn; EOS <|im_end|>).

File Quant Size Use
fix-v1-Q4_K_M.gguf Q4_K_M 529 MB phones (4 GB+ RAM)
fix-v1-Q8_0.gguf Q8_0 812 MB higher precision

Prompt format (ChatML)

<|im_start|>system
You fix text typed on a phone. Keep the writer's voice exactly.
Fix only spelling, grammar, and punctuation. Never translate. Never add or remove sentences.
Output the corrected text only.
Voice: {profile}
Never change these words: {lexicon}<|im_end|>
<|im_start|>user
MODE=fix
in: {text}
out:<|im_end|>
<|im_start|>assistant

Modes: fix, rewrite tone={casual|neutral|formal|shorter|longer}.

Held-out eval (150 rows, vs zero-shot base)

exact-match 9% โ†’ 43% ยท GLEU-lite 0.32 โ†’ 0.73 ยท no-op precision 33% โ†’ 94% ยท over-edit rate 43% โ†’ 24%.

Example: i dont think were gonna make it on time, traffic is crazy rn โ†’ I don't think we're gonna make it on time, traffic is crazy rn.

Requires llama.cpp with the qwen35 architecture (2026-05 or newer).

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

4-bit

8-bit

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

Model tree for Hanish/quill-fix-v1

Quantized
(57)
this model