GP

Gpt2 Protect Lora

GptGGUF by zfercUpdated 2024-09-23
Download on Hugging Face
Parameters2M
Context256
Layers24
Architecturegpt2
Smallest quant0.0 GB
Quick answer

Gpt2 Protect Lora needs about 1.3 GB of memory at its main file (a 0.0 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 2 quants, from 0.0 GB to 0.8 GB.

Gpt2 Protect Lora is a 2M-parameter Gpt model in GGUF format, quantized by zferc. Its trained context length is 256 tokens. The repository has 2 quant files, from 0.0 GB to 0.8 GB.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
—0.0 GB 0.5 GB
Fits Get file →
—0.8 GB 1.3 GB
Fits Get file →

What GPU do you need for Gpt2 Protect Lora?

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 the main file (0.8 GB file, about 2.1 GB in use).

Specifications

Architecture from the GGUF header

Architecturegpt2
Parameters2M
Layers24
Trained context256 tokens
KV cache (fp16)96 KB per token

Source

Quantized byzferc
FamilyGpt
Downloads (HF)18
Last updated2024-09-23

Frequently asked questions about Gpt2 Protect Lora

How much VRAM does Gpt2 Protect Lora need?

About 1.3 GB at its main file with an 8K context window. That is the 0.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 Gpt2 Protect Lora on an 8 GB GPU?

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

What is the file size of Gpt2 Protect Lora GGUF?

It depends on the quant: file is 0.0 GB, file is 0.8 GB.

What context length does Gpt2 Protect Lora support?

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

Where can I download Gpt2 Protect Lora GGUF?

The files are on Hugging Face in the zferc/gpt2-protect-lora-gguf repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

Other GGUFs of gpt2-medium

Similar models

Browse all →

More from zferc

All by zferc →

More Gpt models

All Gpt →

Other tiny models

All tiny models →