mradermacher's picture
auto-patch README.md
34218fd verified
metadata
base_model: NousResearch/Llama-2-7b-chat-hf
extra_gated_button_content: Submit
extra_gated_fields:
  I agree to share my name, email address and username with Meta and confirm that I have already been granted download access on the Meta website: checkbox
extra_gated_heading: Access Llama 2 on Hugging Face
language:
  - en
library_name: transformers
quantized_by: mradermacher
tags:
  - facebook
  - meta
  - pytorch
  - llama
  - llama-2

About

weighted/imatrix quants of https://huggingface.co/NousResearch/Llama-2-7b-chat-hf

static quants are available at https://huggingface.co/mradermacher/Llama-2-7b-chat-hf-GGUF

Usage

If you are unsure how to use GGUF files, refer to one of TheBloke's READMEs for more details, including on how to concatenate multi-part files.

Provided Quants

(sorted by size, not necessarily quality. IQ-quants are often preferable over similar sized non-IQ quants)

Link Type Size/GB Notes
GGUF i1-IQ1_S 1.6 for the desperate
GGUF i1-IQ1_M 1.8 mostly desperate
GGUF i1-IQ2_XXS 2.0
GGUF i1-IQ2_XS 2.1
GGUF i1-IQ2_S 2.3
GGUF i1-Q2_K_S 2.4 very low quality
GGUF i1-IQ2_M 2.5
GGUF i1-Q2_K 2.6 IQ3_XXS probably better
GGUF i1-IQ3_XXS 2.7 lower quality
GGUF i1-IQ3_XS 2.9
GGUF i1-IQ3_S 3.0 beats Q3_K*
GGUF i1-Q3_K_S 3.0 IQ3_XS probably better
GGUF i1-IQ3_M 3.2
GGUF i1-Q3_K_M 3.4 IQ3_S probably better
GGUF i1-Q3_K_L 3.7 IQ3_M probably better
GGUF i1-IQ4_XS 3.7
GGUF i1-Q4_0 3.9 fast, low quality
GGUF i1-Q4_K_S 4.0 optimal size/speed/quality
GGUF i1-Q4_K_M 4.2 fast, recommended
GGUF i1-Q5_K_S 4.8
GGUF i1-Q5_K_M 4.9
GGUF i1-Q6_K 5.6 practically like static Q6_K

Here is a handy graph by ikawrakow comparing some lower-quality quant types (lower is better):

image.png

And here are Artefact2's thoughts on the matter: https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9

FAQ / Model Request

See https://huggingface.co/mradermacher/model_requests for some answers to questions you might have and/or if you want some other model quantized.

Thanks

I thank my company, nethype GmbH, for letting me use its servers and providing upgrades to my workstation to enable this work in my free time. Additional thanks to @nicoboss for giving me access to his private supercomputer, enabling me to provide many more imatrix quants, at much higher quality, than I would otherwise be able to.