CH

Chaifighter-20B-v2

ChaifighterGGUF by mradermacherUpdated 2024-05-19
Download on Hugging Face
Parameters19.5B
Context4K
Layers88
Architecturellama
Smallest quant7.2 GB
Quick answer

Chaifighter-20B-v2 needs about 15.1 GB of memory at Q4_K_M (a 11.7 GB file) with an 8K context window, so it fits on a 16 GB GPU. This repository has 14 quants, from 7.2 GB (Q2_K) to 20.7 GB (Q8_0).

Chaifighter‑20B‑v2 – a 20B Llama‑based model for long‑form roleplay

Chaifighter‑20B‑v2 is a 19.5B‑parameter Llama model merged from several open‑source models. It supports a 4096‑token context window and is tuned for verbose, detailed role‑play and essay writing. The model is released under the apache‑2.0 license.

Good at

  • Long‑form roleplay
  • Verbose storytelling
  • Essay‑style content

Limits

  • 4096‑token context window
  • No vision support
  • Requires 8‑k context for memory estimates

Best for

  • Character‑driven role‑play sessions
  • Creative writing projects
  • Detailed narrative generation

Who it’s for. Developers and writers who need a large, text‑only model for extended conversations or content creation. The model is suitable for users with GPUs that can handle 20B‑scale memory demands.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q2_K7.2 GB 9.2 GB
Too big Get file →
IQ3_XS8.0 GB 10.0 GB
Too big Get file →
Q3_K_S8.4 GB 10.4 GB
Too big Get file →
IQ3_S8.5 GB 10.4 GB
Too big Get file →
IQ3_M8.7 GB 10.7 GB
Too big Get file →
Q3_K_M9.4 GB 11.4 GB
Too big Get file →
Q3_K_L10.2 GB 12.2 GB
Too big Get file →
IQ4_XS10.5 GB 12.5 GB
Too big Get file →
Q4_K_S11.1 GB 13.0 GB
Too big Get file →
Q4_K_M11.7 GB 13.7 GB
Too big Get file →
Q5_K_S13.4 GB 15.4 GB
Too big Get file →
Q5_K_M13.8 GB 15.7 GB
Too big Get file →
Q6_K16.0 GB 17.9 GB
Too big Get file →
Q8_020.7 GB 22.7 GB
Too big Get file →

For 8‑GB VRAM use Q2_K (7.21 GB file, 10.7 GB memory at 8k context). For 16‑GB VRAM Q4_K_M (11.69 GB file, 15.1 GB memory) is a good balance. For 24‑GB VRAM Q8_0 (20.67 GB file, 24.1 GB memory) gives full precision.

What GPU do you need for Chaifighter-20B-v2?

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 IQ3_S (8.5 GB file, about 11.9 GB in use).
  • 16 GB VRAM: the best quant that fits is Q4_K_M (11.7 GB file, about 15.1 GB in use).
  • 24 GB VRAM: the best quant that fits is Q6_K (16.0 GB file, about 19.4 GB in use).
  • 32 GB VRAM: the best quant that fits is Q8_0 (20.7 GB file, about 24.1 GB in use).

Which Chaifighter-20B-v2 quant should you choose?

Q4_K_M is the usual starting point for Chaifighter-20B-v2: it balances file size and quality well. Here it is a 11.7 GB file.

The Q8_0 file is 20.7 GB, about 1.8 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 Q2_K at 7.2 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
Parameters19.5B
Layers88
Trained context4,096 tokens
KV cache (fp16)352 KB per token

Source

Quantized bymradermacher
Licenseapache-2.0
Downloads (HF)957
Last updated2024-05-19

Frequently asked questions about Chaifighter-20B-v2

How much VRAM does Chaifighter-20B-v2 need?

About 15.1 GB at Q4_K_M with an 8K context window. That is the 11.7 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 Chaifighter-20B-v2 on an 8 GB GPU?

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

What is the file size of Chaifighter-20B-v2 GGUF?

It depends on the quant: Q2_K is 7.2 GB, IQ3_XS is 8.0 GB, Q3_K_S is 8.4 GB, IQ3_S is 8.5 GB, IQ3_M is 8.7 GB, Q3_K_M is 9.4 GB and 8 more.

What context length does Chaifighter-20B-v2 support?

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

Where can I download Chaifighter-20B-v2 GGUF?

The files are on Hugging Face in the mradermacher/Chaifighter-20B-v2-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 Chaifighter-20B-v2 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.

Does the model support image input?

No, Chaifighter‑20B‑v2 is a text‑only model and has no vision capabilities.

What context length does the model support?

The model natively supports a maximum of 4096 tokens.

Other GGUFs of Chaifighter-20B-v2

Similar models

Browse all →

More from mradermacher

All by mradermacher →

More Chaifighter models

All Chaifighter →

Other medium models

All medium models →