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…
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.
pip install -U huggingface_hub hf download TinyLlama/TinyLlama-1.1B-Chat-v1.0
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.
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.
| 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 |
pip install -U huggingface_hub hf download TinyLlama/TinyLlama-1.1B-Chat-v1.0
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 |
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.
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.
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.
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.
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:
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:
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.
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.
README.md 5 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| TinyLlama-1.1B-Chat-v1.0 This page | 963,057 | 1,910 | 1.1B | apache-2.0 | |
| MiniCPM5-2BShares llama · text-generation · conversational | 1,039,518 | 1,850 | 2.5B | apache-2.0 | |
| SmolLM2-135M-InstructShares llama · text-generation · conversational | 841,106 | 474 | 135M | apache-2.0 | |
| Meta-Llama-3.1-8B-Instruct-AWQ-INT4Shares llama · text-generation · conversational | 319,739 | 96 | 8B | llama3.1 | |
| SmolLM2-1.7B-InstructShares llama · text-generation · conversational | 267,519 | 772 | 1.7B | apache-2.0 | |
| SmolLM2-360M-InstructShares llama · text-generation · conversational | 221,273 | 244 | 362M | apache-2.0 |
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.
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…
LibertAIDAI · Kit
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…
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…
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…
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…
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…