TI

tinyllama-coder-py-4bit-v10

TinyllamaGGUF by Ramikan-BRUpdated 2024-05-26
Download on Hugging Face
Parameters1.1B
Context4K
Layers22
Architecturellama
Smallest quant0.7 GB
Quick answer

tinyllama-coder-py-4bit-v10 needs about 1.4 GB of memory at Q4_K_M (a 0.7 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 3 quants, from 0.7 GB (Q4_K_M) to 2.2 GB (F16).

tinyllama-coder-py-4bit-v10 – a 1.1B parameter Python coding model

tinyllama-coder-py-4bit-v10 is a 1.1B parameter Llama‑based model fine‑tuned for Python code generation. It is available in three GGUF quantizations and is licensed under Apache‑2.0.

Good at

  • Python code generation
  • In‑context coding assistance
  • Lightweight deployment

Limits

  • No vision support
  • Maximum context 4096 tokens
  • Requires at least 1.4 GB VRAM for Q4_K_M

Best for

  • Writing helper functions
  • Debugging snippets
  • Generating boilerplate code

Who it’s for. Developers and researchers who need a small, fast Python coding assistant. The model is suitable for local inference on modest GPUs.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q4_K_M0.7 GB 1.3 GB
Fits Get file →
Q8_01.2 GB 1.8 GB
Fits Get file →
F162.2 GB 2.8 GB
Fits Get file →

For 8 GB VRAM use Q4_K_M (0.67 GB file, ~1.4 GB VRAM). With 12 GB VRAM Q8_0 (1.17 GB file, ~1.9 GB VRAM) offers higher precision. For 16 GB VRAM or more, F16 (2.2 GB file, ~2.9 GB VRAM) gives full‑precision results.

What GPU do you need for tinyllama-coder-py-4bit-v10?

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 F16 (2.2 GB file, about 2.9 GB in use).

Which tinyllama-coder-py-4bit-v10 quant should you choose?

Q4_K_M is the usual starting point for tinyllama-coder-py-4bit-v10: it balances file size and quality well. Here it is a 0.7 GB file.

The Q8_0 file is 1.2 GB, about 1.8 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.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturellama
Parameters1.1B
Layers22
Trained context4,096 tokens
KV cache (fp16)22 KB per token

Source

Quantized byRamikan-BR
FamilyTinyllama
Licenseapache-2.0
Downloads (HF)658
Last updated2024-05-26

Frequently asked questions about tinyllama-coder-py-4bit-v10

How much VRAM does tinyllama-coder-py-4bit-v10 need?

About 1.4 GB at Q4_K_M with an 8K context window. That is the 0.7 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-coder-py-4bit-v10 on an 8 GB GPU?

Yes, with F16: 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-coder-py-4bit-v10 GGUF?

It depends on the quant: Q4_K_M is 0.7 GB, Q8_0 is 1.2 GB, F16 is 2.2 GB.

What context length does tinyllama-coder-py-4bit-v10 support?

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

Where can I download tinyllama-coder-py-4bit-v10 GGUF?

The files are on Hugging Face in the Ramikan-BR/tinyllama-coder-py-4bit-v10 repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does tinyllama-coder-py-4bit-v10 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 tinyllama-coder-py-4bit-v10 on 8 GB VRAM?

Yes, the Q4_K_M quantization requires about 1.4 GB VRAM, well within an 8 GB GPU.

Does the model support image input?

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

What license does the model use?

The model is released under the Apache‑2.0 license.

Other GGUFs of tinyllama-chat-bnb-4bit

Similar models

Browse all →

More from Ramikan-BR

All by Ramikan-BR →

More Tinyllama models

All Tinyllama →

Other tiny models

All tiny models →