Text Generation
MLX
Safetensors
English
Russian
qwen3_5
heretic
uncensored
abliteration
apple-silicon
qwen3.5
conversational
8-bit precision
Instructions to use WaveCut/Qwythos-9B-v2-Heretic-MLX-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use WaveCut/Qwythos-9B-v2-Heretic-MLX-8bit 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("WaveCut/Qwythos-9B-v2-Heretic-MLX-8bit") 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 WaveCut/Qwythos-9B-v2-Heretic-MLX-8bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "WaveCut/Qwythos-9B-v2-Heretic-MLX-8bit"
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": "WaveCut/Qwythos-9B-v2-Heretic-MLX-8bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use WaveCut/Qwythos-9B-v2-Heretic-MLX-8bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "WaveCut/Qwythos-9B-v2-Heretic-MLX-8bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "WaveCut/Qwythos-9B-v2-Heretic-MLX-8bit" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "WaveCut/Qwythos-9B-v2-Heretic-MLX-8bit", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use WaveCut/Qwythos-9B-v2-Heretic-MLX-8bit 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 "WaveCut/Qwythos-9B-v2-Heretic-MLX-8bit"
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 WaveCut/Qwythos-9B-v2-Heretic-MLX-8bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use WaveCut/Qwythos-9B-v2-Heretic-MLX-8bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "WaveCut/Qwythos-9B-v2-Heretic-MLX-8bit"
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 "WaveCut/Qwythos-9B-v2-Heretic-MLX-8bit" \ --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"
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,39 +1,66 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
| 4 |
tags:
|
| 5 |
-
- heretic
|
| 6 |
-
- uncensored
|
| 7 |
-
- abliteration
|
| 8 |
-
- mlx
|
|
|
|
|
|
|
| 9 |
pipeline_tag: text-generation
|
| 10 |
-
library_name: mlx
|
| 11 |
---
|
| 12 |
|
| 13 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
|
|
|
|
|
|
| 18 |
|
| 19 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
```bash
|
| 22 |
-
|
|
|
|
|
|
|
|
|
|
| 23 |
```
|
| 24 |
|
|
|
|
|
|
|
| 25 |
```python
|
| 26 |
from mlx_lm import load, generate
|
| 27 |
-
|
| 28 |
model, tokenizer = load("WaveCut/Qwythos-9B-v2-Heretic-MLX-8bit")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
-
|
| 31 |
|
| 32 |
-
|
| 33 |
-
messages = [{"role": "user", "content": prompt}]
|
| 34 |
-
prompt = tokenizer.apply_chat_template(
|
| 35 |
-
messages, add_generation_prompt=True, return_dict=False,
|
| 36 |
-
)
|
| 37 |
|
| 38 |
-
|
| 39 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
- ru
|
| 5 |
license: apache-2.0
|
| 6 |
+
library_name: mlx
|
| 7 |
+
base_model:
|
| 8 |
+
- WaveCut/Qwythos-9B-v2-Heretic
|
| 9 |
+
base_model_relation: quantized
|
| 10 |
tags:
|
| 11 |
+
- heretic
|
| 12 |
+
- uncensored
|
| 13 |
+
- abliteration
|
| 14 |
+
- mlx
|
| 15 |
+
- apple-silicon
|
| 16 |
+
- qwen3.5
|
| 17 |
pipeline_tag: text-generation
|
|
|
|
| 18 |
---
|
| 19 |
|
| 20 |
+
# Qwythos-9B-v2-Heretic-MLX-8bit
|
| 21 |
+
|
| 22 |
+
**MLX 8-bit quantization** of [`WaveCut/Qwythos-9B-v2-Heretic`](https://huggingface.co/WaveCut/Qwythos-9B-v2-Heretic) — the Heretic-decensored version of [`empero-ai/Qwythos-9B-v2`](https://huggingface.co/empero-ai/Qwythos-9B-v2). Built for **Apple Silicon** (M1/M2/M3/M4).
|
| 23 |
+
|
| 24 |
+
## Specs
|
| 25 |
|
| 26 |
+
| Field | Value |
|
| 27 |
+
|---|---|
|
| 28 |
+
| Bits/weight | **8.501** |
|
| 29 |
+
| File size | ~9.5 GB |
|
| 30 |
+
| Minimum RAM | ~11 GB unified memory |
|
| 31 |
|
| 32 |
+
## Quantization
|
| 33 |
+
|
| 34 |
+
| Step | Tool | Version |
|
| 35 |
+
|---|---|---|
|
| 36 |
+
| Convert + quantize | `mlx_lm.convert` | **mlx-lm 0.31.3** (mlx 0.31.x) |
|
| 37 |
+
| Quant mode | `affine` (default) | `-q --q-bits 8` |
|
| 38 |
|
| 39 |
```bash
|
| 40 |
+
python -m mlx_lm.convert \
|
| 41 |
+
--hf-path WaveCut/Qwythos-9B-v2-Heretic \
|
| 42 |
+
-q --q-bits 8 \
|
| 43 |
+
--upload-repo WaveCut/Qwythos-9B-v2-Heretic-MLX-8bit
|
| 44 |
```
|
| 45 |
|
| 46 |
+
## Usage
|
| 47 |
+
|
| 48 |
```python
|
| 49 |
from mlx_lm import load, generate
|
|
|
|
| 50 |
model, tokenizer = load("WaveCut/Qwythos-9B-v2-Heretic-MLX-8bit")
|
| 51 |
+
response = generate(model, tokenizer, prompt="Hello", max_tokens=256)
|
| 52 |
+
print(response)
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
```bash
|
| 56 |
+
# CLI
|
| 57 |
+
mlx_lm.generate --model WaveCut/Qwythos-9B-v2-Heretic-MLX-8bit --prompt "Hello"
|
| 58 |
+
```
|
| 59 |
|
| 60 |
+
## Architecture
|
| 61 |
|
| 62 |
+
Qwen3.5 **hybrid** — 32 blocks mixing attention and SSM (Mamba-style) layers. Supported in mlx-lm ≥ 0.31.0.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
|
| 64 |
+
## Disclaimer
|
| 65 |
+
|
| 66 |
+
Uncensored (safety alignment removed via Heretic). The original `empero-ai/Qwythos-9B-v2` maintainers are not affiliated with this derivative. Use responsibly.
|