GGUF was designed for fast loading and easy reading: a single file holds both the weights and the metadata, so users do not need to look for a tokenizer or settings separately. A model is usually trained in PyTorch and then converted to GGUF to run on your own computer.
What is in the file and why it is convenient
| Property | What it means |
|---|---|
| Single file | the model is easy to share and load, and no external files are required |
| Key–value metadata | new information can be added to the file without breaking compatibility with older models |
mmap compatibility | the file can be mapped into memory rather than read in full |
| Completeness | everything needed for loading is already inside, so the user does not have to set anything by hand |
The format replaced GGML, GGMF and GGJT. The main difference from GGJT is that hyperparameters are stored as typed metadata rather than as a list of unnamed values.
How to read a file name
The specification suggests a name of the form “base — size — fine-tune — version — encoding — type — shard”. For example, Grok-100B-v1.0-Q4_0-00003-of-00009.gguf means the Grok model, 100 billion parameters, version 1.0, Q4_0 quantisation, shard three of nine. A label such as Q4_K_M or Q8_0 in the name shows how the weights are compressed: the fewer the bits, the smaller the file and the more quality may drop. The specification notes that real-world names vary widely and cannot be reliably parsed automatically.
Where the format comes from
GGUF is described in the GGML project and supported by llama.cpp: models in this format are also run by other GGML-based programs.
Sources
the term is written from these pagesVerified 18 Nov