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…
Runs the Qwen3 8B language model through the mlx library for chat, reasoning, translation and agent work. Suits developers who want a local text model with a switchable thinking mode.
Qwen3-8B-MLX-bf16 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 --upgrade transformers mlx_lm
Qwen3-8B-MLX-bf16 is the 8.2B parameter Qwen3 language model, stored in BF16 for the mlx library. It writes text from prompts and handles reasoning, instructions, translation and tool use. One model can run in a thinking mode for logic, math and code, or in a non-thinking mode for everyday dialogue.
Developers who want a mid-sized language model they can call from Python through mlx_lm are the main fit. Writers, translators and agent builders can use it too, since the card points to creative writing, over 100 languages and tool integration.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software | Developers | Run a chat model from Python through mlx_lm | Generate a reply to a prompt with a token limit |
| Language services | Translators | Follow instructions and translate across many languages | Translate a short paragraph between two languages |
| Creative work | Writers | Draft stories, role-play and multi-turn dialogue | Write a scene in the voice of a character |
| Agents | Agent builders | Connect the model to external tools in either mode | Let an agent pick a tool for a task |
If your machine cannot hold about 16.4 GB of weights, you can skip this BF16 copy.
Use it from Python on Windows, macOS or Linux.
| Use case | Who | What they get back |
|---|---|---|
| Chat and Q and A | Developers | A written reply, with an optional think block before the answer |
| Translation | Translators | Text moved between many languages and dialects |
| Tool-using agents | Agent builders | Model output that can call external tools in thinking or non-thinking mode |
You need Python and recent versions of two packages.
pip install --upgrade transformers mlx_lm
pip install -U huggingface_hub hf download Qwen/Qwen3-8B-MLX-bf16
Load the model and tokenizer, wrap your message in the chat template, and call generate. The snippet prints the reply.
from mlx_lm import load, generate
model, tokenizer = load("Qwen/Qwen3-8B-MLX-bf16")
prompt = "Hello, please introduce yourself and tell me what you can do."
if tokenizer.chat_template is not None:
messages = [{"role": "user", "content": prompt}]
prompt = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True
)
response = generate(
model,
tokenizer,
prompt=prompt,
verbose=True,
max_tokens=1024
)
print(response)| Tool | What it does |
|---|---|
| load | Loads the model and its tokenizer from the model name |
| generate | Produces a reply from a prompt, up to a token limit |
| apply_chat_template | Turns your messages into a chat prompt and can switch thinking on or off |
Thinking is on by default. The card shows how to set it explicitly, and the reply then holds a think block followed by the final answer.
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
enable_thinking=True # True is the default value for enable_thinking
)For thinking mode, the card advises a temperature of 0.6, a top-p of 0.95, a top-k of 20 and a min-p of 0, and warns against greedy decoding.
You ask the model to introduce itself and say what it can do. The script prints a reply of up to 1024 tokens. With thinking on, the reply starts with a think block and then gives the answer.
This is a chat model you run from a short Python script. A good first try is to install the two packages, run the snippet above as it is, and read the reply it prints.
Under the hood it is a dense causal language model with 36 layers and grouped-query attention, using 32 query heads and 8 key-value heads. Its context is 32,768 tokens natively and 131,072 with YaRN. Thinking mode spends extra output on reasoning before the answer.
Older transformers versions can fail with a KeyError for qwen3. One quantized copy and no fine-tuned copies by other people are listed.
Runs the Qwen3 8B language model through the mlx library for chat, reasoning, translation and agent work. Suits developers who want a local text model with a switchable thinking mode.
Made by Qwen 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: Qwen3-8B-MLX-bf16 is the 8.2B parameter Qwen3 language model, stored in BF16 for the mlx library. It writes text from prompts and handles reasoning, instructions, translation and tool use. One model can run in a thinking mode for logic, math and code, or in a non-thinking mode for everyday dialogue.
Who it suits: Developers who want a mid-sized language model they can call from Python through mlx_lm are the main fit. Writers, translators and agent builders can use it too, since the card points to creative writing, over 100 languages and tool integration.
Industry | Who uses it | How they use it | Example
Software | Developers | Run a chat model from Python through mlx_lm | Generate a reply to a prompt with a token limit
Language services | Translators | Follow instructions and translate across many languages | Translate a short paragraph between two languages
Creative work | Writers | Draft stories, role-play and multi-turn dialogue | Write a scene in the voice of a character
Agents | Agent builders | Connect the model to external tools in either mode | Let an agent pick a tool for a task
If your machine cannot hold about 16.4 GB of weights, you can skip this BF16 copy.
Where to use it: Use it from Python on Windows, macOS or Linux.
Use case | Who | What they get back
Chat and Q and A | Developers | A written reply, with an optional think block before the answer
Translation | Translators | Text moved between many languages and dialects
Tool-using agents | Agent builders | Model output that can call external tools in thinking or non-thinking mode
How to set it up: You need Python and recent versions of two packages.
pip install --upgrade transformers mlx_lm
pip install -U huggingface_hub
hf download Qwen/Qwen3-8B-MLX-bf16
How to use it: Load the model and tokenizer, wrap your message in the chat template, and call generate. The snippet prints the reply.
from mlx_lm import load, generate
model, tokenizer = load("Qwen/Qwen3-8B-MLX-bf16")
prompt = "Hello, please introduce yourself and tell me what you can do."
if tokenizer.chat_template is not None:
messages = [{"role": "user", "content": prompt}]
prompt = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True
)
response = generate(
model,
tokenizer,
prompt=prompt,
verbose=True,
max_tokens=1024
)
print(response)
Tool | What it does
load | Loads the model and its tokenizer from the model name
generate | Produces a reply from a prompt, up to a token limit
apply_chat_template | Turns your messages into a chat prompt and can switch thinking on or off
Thinking is on by default. The card shows how to set it explicitly, and the reply then holds a think block followed by the final answer.
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
enable_thinking=True # True is the default value for enable_thinking
)
For thinking mode, the card advises a temperature of 0.6, a top-p of 0.95, a top-k of 20 and a min-p of 0, and warns against greedy decoding.
Example: You ask the model to introduce itself and say what it can do. The script prints a reply of up to 1024 tokens. With thinking on, the reply starts with a think block and then gives the answer.
For newcomers and experts: This is a chat model you run from a short Python script. A good first try is to install the two packages, run the snippet above as it is, and read the reply it prints.
Under the hood it is a dense causal language model with 36 layers and grouped-query attention, using 32 query heads and 8 key-value heads. Its context is 32,768 tokens natively and 131,072 with YaRN. Thinking mode spends extra output on reasoning before the answer.
Install transformers and mlx_lm
Load the model and tokenizer
Wrap your message in the chat template
Generate up to the token limit
Read the reply, think block first
Good to know: Older transformers versions can fail with a KeyError for qwen3. One quantized copy and no fine-tuned copies by other people are listed.
Title: Context length
Native: 32,768 tokens
With YaRN: 131,072 tokens
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download Qwen/Qwen3-8B-MLX-bf16
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 |
|---|---|---|---|---|---|
| Qwen3-8B-MLX-bf16 This page | 697 | 19 | 8.2B | apache-2.0 | |
| Qwen3-0.6BShares qwen3 · text-generation · conversational | 19,718,599 | 1,894 | 752M | apache-2.0 | |
| Qwen3-14BShares qwen3 · text-generation · conversational | 12,965,376 | 540 | 14.8B | apache-2.0 | |
| Qwen3-8BShares qwen3 · text-generation · conversational | 6,269,141 | 2,184 | 8.2B | apache-2.0 | |
| Qwen3-1.7BShares qwen3 · text-generation · conversational | 3,203,490 | 618 | 2B | apache-2.0 | |
| Qwen3-4BShares qwen3 · text-generation · conversational | 3,186,531 | 798 | 4B | apache-2.0 |
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…
Qwen · Kit
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…
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…
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…
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…
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.