DA

dama 2 7b chat

DamaGGUF by vietgptUpdated 2023-11-17
Download on Hugging Face
Parameters6.89B
Context2K
Layers32
Architecturellama
Smallest quant3.6 GB
Quick answer

dama 2 7b chat needs about 8.8 GB of memory at Q3_K (a 4.0 GB file) with an 8K context window, so it fits on a 12 GB GPU. This repository has 3 quants, from 3.6 GB (Q2_K) to 4.8 GB (Q4_K).

dama 2 7b chat is a 6.89B-parameter Dama model in GGUF format, quantized by vietgpt. Its trained context length is 2K tokens. The repository has 3 quant files, from 3.6 GB (Q2_K) to 4.8 GB (Q4_K).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q2_K3.6 GB 5.1 GB
Fits Get file →
Q3_K4.0 GB 5.6 GB
Fits Get file →
Q4_K4.8 GB 6.4 GB
Fits Get file →

What GPU do you need for dama 2 7b chat?

These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) 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: no quant fits at an 8K context.
  • 6 GB VRAM: no quant fits at an 8K context.
  • 8 GB VRAM: no quant fits at an 8K context.
  • 12 GB VRAM: the best quant that fits is Q4_K (4.8 GB file, about 9.6 GB in use).

Which dama 2 7b chat quant should you choose?

Q3_K (4.0 GB) is the middle option in this repository. A reasonable choice when a 4-bit file will not fit, mostly on larger models. Quality loss is noticeable but often acceptable.

If memory is tight, the smallest file is Q2_K at 3.6 GB, with the quality trade-offs that come with fewer bits. Use it only when memory is very tight. Expect a clear drop in quality, which is usually worse on small models and easier to live with on large ones.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturellama
Parameters6.89B
Layers32
Trained context2,048 tokens
KV cache (fp16)512 KB per token

Source

Quantized byvietgpt
FamilyDama
Licenseapache-2.0
Downloads (HF)27
Last updated2023-11-17

Frequently asked questions about dama 2 7b chat

How much VRAM does dama 2 7b chat need?

About 8.8 GB at Q3_K with an 8K context window. That is the 4.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 dama 2 7b chat on an 8 GB GPU?

Not at an 8K context. The smallest file needs about 8.4 GB, so you would need a larger GPU or CPU offloading.

What is the file size of dama 2 7b chat GGUF?

It depends on the quant: Q2_K is 3.6 GB, Q3_K is 4.0 GB, Q4_K is 4.8 GB.

What context length does dama 2 7b chat support?

The GGUF header lists a trained context length of 2,048 tokens (2K). The KV cache grows with the context you use: about 4.3 GB at 8K and 1.1 GB at 2K.

Where can I download dama 2 7b chat GGUF?

The files are on Hugging Face in the vietgpt/dama-2-7b-chat-gguf repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does dama 2 7b chat use?

Hugging Face lists the license as apache-2.0. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.

Similar models

Browse all →

More from vietgpt

All by vietgpt →

More Dama models

All Dama →

Other small models

All small models →