LL

kykim0 Llama 2 7b ultrachat200k 2e

LlamaGGUF by RichardErkhovUpdated 2024-09-01
Download on Hugging Face
Parameters6.74B
Context4K
Layers—
Architecturellama
Smallest quant0.9 GB
Quick answer

kykim0 Llama 2 7b ultrachat200k 2e needs about 2.8 GB of memory at Q4_K_M (a 2.0 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 22 quants, from 0.9 GB (IQ4_XS) to 5.1 GB (Q5_1).

kykim0 Llama 2 7b ultrachat200k 2e is a 6.74B-parameter Llama model in GGUF format, quantized by RichardErkhov. Its trained context length is 4K tokens. The repository has 22 quant files, from 0.9 GB (IQ4_XS) to 5.1 GB (Q5_1).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
IQ4_XS0.9 GB 1.4 GB
Fits Get file →
Q4_K_S1.2 GB 1.8 GB
Fits Get file →
IQ4_NL1.9 GB 2.5 GB
Fits Get file →
Q4_K_M2.0 GB 2.7 GB
Fits Get file →
Q6_K2.4 GB 3.1 GB
Fits Get file →
Q2_K2.5 GB 3.2 GB
Fits Get file →
IQ3_XS2.8 GB 3.5 GB
Fits Get file →
IQ3_S2.9 GB 3.6 GB
Fits Get file →
Q3_K_S2.9 GB 3.6 GB
Fits Get file →
IQ3_M3.1 GB 3.8 GB
Fits Get file →
Q3_K3.3 GB 4.0 GB
Fits Get file →
Q3_K_M3.3 GB 4.0 GB
Fits Get file →
Q3_K_L3.6 GB 4.3 GB
Fits Get file →
Q4_03.8 GB 4.6 GB
Fits Get file →
Q8_03.9 GB 4.7 GB
Fits Get file →
Q4_K4.1 GB 4.8 GB
Fits Get file →
Q4_14.2 GB 5.0 GB
Fits Get file →
Q5_04.7 GB 5.4 GB
Fits Get file →
Q5_K_S4.7 GB 5.4 GB
Fits Get file →
Q5_K4.8 GB 5.6 GB
Fits Get file →
Q5_K_M4.8 GB 5.6 GB
Fits Get file →
Q5_15.1 GB 5.9 GB
Fits Get file →

What GPU do you need for kykim0 Llama 2 7b ultrachat200k 2e?

These figures add the file size, an fp16 KV cache at an 8K context window and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.

  • 4 GB VRAM: the best quant that fits is IQ3_M (3.1 GB file, about 4.0 GB in use).
  • 6 GB VRAM: the best quant that fits is Q5_K (4.8 GB file, about 5.9 GB in use).
  • 8 GB VRAM: the best quant that fits is Q5_1 (5.1 GB file, about 6.2 GB in use).

Which kykim0 Llama 2 7b ultrachat200k 2e quant should you choose?

Q4_K_M is the usual starting point for kykim0 Llama 2 7b ultrachat200k 2e: it balances file size and quality well. Here it is a 2.0 GB file.

The Q8_0 file is 3.9 GB, about 1.9 times the size of Q4_K_M. It keeps the weights closer to the original, which only matters if you have the memory to spare.

If memory is tight, the smallest file is IQ4_XS at 0.9 GB, with the quality trade-offs that come with fewer bits. The usual sweet spot between file size and quality, and the quant most people start with.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturellama
Parameters6.74B
Trained context4,096 tokens

Source

Quantized byRichardErkhov
FamilyLlama
Downloads (HF)342
Last updated2024-09-01

Frequently asked questions about kykim0 Llama 2 7b ultrachat200k 2e

How much VRAM does kykim0 Llama 2 7b ultrachat200k 2e need?

About 2.8 GB at Q4_K_M with an 8K context window. That is the 2.0 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.

Can I run kykim0 Llama 2 7b ultrachat200k 2e on an 8 GB GPU?

Yes, with Q5_1: the 5.1 GB file needs about 6.2 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of kykim0 Llama 2 7b ultrachat200k 2e GGUF?

It depends on the quant: IQ4_XS is 0.9 GB, Q4_K_S is 1.2 GB, IQ4_NL is 1.9 GB, Q4_K_M is 2.0 GB, Q6_K is 2.4 GB, Q2_K is 2.5 GB and 16 more.

What context length does kykim0 Llama 2 7b ultrachat200k 2e support?

The GGUF header lists a trained context length of 4,096 tokens (4K).

Where can I download kykim0 Llama 2 7b ultrachat200k 2e GGUF?

The files are on Hugging Face in the RichardErkhov/kykim0_-_Llama-2-7b-ultrachat200k-2e-gguf repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

Similar models

Browse all →

More from RichardErkhov

All by RichardErkhov →

More Llama models

All Llama →

Other small models

All small models →