Sheared LLaMA 2.7B needs about 4.7 GB of memory at Q4_0 (a 1.5 GB file) with an 8K context window, so it fits on a 6 GB GPU. This repository has 4 quants, from 1.1 GB (Q2_K) to 1.9 GB (Q5_K_M).
Sheared LLaMA 2.7B – a pruned, 2.7B‑parameter Llama model
Sheared LLaMA 2.7B is a 2.7B‑parameter Llama model pruned and further pre‑trained from meta‑llama/Llama‑2‑7b‑hf. It uses 0.4B tokens for pruning and 50B tokens for continued pre‑training. The model supports a 4096‑token context window.
Good at
- Reasoning tasks
- Reading comprehension
- Knowledge‑intensive tasks
Limits
- No vision support
- Requires 8‑k context for memory estimates
- Apache‑2.0 license
Best for
- Chatbots with limited GPU memory
- Educational tutoring systems
- Research prototyping
Who it’s for. Developers and researchers needing a lightweight Llama variant with strong reasoning and comprehension capabilities. The model is suitable for applications that can operate within a 4096‑token context and do not require vision features.
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| Q2_K | 1.1 GB | 3.0 GB | Fits | Get file → | |
| Q4_0 | 1.5 GB | 3.4 GB | Fits | Get file → | |
| Q4_1 | 1.7 GB | 3.5 GB | Fits | Get file → | |
| Q5_K_M | 1.9 GB | 3.8 GB | Fits | Get file → |
For 8 GB VRAM use Q2_K (1.14 GB, ~4.3 GB memory at 8k context). For 12 GB VRAM use Q4_0 (1.54 GB, ~4.7 GB memory). For 16 GB VRAM use Q4_1 (1.71 GB, ~4.9 GB memory).
What GPU do you need for Sheared LLaMA 2.7B?
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: the best quant that fits is Q5_K_M (1.9 GB file, about 5.1 GB in use).
Which Sheared LLaMA 2.7B quant should you choose?
Q4_0 (1.5 GB) is the middle option in this repository. The usual sweet spot between file size and quality, and the quant most people start with.
If memory is tight, the smallest file is Q2_K at 1.1 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
Source
Frequently asked questions about Sheared LLaMA 2.7B
How much VRAM does Sheared LLaMA 2.7B need?
About 4.7 GB at Q4_0 with an 8K context window. That is the 1.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 Sheared LLaMA 2.7B on an 8 GB GPU?
Yes, with Q5_K_M: the 1.9 GB file needs about 5.1 GB at 8K context. Larger quants in this repository do not fit in 8 GB.
What is the file size of Sheared LLaMA 2.7B GGUF?
It depends on the quant: Q2_K is 1.1 GB, Q4_0 is 1.5 GB, Q4_1 is 1.7 GB, Q5_K_M is 1.9 GB.
What context length does Sheared LLaMA 2.7B support?
The GGUF header lists a trained context length of 4,096 tokens (4K). The KV cache grows with the context you use: about 2.7 GB at 8K and 1.3 GB at 4K.
Where can I download Sheared LLaMA 2.7B GGUF?
The files are on Hugging Face in the Aryanne/Sheared-LLaMA-2.7B-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 Sheared LLaMA 2.7B 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 Sheared LLaMA 2.7B on 8 GB VRAM?
Yes, the Q2_K quantization is 1.14 GB and requires about 4.3 GB of VRAM at 8k context.
Does the model support image inputs?
No, the model has no vision capabilities.
What license applies to this model?
The model is released under the Apache‑2.0 license.