CH

chinese alpcha 2 7b

ChineseGGUF by calvinchaochaoUpdated 2023-10-22
Download on Hugging Face
Parameters13.3B
Context4K
Layers32
Architecturellama
Smallest quant2.9 GB
Quick answer

chinese alpcha 2 7b needs about 10.0 GB of memory at Q5_1 (a 5.2 GB file) with an 8K context window, so it fits on a 12 GB GPU. This repository has 3 quants, from 2.9 GB (Q2_K) to 5.6 GB.

chinese alpcha 2 7b is a 13.3B-parameter Chinese model in GGUF format, quantized by calvinchaochao. Its trained context length is 4K tokens. The repository has 3 quant files, from 2.9 GB (Q2_K) to 5.6 GB.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q2_K2.9 GB 5.6 GB
Fits Get file →
Q5_15.2 GB 7.9 GB
Tight Get file →
—5.6 GB 8.2 GB
Too big Get file →

What GPU do you need for chinese alpcha 2 7b?

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: the best quant that fits is Q2_K (2.9 GB file, about 7.7 GB in use).
  • 12 GB VRAM: the best quant that fits is the main file (5.6 GB file, about 10.4 GB in use).

Which chinese alpcha 2 7b quant should you choose?

Q5_1 (5.2 GB) is the middle option in this repository. Closer to the original model than 4-bit, for a moderate increase in size. A good pick when you have memory to spare.

If memory is tight, the smallest file is Q2_K at 2.9 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
Parameters13.3B
Layers32
Trained context4,096 tokens
KV cache (fp16)512 KB per token

Source

Quantized bycalvinchaochao
FamilyChinese
Downloads (HF)9
Last updated2023-10-22

Frequently asked questions about chinese alpcha 2 7b

How much VRAM does chinese alpcha 2 7b need?

About 10.0 GB at Q5_1 with an 8K context window. That is the 5.2 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 chinese alpcha 2 7b on an 8 GB GPU?

Yes, with Q2_K: the 2.9 GB file needs about 7.7 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of chinese alpcha 2 7b GGUF?

It depends on the quant: Q2_K is 2.9 GB, Q5_1 is 5.2 GB, file is 5.6 GB.

What context length does chinese alpcha 2 7b support?

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

Where can I download chinese alpcha 2 7b GGUF?

The files are on Hugging Face in the calvinchaochao/chinese-alpcha-2-7b-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 Chinese models

All Chinese →

Other medium models

All medium models →