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 measured quantization-quality comparison vs mxfp4
Browse files
README.md
CHANGED
|
@@ -105,6 +105,23 @@ print(generate(model, processor, prompt, ["your_image.jpg"], max_tokens=512, ver
|
|
| 105 |
|
| 106 |
Group size 64, `affine` mode. The vision tower is left unquantized (mlx-vlm's default for multimodal projector/patch-embed modules), so the size delta between tiers comes from the language model.
|
| 107 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
## Sampling
|
| 109 |
|
| 110 |
DavidAU's notes for this model, which carry over:
|
|
@@ -131,7 +148,7 @@ These are not measurements of these MLX repos — treat them as characterising t
|
|
| 131 |
|
| 132 |
## Conversion tooling
|
| 133 |
|
| 134 |
-
Scripts and the provenance proof: [github.com/PipeNetwork/defiant-fable-mlx](https://github.com/PipeNetwork/defiant-fable-mlx)
|
| 135 |
|
| 136 |
## License
|
| 137 |
|
|
|
|
| 105 |
|
| 106 |
Group size 64, `affine` mode. The vision tower is left unquantized (mlx-vlm's default for multimodal projector/patch-embed modules), so the size delta between tiers comes from the language model.
|
| 107 |
|
| 108 |
+
## Measured quantization quality
|
| 109 |
+
|
| 110 |
+
Against the bf16 reference these were converted from — 65,536 tokens of wikitext-2 test
|
| 111 |
+
at 1024 context, identical token ids through mlx-lm, on an M3 Ultra:
|
| 112 |
+
|
| 113 |
+
| model | ppl | Δppl | KL(bf16‖quant) | top-1 vs bf16 | decode |
|
| 114 |
+
|---|---|---|---|---|---|
|
| 115 |
+
| bf16 reference | 8.1273 | — | — | — | 39.0 t/s |
|
| 116 |
+
| **this 4bit** (affine, group 64) | **8.5816** | **+5.59%** | **0.0733** | **87.06%** | 109.9 t/s |
|
| 117 |
+
| [nightmedia mxfp4](https://huggingface.co/nightmedia/Qwen3.5-9B-DS9-USS-Defiant-mxfp4-mlx) (group 32) | 8.9443 | +10.05% | 0.1133 | 82.34% | 114.4 t/s |
|
| 118 |
+
|
| 119 |
+
The 4bit tier loses about half the perplexity that MXFP4 does and stays measurably closer
|
| 120 |
+
to the original distribution, at the cost of 4.5 vs 4.25 bits/weight (~6% more storage)
|
| 121 |
+
and ~4% slower decode. Both are quantizations of the same weights, so this compares the
|
| 122 |
+
quantization scheme only. Reproduce with
|
| 123 |
+
[`bench.py`](https://github.com/PipeNetwork/defiant-fable-mlx).
|
| 124 |
+
|
| 125 |
## Sampling
|
| 126 |
|
| 127 |
DavidAU's notes for this model, which carry over:
|
|
|
|
| 148 |
|
| 149 |
## Conversion tooling
|
| 150 |
|
| 151 |
+
Scripts, benchmark and the provenance proof: [github.com/PipeNetwork/defiant-fable-mlx](https://github.com/PipeNetwork/defiant-fable-mlx)
|
| 152 |
|
| 153 |
## License
|
| 154 |
|