TI

tinyllama medical

TinyllamaGGUF by Elkhayyat17Updated 2024-02-13
Download on Hugging Face
Parameters6.74B
Context2K
Layers22
Architecturellama
Smallest quant2.2 GB
Quick answer

tinyllama medical needs about 2.9 GB of memory at its main file (a 2.2 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 2 quants, from 2.2 GB to 13.5 GB.

tinyllama medical is a 6.74B-parameter Tinyllama model in GGUF format, quantized by Elkhayyat17. Its trained context length is 2K tokens. The repository has 2 quant files, from 2.2 GB to 13.5 GB.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
—2.2 GB 2.7 GB
Fits Get file →
—13.5 GB 14.0 GB
Too big Get file →

What GPU do you need for tinyllama medical?

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 (2.2 GB file, about 2.9 GB in use).
  • 6 GB VRAM: the best quant that fits is the main file (2.2 GB file, about 2.9 GB in use).
  • 8 GB VRAM: the best quant that fits is the main file (2.2 GB file, about 2.9 GB in use).
  • 12 GB VRAM: the best quant that fits is the main file (2.2 GB file, about 2.9 GB in use).
  • 16 GB VRAM: the best quant that fits is the main file (13.5 GB file, about 14.2 GB in use).

Specifications

Architecture from the GGUF header

Architecturellama
Parameters6.74B
Layers22
Trained context2,048 tokens
KV cache (fp16)22 KB per token

Source

Quantized byElkhayyat17
FamilyTinyllama
Downloads (HF)14
Last updated2024-02-13

Frequently asked questions about tinyllama medical

How much VRAM does tinyllama medical need?

About 2.9 GB at its main file with an 8K context window. That is the 2.2 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 tinyllama medical on an 8 GB GPU?

Yes, with the smaller files: the 2.2 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 tinyllama medical GGUF?

It depends on the quant: file is 2.2 GB, file is 13.5 GB.

What context length does tinyllama medical support?

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

Where can I download tinyllama medical GGUF?

The files are on Hugging Face in the Elkhayyat17/tinyllama-medical-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 Elkhayyat17

All by Elkhayyat17 →

More Tinyllama models

All Tinyllama →

Other small models

All small models →