Mindket

TinyLlama-1.1B-Chat-v1.0

Newversion 1 · updated

Overview

Chats in plain text as a small 1.1B language model that runs with little memory. For developers and researchers who want a compact chat model built on a Llama-style base.

TinyLlama-1.1B-Chat-v1.0 is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Python with pip
  • The transformers library, version 4.34 or newer
  • About 2.2 GB of disk space for the BF16 weights, or about 550 MB at 4-bit (an estimate)
  • The accelerate library, which the card's snippet relies on for device placement
Runs in
  • Your own computer with Python and the transformers library, on Windows, macOS or Linux
  • Open-source tools built for Llama models, because it shares their architecture and tokenizer
Start with
pip install -U huggingface_hub
hf download TinyLlama/TinyLlama-1.1B-Chat-v1.0

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

TinyLlama-1.1B-Chat-v1.0 is a small chat model with 1.1 billion parameters. It is the chat-tuned version of a base model from the TinyLlama project, which aims to pretrain a Llama-style model on 3 trillion tokens. It reuses the Llama 2 architecture and tokenizer, so it fits many tools built for Llama.

Who it suits

Developers and researchers who want a compact chat model that needs little memory.

IndustryWho uses itHow they use itExample
SoftwareDevelopersAdd a small chat model to an app with limited memoryRun a chatbot on a modest computer
ResearchResearchersStudy a compact Llama-style chat modelTest prompts on a 1.1B model
EducationStudentsLearn how chat models work at a small scaleTry the pipeline code and change the system message

If you need the depth of a large model, you can skip it, since this one has only 1.1B parameters.

Where to use it

  • Your own computer with Python and the transformers library, on Windows, macOS or Linux
  • Open-source tools built for Llama models, because it shares their architecture and tokenizer
Use caseWhoWhat they get back
Chat repliesApp developersA generated answer to each message
Role play promptsHobbyistsReplies in a style set by the system message
Small experimentsResearchersA light model for testing ideas

How to set it up

  • Python with pip
  • The transformers library, version 4.34 or newer
  • About 2.2 GB of disk space for the BF16 weights, or about 550 MB at 4-bit (an estimate)
  • The accelerate library, which the card's snippet relies on for device placement
  1. Install the Hugging Face hub tool.
  2. Download the model files.
  3. Load them with the transformers pipeline, as shown below.
pip install -U huggingface_hub
hf download TinyLlama/TinyLlama-1.1B-Chat-v1.0

How to use it

Build a list of messages with a system message and a user message. Turn it into a prompt with the model's chat template, then pass the prompt to the pipeline.

import torch
from transformers import pipeline

pipe = pipeline("text-generation", model="TinyLlama/TinyLlama-1.1B-Chat-v1.0", torch_dtype=torch.bfloat16, device_map="auto")

messages = [
    {
        "role": "system",
        "content": "You are a friendly chatbot who always responds in the style of a pirate",
    },
    {"role": "user", "content": "How many helicopters can a human eat in one sitting?"},
]
prompt = pipe.tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
outputs = pipe(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
print(outputs[0]["generated_text"])
ToolWhat it does
pipelineLoads the model for text generation
apply_chat_templateFormats the messages the way the model expects
max_new_tokensCaps how long the reply can be

Example

You tell the model to answer as a pirate, then ask a silly question about how many helicopters a person could eat. The printed text holds the formatted prompt followed by the model's reply. The card does not show the reply itself.

For newcomers and experts

If you are new, copy the card's code, run it once, and change the system message to see how the replies shift. The BF16 files are about 2.2 GB, so allow time for the first download.

For experts, the base is a 1.1B Llama-style model from the TinyLlama project. This chat version follows the Zephyr training recipe from Hugging Face. It was fine-tuned first on a variant of the UltraChat dataset of synthetic dialogues, then aligned with DPO on UltraFeedback, a set of 64k prompts ranked by GPT-4.

  1. You write a system and a user message
  2. The chat template builds the prompt
  3. The 1.1B model generates a reply
  4. You read the generated text

Good to know

The card gives no benchmark scores, so test it on your own task. Others have published 168 quantized and 586 fine-tuned versions of it on Hugging Face.

  • License: Apache 2.0, as the Hugging Face record lists it.
  • Cost to run: no API key or account is named. A modest computer can load it.
  • Data it reaches: downloading reaches Hugging Face. The pipeline only reads the messages you pass in.
  • Not for: anything the card does not claim. It names no benchmark results, so check answers yourself before relying on them.

README and files

README

TinyLlama-1.1B-Chat-v1.0

Chats in plain text as a small 1.1B language model that runs with little memory. For developers and researchers who want a compact chat model built on a Llama-style base.

Made by TinyLlama on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

About

What it is: TinyLlama-1.1B-Chat-v1.0 is a small chat model with 1.1 billion parameters. It is the chat-tuned version of a base model from the TinyLlama project, which aims to pretrain a Llama-style model on 3 trillion tokens. It reuses the Llama 2 architecture and tokenizer, so it fits many tools built for Llama.

Who it suits: Developers and researchers who want a compact chat model that needs little memory.

Industry | Who uses it | How they use it | Example
Software | Developers | Add a small chat model to an app with limited memory | Run a chatbot on a modest computer
Research | Researchers | Study a compact Llama-style chat model | Test prompts on a 1.1B model
Education | Students | Learn how chat models work at a small scale | Try the pipeline code and change the system message

If you need the depth of a large model, you can skip it, since this one has only 1.1B parameters.

Where to use it:

  • Your own computer with Python and the transformers library, on Windows, macOS or Linux
  • Open-source tools built for Llama models, because it shares their architecture and tokenizer
Use case | Who | What they get back
Chat replies | App developers | A generated answer to each message
Role play prompts | Hobbyists | Replies in a style set by the system message
Small experiments | Researchers | A light model for testing ideas

How to set it up:

  • Python with pip
  • The transformers library, version 4.34 or newer
  • About 2.2 GB of disk space for the BF16 weights, or about 550 MB at 4-bit (an estimate)
  • The accelerate library, which the card's snippet relies on for device placement
  1. Install the Hugging Face hub tool.
  2. Download the model files.
  3. Load them with the transformers pipeline, as shown below.
pip install -U huggingface_hub
hf download TinyLlama/TinyLlama-1.1B-Chat-v1.0

How to use it: Build a list of messages with a system message and a user message. Turn it into a prompt with the model's chat template, then pass the prompt to the pipeline.

import torch
from transformers import pipeline

pipe = pipeline("text-generation", model="TinyLlama/TinyLlama-1.1B-Chat-v1.0", torch_dtype=torch.bfloat16, device_map="auto")

messages = [
    {
        "role": "system",
        "content": "You are a friendly chatbot who always responds in the style of a pirate",
    },
    {"role": "user", "content": "How many helicopters can a human eat in one sitting?"},
]
prompt = pipe.tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
outputs = pipe(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
print(outputs[0]["generated_text"])
Tool | What it does
pipeline | Loads the model for text generation
apply_chat_template | Formats the messages the way the model expects
max_new_tokens | Caps how long the reply can be

Example: You tell the model to answer as a pirate, then ask a silly question about how many helicopters a person could eat. The printed text holds the formatted prompt followed by the model's reply. The card does not show the reply itself.

For newcomers and experts: If you are new, copy the card's code, run it once, and change the system message to see how the replies shift. The BF16 files are about 2.2 GB, so allow time for the first download.

For experts, the base is a 1.1B Llama-style model from the TinyLlama project. This chat version follows the Zephyr training recipe from Hugging Face. It was fine-tuned first on a variant of the UltraChat dataset of synthetic dialogues, then aligned with DPO on UltraFeedback, a set of 64k prompts ranked by GPT-4.

You write a system and a user message
The chat template builds the prompt
The 1.1B model generates a reply
You read the generated text

Good to know: The card gives no benchmark scores, so test it on your own task. Others have published 168 quantized and 586 fine-tuned versions of it on Hugging Face.

  • License: Apache 2.0, as the Hugging Face record lists it.
  • Cost to run: no API key or account is named. A modest computer can load it.
  • Data it reaches: downloading reaches Hugging Face. The pipeline only reads the messages you pass in.
  • Not for: anything the card does not claim. It names no benchmark results, so check answers yourself before relying on them.

On Hugging Face, 13 November 2026

  • Task: text generation
  • Library: transformers
  • Parameters: 1.1B
  • Weights: about 2.2 GB in BF16; about 550 MB at 4-bit (estimate)
  • Formats: Safetensors
  • Downloads in the last 30 days: 963,057
  • Likes: 1,910
  • License: apache-2.0
  • Languages: en
  • Quantized versions: 168
  • Fine-tunes: 586
  • Tags: transformers, safetensors, llama, text-generation, conversational

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download TinyLlama/TinyLlama-1.1B-Chat-v1.0

Then follow the usage in its model card. Nothing in this kit runs by itself.

Files
README.md  5 KB

1 file, 5 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

ProductDownloads, last 30 daysLikesParametersLicenseLast change
TinyLlama-1.1B-Chat-v1.0 This page963,0571,9101.1Bapache-2.0
MiniCPM5-2BShares llama · text-generation · conversational1,039,5181,8502.5Bapache-2.0
SmolLM2-135M-InstructShares llama · text-generation · conversational841,106474135Mapache-2.0
Meta-Llama-3.1-8B-Instruct-AWQ-INT4Shares llama · text-generation · conversational319,739968Bllama3.1
SmolLM2-1.7B-InstructShares llama · text-generation · conversational267,5197721.7Bapache-2.0
SmolLM2-360M-InstructShares llama · text-generation · conversational221,273244362Mapache-2.0
Numbers as Mindket last read them, from 2026-11-12 to 2026-11-14.

Reviews

No ratings yet

Write a review

No reviews yet.

What people say

Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.

dmezzettiTinyLlama a 1.1B Llama model trained on 3T tokens reaches 1.0 release5 points · 3 repliessenkoraForget ChatGPT: why researchers now run small AIs on their laptopsI got better performance of 20.18 tokens per second using tinyllama-1.1b-chat-v1.0.Q8_0.llamafile from https://huggingface.co/Bojun-Feng/TinyLlama-1.1B-Chat-v1.0-l... If anyone is reading this and had trouble with a larger model, that might be the one to try next.ultrasaurusAsk HN: Which LLMs can run locally on most consumer computers+100 to this, I don't think many people reading this thread realize how easy they've made it to run a LLM locally. It's a great start if you want to kick multiple tires (be careful to clean up! the gigs add up). > wget https://huggingface.co/jartine/TinyLlama-1.1B-Chat-v1.0-GGUF... > chmod +x…jartNetBSD bans use of Copilot-generated codeHere's an example of how easy it is to generate code on NetBSD using an open LLM: Last login: Fri May 17 23:58:08 2024 from 10.10.10.129 NetBSD 9.2 (GENERIC) #0: Wed May 12 13:15:55 UTC 2021 Welcome to NetBSD! We recommend that you create a non-root account and use su(1) for root access. $ ./curl…coder543I made an app that runs Mistral 7B 0.2 LLM locally on iPhone ProsEDIT: Attempting to converse with any Q4_K_M 7B parameter model on a 15 Pro Max... the phone just melts down. It feels like it is producing about one token per minute. MLC-Chat can handle 7B parameter models just fine even on a 14 Pro Max, which has less RAM, so I think there is an issue here.…dmezzettiTinyLlama: An Open-Source Small Language ModelLink to model on HF Hub: https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0dmezzettiTinyLlama a 1.1B Llama model trained on 3T tokens reaches 1.0 releaseThis is a small model that will easily run on most modern machines. There are many ways to run this either using Hugging Face Transformers directly or a library built on Transformers that makes it easier. For example, you can run LLM inference with txtai (https://github.com/neuml/txtai) in Python…

Searched

More from Mindket

See all from Mindket

Bonsai-27B-GGUF

lmstudio-community · Kit

A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…

New

Runs DeepSeek-V4.1-Flash-1017 as a 2.9 bits-per-weight EXL3 quantization, a 196 GiB copy for people serving large models on their own hardware. Perplexity stay…

New

MusicGen Small

facebook · Kit

Generates short music clips from a text description or an audio prompt, in the small checkpoint of facebook's MusicGen. It suits developers and music hobbyists…

New

Similar in Developer

See all in Developer

Lexnet

alpindale · Kit

Tags every character of C source code for syntax highlighting with a tiny neural network of about 984 weights, run through a small C program. For developers an…

New

FLUX.2 Klein LoRA Studio

prithivMLmods · Kit

Try a set of LoRAs for the FLUX.2 Klein image model in a Gradio app that runs in your browser or on your own computer. Made for people who make or test AI imag…

New

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New