GP

Gpt Neox 20b

GptGGUF by mradermacherUpdated 2024-09-08
Download on Hugging Face
Parameters20.6B
Context2K
Layers44
Architecturegptneox
Smallest quant7.8 GB
Quick answer

Gpt Neox 20b needs about 22.5 GB of memory at Q4_K_M (a 13.1 GB file) with an 8K context window, so it fits on a 24 GB GPU. This repository has 14 quants, from 7.8 GB (Q2_K) to 21.9 GB (Q8_0).

GPT-NeoX-20B GGUF model for research and fine‑tuning

GPT-NeoX-20B is a 20.6 billion parameter transformer language model. It is released under Apache 2.0 and is intended for research and downstream fine‑tuning. The model is English‑only and requires supervision for any human‑facing deployment.

Good at

  • Large‑scale language modeling
  • Research‑grade feature extraction
  • Fine‑tuning for downstream tasks

Limits

  • Not suitable for out‑of‑the‑box chat applications
  • No vision or multimodal support
  • English‑only usage

Best for

  • Academic research on language models
  • Fine‑tuning custom NLP pipelines
  • Feature extraction for downstream tasks

Who it’s for. Researchers and developers who need a large, open‑source language model for experimentation or fine‑tuning. The model is not a ready‑made chatbot and should be used under the Apache 2.0 license with appropriate risk assessment.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q2_K7.8 GB 10.5 GB
Too big Get file →
IQ3_XS8.7 GB 11.4 GB
Too big Get file →
IQ3_S9.0 GB 11.7 GB
Too big Get file →
Q3_K_S9.0 GB 11.7 GB
Too big Get file →
IQ3_M10.0 GB 12.7 GB
Too big Get file →
Q3_K_M10.8 GB 13.5 GB
Too big Get file →
IQ4_XS11.1 GB 13.9 GB
Too big Get file →
Q4_K_S11.8 GB 14.5 GB
Too big Get file →
Q3_K_L11.8 GB 14.5 GB
Too big Get file →
Q4_K_M13.1 GB 15.8 GB
Too big Get file →
Q5_K_S14.2 GB 16.9 GB
Too big Get file →
Q5_K_M15.3 GB 18.0 GB
Too big Get file →
Q6_K16.9 GB 19.6 GB
Too big Get file →
Q8_021.9 GB 24.6 GB
Too big Get file →

For 8 GB VRAM use Q2_K (7.76 GB file, ~17.1 GB memory at 8k context). For 12 GB VRAM use Q4_K_S (11.75 GB file, ~21.1 GB memory). For 16 GB VRAM use Q4_K_M (13.14 GB file, ~22.5 GB memory). Memory estimates are approximate.

What GPU do you need for Gpt Neox 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 Q5_K_S (14.2 GB file, about 23.5 GB in use).
  • 32 GB VRAM: the best quant that fits is Q8_0 (21.9 GB file, about 31.2 GB in use).

Which Gpt Neox 20b quant should you choose?

Q4_K_M is the usual starting point for Gpt Neox 20b: it balances file size and quality well. Here it is a 13.1 GB file.

The Q8_0 file is 21.9 GB, about 1.7 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.8 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

Architecturegptneox
Parameters20.6B
Layers44
Trained context2,048 tokens
KV cache (fp16)1056 KB per token

Source

Quantized bymradermacher
FamilyGpt
Licenseapache-2.0
Downloads (HF)1,845
Last updated2024-09-08

Frequently asked questions about Gpt Neox 20b

How much VRAM does Gpt Neox 20b need?

About 22.5 GB at Q4_K_M with an 8K context window. That is the 13.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 Gpt Neox 20b on an 8 GB GPU?

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

What is the file size of Gpt Neox 20b GGUF?

It depends on the quant: Q2_K is 7.8 GB, IQ3_XS is 8.7 GB, IQ3_S is 9.0 GB, Q3_K_S is 9.0 GB, IQ3_M is 10.0 GB, Q3_K_M is 10.8 GB and 8 more.

What context length does Gpt Neox 20b support?

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

Where can I download Gpt Neox 20b GGUF?

The files are on Hugging Face in the mradermacher/gpt-neox-20b-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 Gpt Neox 20b 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.

Can I run GPT-NeoX-20B on 8 GB VRAM?

Use the Q2_K quant, which requires about 17.1 GB of VRAM at 8k context. It will not fit on 8 GB VRAM alone.

Does this model support multilingual text?

No, GPT-NeoX-20B is English‑only and cannot generate or translate other languages.

Is the model suitable for a production chatbot?

No, it is not fine‑tuned for chat and should not be used for human‑facing interactions without supervision.

Other GGUFs of gpt-neox-20b

Similar models

Browse all →

More from mradermacher

All by mradermacher →

More Gpt models

All Gpt →

Other medium models

All medium models →