GGUF repo · snapshot

TheBloke/CodeLlama-7B-GGUF

7,722 downloads · 135 likes · updated 2023-09-27

View TheBloke/CodeLlama-7B-GGUF on Hugging Face ↗

Quantized from codellama/CodeLlama-7b-hf · llama architecture · 16,384 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 11.0 GB
Q6_K k-quant, ~6-bit 5.1 GB 6.56 9.4 GB
Q5_K_M k-quant, ~5-bit 4.5 GB 5.68 8.7 GB
Q5_0 legacy, 5-bit 4.3 GB 5.52 8.6 GB
Q5_K_S k-quant, ~5-bit 4.3 GB 5.52 8.6 GB
Q4_K_M k-quant, ~4-bit 3.8 GB 4.85 8.1 GB
Q4_K_S k-quant, ~4-bit 3.6 GB 4.58 7.8 GB
Q4_0 legacy, 4-bit 3.6 GB 4.54 7.8 GB
Q3_K_L k-quant, ~3-bit 3.4 GB 4.27 7.6 GB
Q3_K_M k-quant, ~3-bit 3.1 GB 3.92 7.3 GB
Q3_K_S k-quant, ~3-bit 2.7 GB 3.5 7.0 GB
Q2_K k-quant, ~2-bit 2.6 GB 3.36 6.9 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