GGUF repo · snapshot

TheBloke/Llama-2-7B-GGUF

20,062 downloads · 207 likes · updated 2023-10-24

View TheBloke/Llama-2-7B-GGUF on Hugging Face ↗

Quantized from meta-llama/Llama-2-7b-hf · llama architecture · 4,096 token native context · 6.7B parameters

Quant levels in this repo

GGUF quant files, size and estimated bits per weight
QuantTypeFile sizeBits/weightEst. RAM/VRAM at 8,192 tokens
Q8_0 legacy, 8-bit 6.7 GB 8.5 8.3 GB
Q6_K k-quant, ~6-bit 5.1 GB 6.56 6.4 GB
Q5_K_M k-quant, ~5-bit 4.5 GB 5.68 5.6 GB
Q5_0 legacy, 5-bit 4.3 GB 5.52 5.4 GB
Q5_K_S k-quant, ~5-bit 4.3 GB 5.52 5.4 GB
Q4_K_M k-quant, ~4-bit 3.8 GB 4.85 4.8 GB
Q4_K_S k-quant, ~4-bit 3.6 GB 4.58 4.6 GB
Q4_0 legacy, 4-bit 3.6 GB 4.54 4.5 GB
Q3_K_L k-quant, ~3-bit 3.4 GB 4.27 4.3 GB
Q3_K_M k-quant, ~3-bit 3.1 GB 3.92 3.9 GB
Q3_K_S k-quant, ~3-bit 2.7 GB 3.5 3.5 GB
Q2_K k-quant, ~2-bit 2.6 GB 3.36 3.4 GB

Bits/weight is the file's real size compared with the model's parameter count, not a lookup table. How the RAM/VRAM estimate works.

Change the context length

Loads in