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…
A pre-trained base language model of about 300M parameters for Chinese and English, designed with the MNN inference engine for on-device use, as a start for further training or fine-tuning.
MNN-Pocket-0.3B-Base 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 taobao-mnn/MNN-Pocket-0.3B-Base
MNN-Pocket-0.3B-Base is the raw, pre-trained form of MNN-Pocket-0.3B, a small language model with roughly 300M parameters. It was designed alongside the MNN inference engine so it can run on devices.
This checkpoint has no instruction tuning. It simply continues text, which makes it a place to begin more pre-training or fine-tuning. For chat or assistant use, the card sends you to the instruction-tuned MNN-Pocket-0.3B instead.
ML engineers and researchers who want a small Chinese and English base model to train further. It also suits app teams planning a custom on-device model.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Research | Language model researchers | Continue pre-training on their own text | Adapt the base to a specialist domain |
| Mobile and edge software | On-device app teams | Start a small custom model for a phone app | Fine-tune the base, then convert it for MNN |
| Education | Students | Study how a compact 28-layer model is built | Read the model details table and try plain completion |
People who want a ready chat assistant can skip this checkpoint and take the instruction-tuned version.
| Use case | Who | What they get back |
|---|---|---|
| Plain text completion | Developers | A continuation of the text you give it |
| Continued pre-training | Researchers | A base ready to learn from new text |
| Fine-tuning | ML engineers | A starting model for chat or other tasks |
You need a Python environment with the transformers library.
pip install -U huggingface_hub hf download taobao-mnn/MNN-Pocket-0.3B-Base
Load the model and tokenizer, then give it text to continue. The card notes that this is a base checkpoint, so it does plain text completion with no chat formatting.
from transformers import AutoModelForCausalLM, AutoTokenizer model_id = "taobao-mnn/MNN-Pocket-0.3B-Base" model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto", dtype="bfloat16") tokenizer = AutoTokenizer.from_pretrained(model_id) # base checkpoint: plain text completion, no chat formatting
The card lists sibling repositories for other needs.
| Variant | What it is |
|---|---|
| MNN-Pocket-0.3B | The instruction-tuned BF16 model, with the full model card |
| MNN-Pocket-0.3B-SFT | A supervised fine-tuning checkpoint |
| MNN-Pocket-0.3B-GGUF | A GGUF build for deployment |
| MNN-Pocket-0.3B-MNN | An INT4 build for the MNN engine |
| MNN-Pocket-0.3B-Dec | A non-autoregressive decision model, a LoRA adapter plus a pointer head |
You load the model with the snippet above and give it the start of a sentence, such as "The three main parts of a computer are". It continues the text. It does not answer like a chat assistant, since it has had no instruction tuning.
Think of a base model as a text continuer. It has read a lot of text and predicts what comes next, but it has not been taught to follow requests. A good first try is the loading snippet and a half-written sentence.
Underneath, it is a decoder-only transformer trained with a multi-stage data recipe under a fixed budget of tokens per parameter. The card reports an average of 33.58 on an 11-benchmark base suite, ahead of three similar-sized base models. The trade-off is small size against the knowledge a larger model holds.
| Property | Value |
|---|---|
| Layers | 28 |
| Hidden size | 896 |
| Attention | 14 heads, with 2 key-value heads (GQA) |
| Context length | 32K |
| Vocabulary | 65,536 |
| Precision | bfloat16 |
This is a base checkpoint, so use the instruction-tuned sibling when you want a chatbot.
A pre-trained base language model of about 300M parameters for Chinese and English, designed with the MNN inference engine for on-device use, as a start for further training or fine-tuning.
Made by taobao-mnn 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: MNN-Pocket-0.3B-Base is the raw, pre-trained form of MNN-Pocket-0.3B, a small language model with roughly 300M parameters. It was designed alongside the MNN inference engine so it can run on devices.
This checkpoint has no instruction tuning. It simply continues text, which makes it a place to begin more pre-training or fine-tuning. For chat or assistant use, the card sends you to the instruction-tuned MNN-Pocket-0.3B instead.
Who it suits: ML engineers and researchers who want a small Chinese and English base model to train further. It also suits app teams planning a custom on-device model.
Industry | Who uses it | How they use it | Example
Research | Language model researchers | Continue pre-training on their own text | Adapt the base to a specialist domain
Mobile and edge software | On-device app teams | Start a small custom model for a phone app | Fine-tune the base, then convert it for MNN
Education | Students | Study how a compact 28-layer model is built | Read the model details table and try plain completion
People who want a ready chat assistant can skip this checkpoint and take the instruction-tuned version.
Where to use it:
Use case | Who | What they get back
Plain text completion | Developers | A continuation of the text you give it
Continued pre-training | Researchers | A base ready to learn from new text
Fine-tuning | ML engineers | A starting model for chat or other tasks
How to set it up: You need a Python environment with the transformers library.
pip install -U huggingface_hub
hf download taobao-mnn/MNN-Pocket-0.3B-Base
How to use it: Load the model and tokenizer, then give it text to continue. The card notes that this is a base checkpoint, so it does plain text completion with no chat formatting.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "taobao-mnn/MNN-Pocket-0.3B-Base"
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto", dtype="bfloat16")
tokenizer = AutoTokenizer.from_pretrained(model_id)
# base checkpoint: plain text completion, no chat formatting
The card lists sibling repositories for other needs.
Variant | What it is
MNN-Pocket-0.3B | The instruction-tuned BF16 model, with the full model card
MNN-Pocket-0.3B-SFT | A supervised fine-tuning checkpoint
MNN-Pocket-0.3B-GGUF | A GGUF build for deployment
MNN-Pocket-0.3B-MNN | An INT4 build for the MNN engine
MNN-Pocket-0.3B-Dec | A non-autoregressive decision model, a LoRA adapter plus a pointer head
Example: You load the model with the snippet above and give it the start of a sentence, such as "The three main parts of a computer are". It continues the text. It does not answer like a chat assistant, since it has had no instruction tuning.
For newcomers and experts: Think of a base model as a text continuer. It has read a lot of text and predicts what comes next, but it has not been taught to follow requests. A good first try is the loading snippet and a half-written sentence.
Underneath, it is a decoder-only transformer trained with a multi-stage data recipe under a fixed budget of tokens per parameter. The card reports an average of 33.58 on an 11-benchmark base suite, ahead of three similar-sized base models. The trade-off is small size against the knowledge a larger model holds.
Property | Value
Layers | 28
Hidden size | 896
Attention | 14 heads, with 2 key-value heads (GQA)
Context length | 32K
Vocabulary | 65,536
Precision | bfloat16
Pre-train the base model
Continue training or fine-tune it
Convert for MNN or GGUF deployment
Run it on a device
Good to know: This is a base checkpoint, so use the instruction-tuned sibling when you want a chatbot.
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download taobao-mnn/MNN-Pocket-0.3B-Base
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 6 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 |
|---|---|---|---|---|---|
| MNN-Pocket-0.3B-Base This page | 500 | 3 | 362M | apache-2.0 | |
| MNN-Pocket-0.3BShares mnn-pocket · on-device · qwen3 | 3,397 | 197 | 362M | apache-2.0 | |
| MNN-Pocket-0.3B-GGUFShares mnn-pocket · on-device · text-generation | 12,467 | 20 | 362M | apache-2.0 | |
| MNN-Pocket-0.3B-MNNShares mnn-pocket · on-device · text-generation | 1,303 | 6 | — | apache-2.0 | |
| MNN-Pocket-0.3B-DecShares mnn-pocket · on-device · safetensors | 0 | 4 | — | apache-2.0 | |
| KLM 1.5Shares base · text-generation · safetensors | 1,603 | 31 | 99M | apache-2.0 |
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…