Instructions to use PocketAiHub/Nanbeige4.3-33B-MLX-6bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use PocketAiHub/Nanbeige4.3-33B-MLX-6bit with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("PocketAiHub/Nanbeige4.3-33B-MLX-6bit") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use PocketAiHub/Nanbeige4.3-33B-MLX-6bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "PocketAiHub/Nanbeige4.3-33B-MLX-6bit"
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "PocketAiHub/Nanbeige4.3-33B-MLX-6bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use PocketAiHub/Nanbeige4.3-33B-MLX-6bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "PocketAiHub/Nanbeige4.3-33B-MLX-6bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "PocketAiHub/Nanbeige4.3-33B-MLX-6bit" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "PocketAiHub/Nanbeige4.3-33B-MLX-6bit", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use PocketAiHub/Nanbeige4.3-33B-MLX-6bit with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "PocketAiHub/Nanbeige4.3-33B-MLX-6bit"
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default PocketAiHub/Nanbeige4.3-33B-MLX-6bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use PocketAiHub/Nanbeige4.3-33B-MLX-6bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "PocketAiHub/Nanbeige4.3-33B-MLX-6bit"
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "PocketAiHub/Nanbeige4.3-33B-MLX-6bit" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Nanbeige 4.3 33B — PocketAiHub MLX 6-bit
An independently converted, faithful quantization of Nanbeige/Nanbeige4.3-33B. The original model is by the Nanbeige Team. PocketAiHub provides conversion, validation and distribution; this is not an official Nanbeige release. No fine-tuning, abliteration or other behavioral editing was applied.
- Original revision:
c1093c501cc6460427c0ac634db7223d0450c0ee. - Recipe: uniform 6-bit for quantizable modules; affine quantization, group size 64.
- Candidate payload: 26.929 GB (decimal; runtime memory is additional).
- MLX 0.32.2; MLX-LM 0.31.3.
- Chat template, tokenizer, reasoning controls and RoPE settings retained.
- Original license: Apache 2.0; see LICENSE.
Use
mlx_lm.generate --model PocketAiHub/Nanbeige4.3-33B-MLX-6bit --prompt "Write a Python retry decorator."
Upstream recommends temperature 0.6/top-p 0.95 for reasoning/chat and temperature 1.0/top-p 0.95 for agents/tool use. Thinking is enabled by default. For multi-turn agents preserve previous thinking and use XML tool-call format. Compatible runtimes must support the original chat-template options.
Measured local regression
Hardware: Apple M5 Max, 128 GiB unified memory. The local suite uses greedy
decoding with thinking disabled except its explicit thinking probe. It covers
80 capability cases, 16 XML/JSON tool routes, two Chinese cases, a thinking
probe and an approximately 8K-token retrieval probe. Exact prompts, output,
token counts and failures are included under evaluation/.
| Check | This quant | BF16 reference |
|---|---|---|
| Local regression cases passed | 90/100 | 88/100 |
| Truncated outputs | 1 | 1 |
Known inherited limitation: in greedy non-thinking mode, the BF16 reference loops on the suite's short repeated-syllable instruction until the token cap. Any occurrence in this quant is counted above and preserved in the raw records. The conversion gate permits inherited truncations and rejects new ones; it does not claim to repair the source model. Use the upstream default thinking mode and suitable generation limits for deployment.
Held-out WikiText drift: mean KL 0.033143, top-1 agreement
92.794%, measured against MLX BF16 on eight
512-token chunks. This is a small conversion regression, not upstream benchmark
reproduction or proof of general quality parity. See qualification.json for
the exact thresholds and new failures relative to BF16.
The upstream architecture supports 512K context. Full 512K operation was not validated here; the context probe tests approximately 8K prompt tokens on the stated hardware. Longer contexts require additional KV-cache memory.
Reproducibility
artifact-manifest.json records source lineage, conversion command, versions,
module recipe and SHA-256 hashes. release-manifest.json covers the staged
payload and evidence. Raw calibration and WikiText corpora are not redistributed.
- Downloads last month
- 264
6-bit
Model tree for PocketAiHub/Nanbeige4.3-33B-MLX-6bit
Base model
Nanbeige/Nanbeige4.3-33B-Base