AR

aragpt2-base

AragptGGUF by RichardErkhovUpdated 2024-04-17
Download on Hugging Face
Parameters184M
Context1K
Layers12
Architecturegpt2
Smallest quant0.1 GB
Quick answer

aragpt2-base needs about 0.9 GB of memory at Q4_K_M (a 0.1 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 21 quants, from 0.1 GB (Q2_K) to 0.2 GB (Q6_K).

Arabic GPT2 base model in GGUF format

aragpt2-base is a 0.184B parameter GPT2 model trained on Arabic corpora. It is available in multiple quantized GGUF files for efficient inference. The model supports a 1024 token context window.

Good at

  • Arabic text generation
  • Arabic language modeling
  • Fine‑tuning on Arabic datasets

Limits

  • No vision support
  • No license specified
  • Small context window of 1024 tokens

Best for

  • Arabic chatbot prototypes
  • Arabic text summarization
  • Arabic language research

Who it’s for. Developers and researchers working with Arabic language models who need a lightweight, quantized GPT2 variant. The model is suitable for local inference on modest hardware.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q2_K0.1 GB 0.6 GB
Fits Get file →
IQ3_XS0.1 GB 0.6 GB
Fits Get file →
IQ3_S0.1 GB 0.6 GB
Fits Get file →
Q3_K_S0.1 GB 0.6 GB
Fits Get file →
IQ3_M0.1 GB 0.6 GB
Fits Get file →
Q3_K0.1 GB 0.6 GB
Fits Get file →
Q3_K_M0.1 GB 0.6 GB
Fits Get file →
Q3_K_L0.1 GB 0.7 GB
Fits Get file →
IQ4_XS0.1 GB 0.7 GB
Fits Get file →
Q4_00.1 GB 0.7 GB
Fits Get file →
IQ4_NL0.1 GB 0.7 GB
Fits Get file →
Q4_K_S0.1 GB 0.7 GB
Fits Get file →
Q4_K0.1 GB 0.7 GB
Fits Get file →
Q4_K_M0.1 GB 0.7 GB
Fits Get file →
Q4_10.1 GB 0.7 GB
Fits Get file →
Q5_00.1 GB 0.7 GB
Fits Get file →
Q5_K_S0.1 GB 0.7 GB
Fits Get file →
Q5_K0.1 GB 0.7 GB
Fits Get file →
Q5_K_M0.1 GB 0.7 GB
Fits Get file →
Q5_10.1 GB 0.7 GB
Fits Get file →
Q6_K0.2 GB 0.7 GB
Fits Get file →

For 8 GB VRAM, use Q4_K_M (0.13 GB file, ~0.9 GB memory at 8k context). If 4 GB VRAM is available, Q2_K or IQ3_XS (0.09–0.1 GB file) are suitable. Larger models like Q6_K require ~1 GB memory and are best on 16 GB+ VRAM.

What GPU do you need for aragpt2-base?

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: the best quant that fits is Q6_K (0.2 GB file, about 1.0 GB in use).

Which aragpt2-base quant should you choose?

Q4_K_M is the usual starting point for aragpt2-base: it balances file size and quality well. Here it is a 0.1 GB file.

If memory is tight, the smallest file is Q2_K at 0.1 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

Architecturegpt2
Parameters184M
Layers12
Trained context1,024 tokens
KV cache (fp16)36 KB per token

Source

Quantized byRichardErkhov
FamilyAragpt
Downloads (HF)724
Last updated2024-04-17

Frequently asked questions about aragpt2-base

How much VRAM does aragpt2-base need?

About 0.9 GB at Q4_K_M with an 8K context window. That is the 0.1 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 aragpt2-base on an 8 GB GPU?

Yes, with Q6_K: the 0.2 GB file needs about 1.0 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of aragpt2-base GGUF?

It depends on the quant: Q2_K is 0.1 GB, IQ3_XS is 0.1 GB, IQ3_S is 0.1 GB, Q3_K_S is 0.1 GB, IQ3_M is 0.1 GB, Q3_K is 0.1 GB and 15 more.

What context length does aragpt2-base support?

The GGUF header lists a trained context length of 1,024 tokens (1K). The KV cache grows with the context you use: about 0.3 GB at 8K and 0.0 GB at 1K.

Where can I download aragpt2-base GGUF?

The files are on Hugging Face in the RichardErkhov/aubmindlab_-_aragpt2-base-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 Q4_K_M on 8 GB VRAM?

Yes, Q4_K_M requires about 0.9 GB memory at 8k context, well within 8 GB VRAM limits.

What is the context length of this model?

The model was trained with a 1024 token context window.

Is there a license for using this model?

No license information is provided in the supplied facts.

Similar models

Browse all →

More from RichardErkhov

All by RichardErkhov →

Other tiny models

All tiny models →