Load model
Open a GGUF from your device. Nothing is uploaded to a server.
Make model smaller
Two tools: Quantize (fewer bits per weight) and Prune (zero out tiny weights). Both need Export afterward.
Step 1 — Pick weights
Usually you want the big matrix weights, not the tiny norm vectors.
Step 2 — Quantize (recommended)
Compress selected tensors. Q4_0 is the sweet spot for phone/llamafile. Q8_0 is higher quality / larger.
Step 3 — Optional prune
Sets the smallest weights to zero. Does not shrink file size much until you quantize; mostly for experiments.
Log
Tensor list
| name | type | shape | bytes |
|---|
Drop whole layers
Transformer models are stacked blocks (blk.0, blk.1, …). Removing blocks makes the model much smaller and faster — but dumber unless you train again.
Keep the first N blocks
Example: a 30-layer model → keep 4 → only blk.0…blk.3 remain (renumbered). Then Export.
Fine-tune
Tiny models only (phone will struggle above ~50M). Expect lag — watch the progress bar.
Dataset
Training
Chat
wllama (llama.cpp WASM). Load current GGUF or pick a file.
Export
Download a GGUF with correct 32-byte tensor alignment for llamafile / llama.cpp.