LL

llama 161M 100B

LlamaGGUF by QuantFactoryUpdated 2024-07-14
Download on Hugging Face
Parameters162M
Context1K
Layers12
Architecturellama
Smallest quant0.1 GB
Quick answer

llama 161M 100B needs about 0.7 GB of memory at Q4_K_M (a 0.1 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 14 quants, from 0.1 GB (Q3_K_S) to 0.2 GB (Q8_0).

llama 161M 100B – 161M parameter Llama model

This is a 161M parameter Llama model trained on 100B tokens. It uses a 1024 token context window and is released under the apache-2.0 license. The model is a base pretrained model and requires further fine‑tuning to be useful.

Good at

  • Code generation
  • Natural language understanding
  • Instruction following

Limits

  • No vision support
  • Requires fine‑tuning
  • Limited to 1024 token context

Best for

  • Local LLM inference
  • Educational demos
  • Prototype fine‑tuning

Who it’s for. Developers and researchers who need a lightweight Llama base model for local inference or fine‑tuning. The model is suitable for environments with limited GPU memory and for those who prefer an open‑source license.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q3_K_S0.1 GB 0.6 GB
Fits Get file →
Q2_K0.1 GB 0.6 GB
Fits Get file →
Q4_00.1 GB 0.6 GB
Fits Get file →
Q3_K_M0.1 GB 0.6 GB
Fits Get file →
Q3_K_L0.1 GB 0.6 GB
Fits Get file →
Q4_10.1 GB 0.6 GB
Fits Get file →
Q4_K_S0.1 GB 0.6 GB
Fits Get file →
Q5_00.1 GB 0.6 GB
Fits Get file →
Q4_K_M0.1 GB 0.6 GB
Fits Get file →
Q5_K_S0.1 GB 0.6 GB
Fits Get file →
Q5_10.1 GB 0.6 GB
Fits Get file →
Q5_K_M0.1 GB 0.6 GB
Fits Get file →
Q6_K0.2 GB 0.7 GB
Fits Get file →
Q8_00.2 GB 0.7 GB
Fits Get file →

For 8 GB VRAM, use Q3_K_S or Q2_K (file size 0.1 GB, memory 0.7 GB at 8 k context). For 4 GB VRAM, Q3_K_S is recommended. Higher quality quants such as Q5_K_M or Q6_K increase file size to 0.13–0.17 GB and memory to 0.7 GB, suitable for systems with 8 GB or more.

What GPU do you need for llama 161M 100B?

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 Q8_0 (0.2 GB file, about 0.7 GB in use).

Which llama 161M 100B quant should you choose?

Q4_K_M is the usual starting point for llama 161M 100B: it balances file size and quality well. Here it is a 0.1 GB file.

The Q8_0 file is 0.2 GB, about 1.4 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 Q3_K_S at 0.1 GB, with the quality trade-offs that come with fewer bits. A reasonable choice when a 4-bit file will not fit, mostly on larger models. Quality loss is noticeable but often acceptable.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturellama
Parameters162M
Layers12
Trained context1,024 tokens
KV cache (fp16)6 KB per token

Source

Quantized byQuantFactory
FamilyLlama
Licenseapache-2.0
Downloads (HF)1,047
Last updated2024-07-14

Frequently asked questions about llama 161M 100B

How much VRAM does llama 161M 100B need?

About 0.7 GB at Q4_K_M with an 8K context window. That is the 0.1 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 llama 161M 100B on an 8 GB GPU?

Yes, with Q8_0: the 0.2 GB file needs about 0.7 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of llama 161M 100B GGUF?

It depends on the quant: Q3_K_S is 0.1 GB, Q2_K is 0.1 GB, Q4_0 is 0.1 GB, Q3_K_M is 0.1 GB, Q3_K_L is 0.1 GB, Q4_1 is 0.1 GB and 8 more.

What context length does llama 161M 100B support?

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

Where can I download llama 161M 100B GGUF?

The files are on Hugging Face in the QuantFactory/llama-161M-100B-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 llama 161M 100B 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 this model on 8 GB VRAM?

Yes, the Q3_K_S and Q2_K quantizations use about 0.7 GB of VRAM at 8 k context, fitting comfortably on 8 GB.

Does this model support image inputs?

No, the model has no vision capabilities and only processes text.

What license does the model use?

The model is released under the apache-2.0 license.

Other GGUFs of llama-161M-100B

Similar models

Browse all →

More from QuantFactory

All by QuantFactory →

More Llama models

All Llama →

Other tiny models

All tiny models →