Mindket

Qwen3-8B-MLX-bf16

Newversion 1 · updated

Overview

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.

At a glance

You need
  • Python on Windows, macOS or Linux
  • transformers 4.52.4 or newer and mlx_lm 0.25.2 or newer
  • Room for the weights, about 16.4 GB in BF16 or about 4.1 GB at 4-bit as an estimate
Runs in
  • Python scripts that use the mlx_lm package
  • Python scripts that use the transformers library
  • APIs built with SGLang or vLLM, where the thinking switch also exists
Start with
pip install --upgrade transformers mlx_lm

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

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.

IndustryWho uses itHow they use itExample
SoftwareDevelopersRun a chat model from Python through mlx_lmGenerate a reply to a prompt with a token limit
Language servicesTranslatorsFollow instructions and translate across many languagesTranslate a short paragraph between two languages
Creative workWritersDraft stories, role-play and multi-turn dialogueWrite a scene in the voice of a character
AgentsAgent buildersConnect the model to external tools in either modeLet 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.

  • Python scripts that use the mlx_lm package
  • Python scripts that use the transformers library
  • APIs built with SGLang or vLLM, where the thinking switch also exists
Use caseWhoWhat they get back
Chat and Q and ADevelopersA written reply, with an optional think block before the answer
TranslationTranslatorsText moved between many languages and dialects
Tool-using agentsAgent buildersModel 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.

  • Python on Windows, macOS or Linux
  • transformers 4.52.4 or newer and mlx_lm 0.25.2 or newer
  • Room for the weights, about 16.4 GB in BF16 or about 4.1 GB at 4-bit as an estimate
  1. Install or upgrade transformers and mlx_lm together.
  2. Optionally download the model files first with the Hugging Face hub package.
  3. Run the Python snippet from the next section.
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)
ToolWhat it does
loadLoads the model and its tokenizer from the model name
generateProduces a reply from a prompt, up to a token limit
apply_chat_templateTurns 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.

  1. Install transformers and mlx_lm
  2. Load the model and tokenizer
  3. Wrap your message in the chat template
  4. Generate up to the token limit
  5. 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.

Context length
Native32,768 tokens
With YaRN131,072 tokens
  • License: Apache 2.0
  • Cost to run: none named. The weights take about 16.4 GB in BF16 or about 4.1 GB at 4-bit, as an estimate
  • Data it reaches: your prompts and the model files from Hugging Face. The source names no account or web service
  • Not for: greedy decoding in thinking mode, which the card says can cause weaker output and endless repetition

README and files

README

Qwen3-8B-MLX-bf16

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.

About

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.

  • Python scripts that use the mlx_lm package
  • Python scripts that use the transformers library
  • APIs built with SGLang or vLLM, where the thinking switch also exists
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.

  • Python on Windows, macOS or Linux
  • transformers 4.52.4 or newer and mlx_lm 0.25.2 or newer
  • Room for the weights, about 16.4 GB in BF16 or about 4.1 GB at 4-bit as an estimate
  1. Install or upgrade transformers and mlx_lm together.
  2. Optionally download the model files first with the Hugging Face hub package.
  3. Run the Python snippet from the next section.
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
  • License: Apache 2.0
  • Cost to run: none named. The weights take about 16.4 GB in BF16 or about 4.1 GB at 4-bit, as an estimate
  • Data it reaches: your prompts and the model files from Hugging Face. The source names no account or web service
  • Not for: greedy decoding in thinking mode, which the card says can cause weaker output and endless repetition

On Hugging Face, 13 November 2026

  • Task: text generation
  • Library: mlx
  • Parameters: 8.2B
  • Weights: about 16.4 GB in BF16; about 4.1 GB at 4-bit (estimate)
  • Formats: Safetensors
  • Downloads in the last 30 days: 697
  • Likes: 19
  • License: apache-2.0
  • Quantized versions: 1
  • Tags: safetensors, qwen3, text-generation, conversational

Links

Get the model

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.

Files
README.md  6 KB

1 file, 6 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-13

Compare with similar

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

ProductDownloads, last 30 daysLikesParametersLicenseLast change
Qwen3-8B-MLX-bf16 This page697198.2Bapache-2.0
Qwen3-0.6BShares qwen3 · text-generation · conversational19,718,5991,894752Mapache-2.0
Qwen3-14BShares qwen3 · text-generation · conversational12,965,37654014.8Bapache-2.0
Qwen3-8BShares qwen3 · text-generation · conversational6,269,1412,1848.2Bapache-2.0
Qwen3-1.7BShares qwen3 · text-generation · conversational3,203,4906182Bapache-2.0
Qwen3-4BShares qwen3 · text-generation · conversational3,186,5317984Bapache-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.

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