GGUF repo · snapshot

TheBloke/phi-2-GGUF

21,263 downloads · 233 likes · updated 2023-12-18

View TheBloke/phi-2-GGUF on Hugging Face ↗

Quantized from microsoft/phi-2 · phi2 architecture · 2,048 token native context · 2.8B 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 2.8 GB 8.51 5.5 GB
Q6_K k-quant, ~6-bit 2.1 GB 6.58 4.9 GB
Q5_K_M k-quant, ~5-bit 1.9 GB 5.97 4.7 GB
Q5_0 legacy, 5-bit 1.8 GB 5.56 4.6 GB
Q5_K_S k-quant, ~5-bit 1.8 GB 5.56 4.6 GB
Q4_K_M k-quant, ~4-bit 1.7 GB 5.15 4.4 GB
Q4_K_S k-quant, ~4-bit 1.5 GB 4.65 4.3 GB
Q3_K_L k-quant, ~3-bit 1.5 GB 4.62 4.2 GB
Q4_0 legacy, 4-bit 1.5 GB 4.61 4.2 GB
Q3_K_M k-quant, ~3-bit 1.4 GB 4.26 4.1 GB
Q3_K_S k-quant, ~3-bit 1.2 GB 3.6 3.9 GB
Q2_K k-quant, ~2-bit 1.1 GB 3.38 3.8 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