Working…
GGUF Studio
No model loaded — go to Load

Load model

Open a GGUF from your device. Nothing is uploaded to a server.

On phone, prefer models under ~80MB. After quant/prune always use Export (rewrites with 32-byte alignment for llamafile).
No file loaded
Metadata appears here after Parse.

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

nametypeshapebytes

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.

Tip: for a phone “doorman” style model, try 2–6 layers, then Fine-tune so it still says useful lines.

Fine-tune

Tiny models only (phone will struggle above ~50M). Expect lag — watch the progress bar.

Dataset

Upload JSONL/JSON/CSV/TXT or paste samples. Use Parse → Apply to normalize.
No dataset

Training

Idle

Chat

wllama (llama.cpp WASM). Load current GGUF or pick a file.

Not loaded

Export

Download a GGUF with correct 32-byte tensor alignment for llamafile / llama.cpp.

Always Export after quant or prune. Do not reuse a previous broken download.