Image-Text-to-Text
MLX
Safetensors
English
Chinese
qwen3_5
apple-silicon
qwen3.5
fine tune
heretic
uncensored
abliterated
Merge
thinking
reasoning
creative
writing
fiction
roleplaying
vision
conversational
4-bit precision
Instructions to use pipenetwork/Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-MLX-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use pipenetwork/Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-MLX-4bit with MLX:
# Make sure mlx-vlm is installed # pip install --upgrade mlx-vlm from mlx_vlm import load, generate from mlx_vlm.prompt_utils import apply_chat_template from mlx_vlm.utils import load_config # Load the model model, processor = load("pipenetwork/Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-MLX-4bit") config = load_config("pipenetwork/Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-MLX-4bit") # Prepare input image = ["http://images.cocodataset.org/val2017/000000039769.jpg"] prompt = "Describe this image." # Apply chat template formatted_prompt = apply_chat_template( processor, config, prompt, num_images=1 ) # Generate output output = generate(model, processor, formatted_prompt, image) print(output) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use pipenetwork/Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-MLX-4bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "pipenetwork/Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-MLX-4bit"
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "pipenetwork/Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-MLX-4bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use pipenetwork/Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-MLX-4bit 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 "pipenetwork/Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-MLX-4bit"
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 pipenetwork/Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-MLX-4bit
Run Hermes
hermes
- OpenClaw new
How to use pipenetwork/Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-MLX-4bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "pipenetwork/Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-MLX-4bit"
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 "pipenetwork/Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-MLX-4bit" \ --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"
Add 3bit tier; document that no 2-bit tier is viable
Browse files
README.md
CHANGED
|
@@ -26,7 +26,7 @@ base_model: nightmedia/Qwen3.5-9B-DS9-USS-Defiant
|
|
| 26 |
|
| 27 |
# Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-MLX-4bit
|
| 28 |
|
| 29 |
-
MLX conversion of **Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic** for Apple silicon — 4-bit, the smallest tier
|
| 30 |
|
| 31 |
Uncensored ("Heretic'd") multi-stage merge of Qwen3.5-9B fine tunes by [nightmedia](https://huggingface.co/nightmedia) and [DavidAU](https://huggingface.co/DavidAU), with a compacted-but-stronger thinking block. Vision is included and works out of the box — no separate `mmproj` download.
|
| 32 |
|
|
@@ -99,8 +99,8 @@ print(generate(model, processor, prompt, ["your_image.jpg"], max_tokens=512, ver
|
|
| 99 |
| Repo | Bits | Size |
|
| 100 |
|---|---|---|
|
| 101 |
| [...-MLX-4bit](https://huggingface.co/pipenetwork/Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-MLX-4bit) | 4 | 6.0 GB |
|
|
|
|
| 102 |
| [...-MLX-6bit](https://huggingface.co/pipenetwork/Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-MLX-6bit) | 6 | 7.7 GB |
|
| 103 |
-
| [...-MLX-5bit](https://huggingface.co/pipenetwork/Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-MLX-5bit) | 5 | 6.6 GB |
|
| 104 |
| [...-MLX-8bit](https://huggingface.co/pipenetwork/Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-MLX-8bit) | 8 | 9.7 GB |
|
| 105 |
| [...-MLX-bf16](https://huggingface.co/pipenetwork/Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-MLX-bf16) | 16 | 18.8 GB |
|
| 106 |
|
|
@@ -114,22 +114,25 @@ against bf16's own output distribution, so lower means closer to the original mo
|
|
| 114 |
|
| 115 |
| model | lang. weights | ppl | Δppl | KL(bf16‖quant) | top-1 vs bf16 | decode |
|
| 116 |
|---|---|---|---|---|---|---|
|
| 117 |
-
| bf16 reference | 17.91 GB | 8.1273 | — | — | — |
|
| 118 |
-
| 8bit | 9.51 GB | 8.1277 | +0.00% | 0.00124 | 98.24% |
|
| 119 |
-
| 6bit | 7.28 GB | 8.1426 | +0.19% | 0.00523 | 96.20% | 80.
|
| 120 |
-
| 5bit | 6.16 GB | 8.2012 | +0.91% | 0.01845 | 93.24% |
|
| 121 |
-
| **4bit** (this repo) | 5.04 GB | 8.5816 | +5.59% | 0.07330 | 87.06% |
|
| 122 |
-
|
|
|
|
|
| 123 |
|
| 124 |
Reading it:
|
| 125 |
|
| 126 |
-
- **8bit is effectively free** — bf16 perplexity to four decimals at 47% of the footprint
|
| 127 |
-
and 1.7x the decode speed.
|
| 128 |
- **5bit is the best quality-per-GB**: under 1% perplexity for 6.2 GB.
|
| 129 |
-
- **The
|
| 130 |
-
|
|
|
|
|
|
|
|
|
|
| 131 |
- At the 4-bit tier this affine group-64 quant loses about half the perplexity MXFP4 does,
|
| 132 |
-
costing 4.5 vs 4.25 bits/weight
|
| 133 |
|
| 134 |
All tiers are quantizations of the same weights, so this isolates the quantization scheme.
|
| 135 |
Reproduce with [`bench.py`](https://github.com/PipeNetwork/defiant-fable-mlx).
|
|
|
|
| 26 |
|
| 27 |
# Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-MLX-4bit
|
| 28 |
|
| 29 |
+
MLX conversion of **Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic** for Apple silicon — 4-bit, the smallest tier we'd recommend for general use
|
| 30 |
|
| 31 |
Uncensored ("Heretic'd") multi-stage merge of Qwen3.5-9B fine tunes by [nightmedia](https://huggingface.co/nightmedia) and [DavidAU](https://huggingface.co/DavidAU), with a compacted-but-stronger thinking block. Vision is included and works out of the box — no separate `mmproj` download.
|
| 32 |
|
|
|
|
| 99 |
| Repo | Bits | Size |
|
| 100 |
|---|---|---|
|
| 101 |
| [...-MLX-4bit](https://huggingface.co/pipenetwork/Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-MLX-4bit) | 4 | 6.0 GB |
|
| 102 |
+
| [...-MLX-3bit](https://huggingface.co/pipenetwork/Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-MLX-3bit) | 3 | 4.5 GB |
|
| 103 |
| [...-MLX-6bit](https://huggingface.co/pipenetwork/Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-MLX-6bit) | 6 | 7.7 GB |
|
|
|
|
| 104 |
| [...-MLX-8bit](https://huggingface.co/pipenetwork/Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-MLX-8bit) | 8 | 9.7 GB |
|
| 105 |
| [...-MLX-bf16](https://huggingface.co/pipenetwork/Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-MLX-bf16) | 16 | 18.8 GB |
|
| 106 |
|
|
|
|
| 114 |
|
| 115 |
| model | lang. weights | ppl | Δppl | KL(bf16‖quant) | top-1 vs bf16 | decode |
|
| 116 |
|---|---|---|---|---|---|---|
|
| 117 |
+
| bf16 reference | 17.91 GB | 8.1273 | — | — | — | 38.6 t/s |
|
| 118 |
+
| 8bit | 9.51 GB | 8.1277 | +0.00% | 0.00124 | 98.24% | 66.9 t/s |
|
| 119 |
+
| 6bit | 7.28 GB | 8.1426 | +0.19% | 0.00523 | 96.20% | 80.3 t/s |
|
| 120 |
+
| 5bit | 6.16 GB | 8.2012 | +0.91% | 0.01845 | 93.24% | 91.5 t/s |
|
| 121 |
+
| **4bit** (this repo) | 5.04 GB | 8.5816 | +5.59% | 0.07330 | 87.06% | 108.6 t/s |
|
| 122 |
+
| 3bit | 3.92 GB | 10.8167 | +33.09% | 0.32843 | 73.44% | 124.9 t/s |
|
| 123 |
+
| [nightmedia mxfp4](https://huggingface.co/nightmedia/Qwen3.5-9B-DS9-USS-Defiant-mxfp4-mlx) | 4.76 GB | 8.9443 | +10.05% | 0.11328 | 82.34% | 113.5 t/s |
|
| 124 |
|
| 125 |
Reading it:
|
| 126 |
|
| 127 |
+
- **8bit is effectively free** — bf16 perplexity to four decimals at 47% of the footprint.
|
|
|
|
| 128 |
- **5bit is the best quality-per-GB**: under 1% perplexity for 6.2 GB.
|
| 129 |
+
- **The usable floor is 4bit.** 3bit still answers factual questions correctly but costs
|
| 130 |
+
+33% perplexity; treat it as a tight-memory fallback.
|
| 131 |
+
- **No 2-bit tier is published.** Pure 2-bit collapses (ppl 214.5, 28% top-1) and MLX's
|
| 132 |
+
`mixed_2_6` recipe, while grammatical, still runs ~7x bf16 perplexity at 3.94 GB — no
|
| 133 |
+
smaller than 3bit and 5x worse. Both were built and measured; neither is usable.
|
| 134 |
- At the 4-bit tier this affine group-64 quant loses about half the perplexity MXFP4 does,
|
| 135 |
+
costing 4.5 vs 4.25 bits/weight.
|
| 136 |
|
| 137 |
All tiers are quantizations of the same weights, so this isolates the quantization scheme.
|
| 138 |
Reproduce with [`bench.py`](https://github.com/PipeNetwork/defiant-fable-mlx).
|