G

GGML The predecessor to GGUF, created by Georgi Gerganov for the llama.cpp project. GGML was the original binary format for q… GGUF (GPT-Generated Unified Format) The standard quantization format for llama.cpp and the broader local AI ecosystem. GGUF files are self-contained (includ… GPTQ (Generalized Post-Training Quantization) A GPU-optimized quantization method that uses calibration data and second-order error correction to minimize quality los… Greedy decoding A text generation strategy that always selects the most probable next token at each step. Fast and deterministic but oft… Group size In GPTQ and AWQ quantization, the number of weights that share a single set of scaling parameters. A group size of 128 m… GGUF Q2_K A 2-bit GGUF k-quant variant. Very small model files (around 2.7 bits per weight on average) but with noticeable quality… GGUF Q3_K_M A 3-bit GGUF k-quant, medium tier. Around 3.9 bits per weight. Good for fitting large models on small GPUs; expect 3-5% … GGUF Q4_K_S A 4-bit GGUF k-quant, small tier. Around 4.1 bits per weight. Slightly smaller than Q4_K_M with marginally lower quality… GGUF Q4_K_M A 4-bit GGUF k-quant, medium tier. Around 4.8 bits per weight. The modern default; the best quality-per-byte at 4-bit. R… GGUF Q5_K_M A 5-bit GGUF k-quant, medium tier. Around 5.7 bits per weight. A quality step up from Q4_K_M with ~25% larger file. Reco… GGUF Q6_K A 6-bit GGUF k-quant. Around 6.6 bits per weight. Near-lossless quality; recommended when maximum quality matters and VR… GGUF Q8_0 An 8-bit GGUF quantization. Around 8.5 bits per weight. Essentially lossless; useful as a reference for the unquantized … Gemma architecture Google's Transformer variant with strong safety RLHF. Gemma, Gemma 2, and Gemma 3 use GQA and RoPE; Gemma 3 added vision…

For the full long-form glossary page, see /learn/glossary/.