Mindket

MNN-Pocket-0.3B

Newversion 1 · updated

Overview

A small English and Chinese instruction tuned language model of about 300M parameters, designed with the MNN stack for running on phones and tablets. Suits developers building on-device assistants.

MNN-Pocket-0.3B 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 and the Transformers library for the safetensors files
  • About 723 MB of disk for BF16 weights, as an estimate
  • The MNN runtime or llama.cpp if you use those builds
Runs in
  • On a device with the MNN runtime, using the INT4 build
  • Python with the Transformers library
  • llama.cpp, using the GGUF build with F16, Q8_0 or Q4_1 files
Start with
pip install -U huggingface_hub
hf download taobao-mnn/MNN-Pocket-0.3B

Platform

PhoneRuns on it

About

What it is

MNN-Pocket-0.3B comes from taobao-mnn and is the build of its MNN-Pocket family that is tuned to follow instructions in general use. The family is designed together with the MNN inference stack for running on devices. It has about 300M parameters, works in English and Chinese, and handles up to 32K tokens of context. The INT4 MNN build takes 173 MB.

Who it suits

Developers of on-device assistants, data extraction and light agent pipelines. The card does not recommend it for reasoning heavy work such as advanced maths or long code generation.

IndustryWho uses itHow they use itExample
Mobile appsApp developersRun an assistant on the phone or tablet itselfReply to a short chat message on the device
SoftwareData teamsPull details out of short textsExtract a name and a date from a message
Edge computingEmbedded teamsUse a small model inside a light agent pipelineRoute a request to the right tool
ResearchModel tinkerersStart from the Base build and fine tune itAdapt it to a narrow task

Skip it if you need strong reasoning, long code or advanced maths, since the card says small models fall short there.

Where to use it

  • On a device with the MNN runtime, using the INT4 build
  • Python with the Transformers library
  • llama.cpp, using the GGUF build with F16, Q8_0 or Q4_1 files
Use caseWhoWhat they get back
On-device assistantApp teamsChat replies produced on the device
Data extractionDevelopersShort structured details pulled from text
Quick decisionsDevelopersFast answers from the Dec build, which answers each question in one forward pass

How to set it up

  • Python and the Transformers library for the safetensors files
  • About 723 MB of disk for BF16 weights, as an estimate
  • The MNN runtime or llama.cpp if you use those builds
  1. Install the Hugging Face hub package.
  2. Download the repository files.
  3. Load the tokenizer and build prompts with its chat template.
pip install -U huggingface_hub
hf download taobao-mnn/MNN-Pocket-0.3B

How to use it

The model uses a ChatML style conversation format. The template ships in the repository as chat_template.jinja, and the card prefers apply_chat_template so the format stays right.

from transformers import AutoTokenizer
tok = AutoTokenizer.from_pretrained("taobao-mnn/MNN-Pocket-0.3B")
text = tok.apply_chat_template(
    [{"role": "system", "content": "You are a helpful assistant."},
     {"role": "user", "content": "Hello!"}],
    add_generation_prompt=True, tokenize=False)
ToolWhat it does
apply_chat_templateBuilds the prompt in the model's chat format from your messages
chat_template.jinjaThe template file that ships in the repository
llmexportExports the safetensors files to other precisions for MNN
hf downloadCopies the repository files to your computer

Example

Run the snippet with the system message and the greeting shown. It returns the prompt text with the start and end markers around each turn, ready to pass to the model, which then writes the assistant reply.

For newcomers and experts

If you are new to this, run the snippet above and print the text to see how a chat is laid out for the model. Then pass it to the model in your own code.

If you know the field, the model has 28 layers, a hidden size of 896 and grouped query attention with 14 heads and 2 key value heads. Embeddings are tied, the vocabulary has 65,536 entries and the INT4 build uses W4A16 quantization aware training.

  1. You write chat messages
  2. The chat template formats the prompt
  3. The 0.3B model generates a reply
  4. Your app shows or uses the reply
Decode speed on iPad Pro M5 with Metal
Best case reported466 tokens/s
Real time target200 tokens/s

Good to know

  • The 466 tokens per second figure is a best case on one device, so expect less elsewhere.
  • The card lists the average score 50.00 across 11 Chinese and English benchmarks among models near 300M.
  • The family also has Base, SFT, GGUF, MNN and Dec builds.
  • License: apache-2.0.
  • Cost to run: none named, only your own hardware.
  • Data it reaches: the messages you give it. The source names no account or outside service.
  • Not for: reasoning heavy work such as advanced maths or long code generation, per the card.

README and files

README

MNN-Pocket-0.3B

A small English and Chinese instruction tuned language model of about 300M parameters, designed with the MNN stack for running on phones and tablets. Suits developers building on-device assistants.

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.

About

What it is: MNN-Pocket-0.3B comes from taobao-mnn and is the build of its MNN-Pocket family that is tuned to follow instructions in general use. The family is designed together with the MNN inference stack for running on devices. It has about 300M parameters, works in English and Chinese, and handles up to 32K tokens of context. The INT4 MNN build takes 173 MB.

Who it suits: Developers of on-device assistants, data extraction and light agent pipelines. The card does not recommend it for reasoning heavy work such as advanced maths or long code generation.

Industry | Who uses it | How they use it | Example
Mobile apps | App developers | Run an assistant on the phone or tablet itself | Reply to a short chat message on the device
Software | Data teams | Pull details out of short texts | Extract a name and a date from a message
Edge computing | Embedded teams | Use a small model inside a light agent pipeline | Route a request to the right tool
Research | Model tinkerers | Start from the Base build and fine tune it | Adapt it to a narrow task

Skip it if you need strong reasoning, long code or advanced maths, since the card says small models fall short there.

Where to use it:

  • On a device with the MNN runtime, using the INT4 build
  • Python with the Transformers library
  • llama.cpp, using the GGUF build with F16, Q8_0 or Q4_1 files
Use case | Who | What they get back
On-device assistant | App teams | Chat replies produced on the device
Data extraction | Developers | Short structured details pulled from text
Quick decisions | Developers | Fast answers from the Dec build, which answers each question in one forward pass

How to set it up:

  • Python and the Transformers library for the safetensors files
  • About 723 MB of disk for BF16 weights, as an estimate
  • The MNN runtime or llama.cpp if you use those builds
  1. Install the Hugging Face hub package.
  2. Download the repository files.
  3. Load the tokenizer and build prompts with its chat template.
pip install -U huggingface_hub
hf download taobao-mnn/MNN-Pocket-0.3B

How to use it: The model uses a ChatML style conversation format. The template ships in the repository as chat_template.jinja, and the card prefers apply_chat_template so the format stays right.

from transformers import AutoTokenizer
tok = AutoTokenizer.from_pretrained("taobao-mnn/MNN-Pocket-0.3B")
text = tok.apply_chat_template(
    [{"role": "system", "content": "You are a helpful assistant."},
     {"role": "user", "content": "Hello!"}],
    add_generation_prompt=True, tokenize=False)
Tool | What it does
apply_chat_template | Builds the prompt in the model's chat format from your messages
chat_template.jinja | The template file that ships in the repository
llmexport | Exports the safetensors files to other precisions for MNN
hf download | Copies the repository files to your computer

Example: Run the snippet with the system message and the greeting shown. It returns the prompt text with the start and end markers around each turn, ready to pass to the model, which then writes the assistant reply.

For newcomers and experts: If you are new to this, run the snippet above and print the text to see how a chat is laid out for the model. Then pass it to the model in your own code.

If you know the field, the model has 28 layers, a hidden size of 896 and grouped query attention with 14 heads and 2 key value heads. Embeddings are tied, the vocabulary has 65,536 entries and the INT4 build uses W4A16 quantization aware training.

You write chat messages
The chat template formats the prompt
The 0.3B model generates a reply
Your app shows or uses the reply
Title: Decode speed on iPad Pro M5 with Metal
Best case reported: 466 tokens/s
Real time target: 200 tokens/s

Good to know:

  • The 466 tokens per second figure is a best case on one device, so expect less elsewhere.
  • The card lists the average score 50.00 across 11 Chinese and English benchmarks among models near 300M.
  • The family also has Base, SFT, GGUF, MNN and Dec builds.
  • License: apache-2.0.
  • Cost to run: none named, only your own hardware.
  • Data it reaches: the messages you give it. The source names no account or outside service.
  • Not for: reasoning heavy work such as advanced maths or long code generation, per the card.

On Hugging Face, 13 November 2026

  • Task: text generation
  • Library: transformers
  • Parameters: 362M
  • Weights: about 723 MB in BF16; about 181 MB at 4-bit (estimate)
  • Formats: Safetensors
  • Downloads in the last 30 days: 3,397
  • Likes: 197
  • License: apache-2.0
  • Languages: en, zh
  • Based on: taobao-mnn/MNN-Pocket-0.3B-Base
  • Quantized versions: 7
  • Fine-tunes: 1
  • Tags: transformers, safetensors, qwen3, text-generation, mnn-pocket, on-device, edge, int4, conversational

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download taobao-mnn/MNN-Pocket-0.3B

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
MNN-Pocket-0.3B This page3,397197362Mapache-2.0
MNN-Pocket-0.3B-MNNShares int4 · mnn-pocket · on-device1,3036—apache-2.0
MNN-Pocket-0.3B-BaseShares mnn-pocket · on-device · qwen35003362Mapache-2.0
MNN-Pocket-0.3B-GGUFShares mnn-pocket · on-device · text-generation12,46720362Mapache-2.0
MNN-Pocket-0.3B-DecShares mnn-pocket · on-device · safetensors04—apache-2.0
BotPsy-0.8BShares edge · on-device · transformers21514853Mapache-2.0
Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

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.

Searched

More from Mindket

See all from Mindket

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

Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…

New

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Similar in Developer

See all in Developer

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

buzz

block · Kit

Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…

New37.3k

plannotator

backnotprop · Kit

Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.

New10.5k