ME

MedLLaMA 13B CPT SFT

MedllamaGGUF by mradermacherUpdated 2026-01-06
Download on Hugging Face
Parameters13B
Context2K
Layers40
Architecturellama
Smallest quant0.0 GB
Quick answer

MedLLaMA 13B CPT SFT needs about 15.1 GB of memory at Q4_K_M (a 7.9 GB file) with an 8K context window, so it fits on a 16 GB GPU. This repository has 25 quants, from 0.0 GB to 10.7 GB (Q6_K).

MedLLaMA 13B CPT SFT – domain‑adapted medical LLM

MedLLaMA 13B CPT SFT is a 13‑billion‑parameter llama model fine‑tuned for medical question answering. It uses a two‑stage adaptation: CPT on unlabeled medical text and SFT on labeled QA data. The model is released under Apache‑2.0.

Good at

  • Medical QA
  • Clinical text understanding
  • Domain‑specific knowledge

Limits

  • No vision support
  • Context limited to 2048 tokens
  • Requires 8‑k context for memory estimates

Best for

  • Medical chatbot prototypes
  • Clinical decision support research
  • Medical data summarization

Who it’s for. Developers building medical AI applications and researchers needing a specialized LLM for clinical text. The model is open‑source and can be integrated with llama.cpp or other GGUF‑compatible frameworks.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
—0.0 GB 2.2 GB
Fits Get file →
IQ1_S2.9 GB 5.1 GB
Fits Get file →
IQ1_M3.1 GB 5.3 GB
Fits Get file →
IQ2_XXS3.5 GB 5.7 GB
Fits Get file →
IQ2_XS3.9 GB 6.1 GB
Fits Get file →
IQ2_S4.2 GB 6.4 GB
Fits Get file →
Q2_K_S4.4 GB 6.6 GB
Fits Get file →
IQ2_M4.5 GB 6.7 GB
Fits Get file →
Q2_K4.9 GB 7.0 GB
Fits Get file →
IQ3_XXS5.0 GB 7.1 GB
Fits Get file →
IQ3_XS5.4 GB 7.5 GB
Tight Get file →
IQ3_S5.7 GB 7.8 GB
Tight Get file →
Q3_K_S5.7 GB 7.8 GB
Tight Get file →
IQ3_M6.0 GB 8.2 GB
Too big Get file →
Q3_K_M6.3 GB 8.5 GB
Too big Get file →
Q3_K_L6.9 GB 9.1 GB
Too big Get file →
IQ4_XS7.0 GB 9.1 GB
Too big Get file →
IQ4_NL7.4 GB 9.5 GB
Too big Get file →
Q4_07.4 GB 9.6 GB
Too big Get file →
Q4_K_S7.4 GB 9.6 GB
Too big Get file →
Q4_K_M7.9 GB 10.0 GB
Too big Get file →
Q4_18.2 GB 10.3 GB
Too big Get file →
Q5_K_S9.0 GB 11.2 GB
Too big Get file →
Q5_K_M9.2 GB 11.4 GB
Too big Get file →
Q6_K10.7 GB 12.9 GB
Too big Get file →

For 8‑GB VRAM use IQ1_S (file size 2.9 GB, memory 10.1 GB). For 12‑GB VRAM IQ2_XS (3.89 GB, 11.1 GB) or Q4_K_M (7.87 GB, 15.1 GB). Larger VRAM allows higher‑quality quants like Q5_K_M or Q6_K.

What GPU do you need for MedLLaMA 13B CPT SFT?

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: the best quant that fits is the main file (0.0 GB file, about 7.2 GB in use).
  • 12 GB VRAM: the best quant that fits is IQ2_M (4.5 GB file, about 11.7 GB in use).
  • 16 GB VRAM: the best quant that fits is Q4_1 (8.2 GB file, about 15.4 GB in use).
  • 24 GB VRAM: the best quant that fits is Q6_K (10.7 GB file, about 17.9 GB in use).

Which MedLLaMA 13B CPT SFT quant should you choose?

Q4_K_M is the usual starting point for MedLLaMA 13B CPT SFT: it balances file size and quality well. Here it is a 7.9 GB file.

If memory is tight, the smallest file is the first one in the table at 0.0 GB, with the quality trade-offs that come with fewer bits.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturellama
Parameters13B
Layers40
Trained context2,048 tokens
KV cache (fp16)800 KB per token

Source

Quantized bymradermacher
FamilyMedllama
Licenseapache-2.0
Downloads (HF)588
Last updated2026-01-06

Frequently asked questions about MedLLaMA 13B CPT SFT

How much VRAM does MedLLaMA 13B CPT SFT need?

About 15.1 GB at Q4_K_M with an 8K context window. That is the 7.9 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 MedLLaMA 13B CPT SFT on an 8 GB GPU?

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

What is the file size of MedLLaMA 13B CPT SFT GGUF?

It depends on the quant: file is 0.0 GB, IQ1_S is 2.9 GB, IQ1_M is 3.1 GB, IQ2_XXS is 3.5 GB, IQ2_XS is 3.9 GB, IQ2_S is 4.2 GB and 19 more.

What context length does MedLLaMA 13B CPT SFT support?

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

Where can I download MedLLaMA 13B CPT SFT GGUF?

The files are on Hugging Face in the mradermacher/MedLLaMA-13B-CPT-SFT-i1-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 MedLLaMA 13B CPT SFT 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 MedLLaMA 13B CPT SFT on 8 GB VRAM?

Use the IQ1_S quant; it requires about 10.1 GB of VRAM at 8‑k context. Other quants will exceed 8 GB.

Does the model support vision tasks?

No, the model is purely text‑based and has no vision capabilities.

What license applies to this model?

The model is released under the Apache‑2.0 license.

Other GGUFs of MedLLaMA-13B-CPT-SFT

Similar models

Browse all →

More from mradermacher

All by mradermacher →

More Medllama models

All Medllama →

Other medium models

All medium models →