AN

AndroidPrincess 20B

AndroidprincessGGUF by mradermacherUpdated 2024-09-27
Download on Hugging Face
Parameters20B
Context4K
Layers62
Architecturellama
Smallest quant7.4 GB
Quick answer

AndroidPrincess 20B needs about 22.9 GB of memory at Q4_K_M (a 12.0 GB file) with an 8K context window, so it fits on a 24 GB GPU. This repository has 14 quants, from 7.4 GB (Q2_K) to 21.2 GB (Q8_0).

AndroidPrincess 20B – a 20‑billion‑parameter llama model

AndroidPrincess 20B is a 20‑billion‑parameter llama model merged with SLERP. It supports a 4096‑token context and is available in multiple GGUF quantizations. The model is designed for story generation and long‑form text.

Good at

  • Long‑form storytelling
  • High‑temperature text generation
  • Fluent sentence flow

Limits

  • No vision support
  • License not specified
  • Requires large VRAM for higher quants

Best for

  • Creative writing
  • Narrative drafting
  • Chatbot dialogue

Who it’s for. Developers and researchers needing a large llama model for text generation. The model is suitable for users with sufficient GPU memory to run the desired quantization.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q2_K7.4 GB 13.1 GB
Too big Get file →
IQ3_XS8.2 GB 13.9 GB
Too big Get file →
IQ3_S8.7 GB 14.4 GB
Too big Get file →
Q3_K_S8.7 GB 14.4 GB
Too big Get file →
IQ3_M9.2 GB 14.9 GB
Too big Get file →
Q3_K_M9.7 GB 15.4 GB
Too big Get file →
Q3_K_L10.6 GB 16.3 GB
Too big Get file →
IQ4_XS10.7 GB 16.5 GB
Too big Get file →
Q4_K_S11.4 GB 17.1 GB
Too big Get file →
Q4_K_M12.0 GB 17.7 GB
Too big Get file →
Q5_K_S13.8 GB 19.5 GB
Too big Get file →
Q5_K_M14.2 GB 19.9 GB
Too big Get file →
Q6_K16.4 GB 22.1 GB
Too big Get file →
Q8_021.2 GB 26.9 GB
Too big Get file →

For 8‑GB VRAM the smallest quant Q2_K (file size 7.42 GB, estimated 18.3 GB memory) is still above the limit. A 16‑GB VRAM setup can run Q4_K_S (file size 11.37 GB, estimated 22.3 GB memory). For 24‑GB VRAM use Q5_K_M (file size 14.16 GB, estimated 25.1 GB memory).

What GPU do you need for AndroidPrincess 20B?

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: no quant fits at an 8K context.
  • 16 GB VRAM: no quant fits at an 8K context.
  • 24 GB VRAM: the best quant that fits is Q4_K_M (12.0 GB file, about 22.9 GB in use).
  • 32 GB VRAM: the best quant that fits is Q6_K (16.4 GB file, about 27.3 GB in use).
  • 48 GB VRAM: the best quant that fits is Q8_0 (21.2 GB file, about 32.1 GB in use).

Which AndroidPrincess 20B quant should you choose?

Q4_K_M is the usual starting point for AndroidPrincess 20B: it balances file size and quality well. Here it is a 12.0 GB file.

The Q8_0 file is 21.2 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.4 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
Parameters20B
Layers62
Trained context4,096 tokens
KV cache (fp16)1240 KB per token

Source

Quantized bymradermacher
Downloads (HF)1,642
Last updated2024-09-27

Frequently asked questions about AndroidPrincess 20B

How much VRAM does AndroidPrincess 20B need?

About 22.9 GB at Q4_K_M with an 8K context window. That is the 12.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 AndroidPrincess 20B on an 8 GB GPU?

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

What is the file size of AndroidPrincess 20B GGUF?

It depends on the quant: Q2_K is 7.4 GB, IQ3_XS is 8.2 GB, IQ3_S is 8.7 GB, Q3_K_S is 8.7 GB, IQ3_M is 9.2 GB, Q3_K_M is 9.7 GB and 8 more.

What context length does AndroidPrincess 20B support?

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

Where can I download AndroidPrincess 20B GGUF?

The files are on Hugging Face in the mradermacher/AndroidPrincess-20B-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

Can I run AndroidPrincess 20B on 8 GB VRAM?

No. Even the smallest quant requires about 18.3 GB memory at 8k context.

Which quant is best for 16 GB VRAM?

Q4_K_S offers a balance of size and memory usage, needing about 22.3 GB at 8k context.

Is there a license restriction?

No license information is provided in the model card.

Other GGUFs of AndroidPrincess-20B

Similar models

Browse all →

More from mradermacher

All by mradermacher →

More Androidprincess models

All Androidprincess →

Other medium models

All medium models →