leafspark/Meta-Llama-3.1-405B-Instruct-GGUF

Model

Meta-Llama-3.1-405B-Instruct-GGUF

21

35 commits

2 linked in READMEs

updated Jul 25, 2024

See the code

README

Meta-Llama-3.1-405B-Instruct-GGUF

image/png

Low bit quantizations of Meta's Llama 3.1 405B Instruct model. Quantized from ollama q4_0 GGUF.

Quantized with llama.cpp b3449

QuantNotes
BF16Brain floating point, very high quality, smaller than F16
Q8_08-bit quantization, high quality, larger size
Q6_K6-bit quantization, very good quality-to-size ratio
Q5_K5-bit quantization, good balance of quality and size
Q5_0Alternative 5-bit quantization, slightly different balance
Q4_K_M4-bit quantization, good for production use
Q4_K_S4-bit quantization, faster inference, efficient for scaling
Q4_0Basic 4-bit quantization, good for experimentation
Q3_K_L3-bit quantization, high-quality with more VRAM requirement
Q3_K_M3-bit quantization, good balance between speed and accuracy
Q3_K_S3-bit quantization, faster inference with minor quality loss
Q2_K2-bit quantization, suitable for general inference tasks
IQ2_SInteger 2-bit quantization, optimized for small VRAM environments
IQ2_XXSInteger 2-bit quantization, best for ultra-low memory footprint
IQ1_MInteger 1-bit quantization, usable
IQ1_SInteger 1-bit quantization, not recommended

For higher quality quantizations (q4+), please refer to nisten/meta-405b-instruct-cpu-optimized-gguf.

Regarding the smaug-bpe tokenizer, this doesn't make a difference (they are identical). However, if you have concerns you can use the following command to set the llama-bpe tokenizer:

./gguf-py/scripts/gguf_new_metadata.py --pre-tokenizer "llama-bpe" Llama-3.1-405B-Instruct-old.gguf LLama-3.1-405B-Instruct-fixed.gguf

imatrix

Generated from Q2_K quant.

imatrix calibration data: groups_merged.txt

ggml
gguf
llama3
text-generation

Contributors

leafspark

35 commits

leafspark/Meta-Llama-3.1-405B-Instruct-GGUF

Model

Meta-Llama-3.1-405B-Instruct-GGUF

21

35 commits

2 linked in READMEs

updated Jul 25, 2024

See the code

README

Meta-Llama-3.1-405B-Instruct-GGUF

image/png

Low bit quantizations of Meta's Llama 3.1 405B Instruct model. Quantized from ollama q4_0 GGUF.

Quantized with llama.cpp b3449

QuantNotes
BF16Brain floating point, very high quality, smaller than F16
Q8_08-bit quantization, high quality, larger size
Q6_K6-bit quantization, very good quality-to-size ratio
Q5_K5-bit quantization, good balance of quality and size
Q5_0Alternative 5-bit quantization, slightly different balance
Q4_K_M4-bit quantization, good for production use
Q4_K_S4-bit quantization, faster inference, efficient for scaling
Q4_0Basic 4-bit quantization, good for experimentation
Q3_K_L3-bit quantization, high-quality with more VRAM requirement
Q3_K_M3-bit quantization, good balance between speed and accuracy
Q3_K_S3-bit quantization, faster inference with minor quality loss
Q2_K2-bit quantization, suitable for general inference tasks
IQ2_SInteger 2-bit quantization, optimized for small VRAM environments
IQ2_XXSInteger 2-bit quantization, best for ultra-low memory footprint
IQ1_MInteger 1-bit quantization, usable
IQ1_SInteger 1-bit quantization, not recommended

For higher quality quantizations (q4+), please refer to nisten/meta-405b-instruct-cpu-optimized-gguf.

Regarding the smaug-bpe tokenizer, this doesn't make a difference (they are identical). However, if you have concerns you can use the following command to set the llama-bpe tokenizer:

./gguf-py/scripts/gguf_new_metadata.py --pre-tokenizer "llama-bpe" Llama-3.1-405B-Instruct-old.gguf LLama-3.1-405B-Instruct-fixed.gguf

imatrix

Generated from Q2_K quant.

imatrix calibration data: groups_merged.txt

ggml
gguf
llama3
text-generation

Contributors

leafspark

35 commits