NE

NeverSleep Nethena 20B

NeversleepGGUF by RichardErkhovUpdated 2024-06-05
Download on Hugging Face
Parameters20B
Context4K
Layers—
Architecturellama
Smallest quant0.1 GB
Quick answer

NeverSleep Nethena 20B needs about 1.1 GB of memory at Q4_K_M (a 0.5 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 22 quants, from 0.1 GB (Q8_0) to 10.7 GB (IQ4_XS).

NeverSleep Nethena 20B is a 20B-parameter Neversleep model in GGUF format, quantized by RichardErkhov. Its trained context length is 4K tokens. The repository has 22 quant files, from 0.1 GB (Q8_0) to 10.7 GB (IQ4_XS).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q8_00.1 GB 0.6 GB
Fits Get file →
Q6_K0.1 GB 0.6 GB
Fits Get file →
Q5_10.1 GB 0.6 GB
Fits Get file →
Q5_K_M0.2 GB 0.7 GB
Fits Get file →
Q5_K0.3 GB 0.8 GB
Fits Get file →
Q5_K_S0.4 GB 0.9 GB
Fits Get file →
Q4_10.5 GB 1.0 GB
Fits Get file →
Q4_K_M0.5 GB 1.0 GB
Fits Get file →
Q5_00.5 GB 1.0 GB
Fits Get file →
Q4_K1.1 GB 1.7 GB
Fits Get file →
Q4_K_S1.5 GB 2.1 GB
Fits Get file →
IQ4_NL2.1 GB 2.8 GB
Fits Get file →
Q2_K7.4 GB 8.4 GB
Too big Get file →
IQ3_XS8.2 GB 9.2 GB
Too big Get file →
IQ3_S8.7 GB 9.7 GB
Too big Get file →
Q3_K_S8.7 GB 9.7 GB
Too big Get file →
Q4_08.8 GB 9.8 GB
Too big Get file →
IQ3_M9.2 GB 10.2 GB
Too big Get file →
Q3_K9.7 GB 10.8 GB
Too big Get file →
Q3_K_M9.7 GB 10.8 GB
Too big Get file →
Q3_K_L10.6 GB 11.8 GB
Too big Get file →
IQ4_XS10.7 GB 11.9 GB
Too big Get file →

What GPU do you need for NeverSleep Nethena 20B?

These figures add the file size, an fp16 KV cache at an 8K context window 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 IQ4_NL (2.1 GB file, about 2.9 GB in use).
  • 6 GB VRAM: the best quant that fits is IQ4_NL (2.1 GB file, about 2.9 GB in use).
  • 8 GB VRAM: the best quant that fits is IQ4_NL (2.1 GB file, about 2.9 GB in use).
  • 12 GB VRAM: the best quant that fits is Q3_K (9.7 GB file, about 11.4 GB in use).
  • 16 GB VRAM: the best quant that fits is IQ4_XS (10.7 GB file, about 12.5 GB in use).

Which NeverSleep Nethena 20B quant should you choose?

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

The Q8_0 file is 0.1 GB, about 0.1 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 Q8_0 at 0.1 GB, with the quality trade-offs that come with fewer bits. Close to lossless. It costs roughly twice the memory of a 4-bit file, so it suits cases where you have plenty of VRAM.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturellama
Parameters20B
Trained context4,096 tokens

Source

Quantized byRichardErkhov
Downloads (HF)11
Last updated2024-06-05

Frequently asked questions about NeverSleep Nethena 20B

How much VRAM does NeverSleep Nethena 20B need?

About 1.1 GB at Q4_K_M with an 8K context window. That is the 0.5 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 NeverSleep Nethena 20B on an 8 GB GPU?

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

What is the file size of NeverSleep Nethena 20B GGUF?

It depends on the quant: Q8_0 is 0.1 GB, Q6_K is 0.1 GB, Q5_1 is 0.1 GB, Q5_K_M is 0.2 GB, Q5_K is 0.3 GB, Q5_K_S is 0.4 GB and 16 more.

What context length does NeverSleep Nethena 20B support?

The GGUF header lists a trained context length of 4,096 tokens (4K).

Where can I download NeverSleep Nethena 20B GGUF?

The files are on Hugging Face in the RichardErkhov/NeverSleep_-_Nethena-20B-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 from RichardErkhov

All by RichardErkhov →

More Neversleep models

All Neversleep →

Other medium models

All medium models →