Skip to main content

Model guide

TinyLlama 1.1B Chat v1.0

TinyLlama 1.1B Chat is a compact checkpoint for learning how local chat works or maintaining an existing TinyLlama experiment. Its short context and small size call for brief, tightly specified prompts. Compare it with another small instruction model before choosing it for document summaries or factual assistance.

1.1BText chat2,048 token contextView the model card →

At a glance

Parameters
1.1B
Accepts
Text
Returns
Text
Published context limit
2,048 tokens
Model format
Safetensors · GGUF
Software and download hosts
Ollama. Follow the exact setup below; this list does not establish support for every format, input type or software version.
Suggested compression
Q4_K_M
Model-weight download
Q4_K_M weights · 0.67 GBTheBloke (community conversion)tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf
Languages
English
License
Apache-2.0

Will it fit?

TinyLlama 1.1B Chat v1.0 · Q4_K_M download. Fit depends on your computer, the app you run it in and the conversation length you need.

Check on your computer

Best for

  • Label a short list of objects as fruit or tools.

Choose something else when

  • Use a different checkpoint for a long conversation. The published window is 2,048 tokens.

First setup

Check a representative task

Keep the first task short enough to inspect completely.

Classify each item as fruit or tool. Return one line per item and no introduction: apple; hammer; pear.

Check the result: Apple and pear are fruit; hammer is a tool. An unrelated continuation or repeated prompt is a failure of this small instruction task.

This creates a 2,048-token copy of tinyllama:1.1b-chat-v1-q4_K_M named tinyllama-1-1b-chat-v1-short-context. Save the following as a file named Modelfile in your working folder:

FROM tinyllama:1.1b-chat-v1-q4_K_M
PARAMETER num_ctx 2048

Then run these commands from that folder:

ollama pull tinyllama:1.1b-chat-v1-q4_K_M
ollama create tinyllama-1-1b-chat-v1-short-context -f ./Modelfile
ollama run tinyllama-1-1b-chat-v1-short-context

Run the task check. While the model is loaded, run ollama ps in another terminal and check CONTEXT and PROCESSOR.

The recorded Ollama package is Q4_K_M: 0.67 GB of model weights. Use Ollama 0.40.18 or a supporting newer release. A Hugging Face GGUF or MLX checkpoint is a separate representation; choose the matching source and runner in the memory calculator.

See Ollama context settings and the Modelfile instructions.

Run ollama run tinyllama:1.1b-chat-q4_K_M.

Other models for this task