Instructions to use AnkitAI/Parable-Qwen3-4B-Claude-Fable-5-MLX-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use AnkitAI/Parable-Qwen3-4B-Claude-Fable-5-MLX-4bit 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("AnkitAI/Parable-Qwen3-4B-Claude-Fable-5-MLX-4bit") 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 AnkitAI/Parable-Qwen3-4B-Claude-Fable-5-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 "AnkitAI/Parable-Qwen3-4B-Claude-Fable-5-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": "AnkitAI/Parable-Qwen3-4B-Claude-Fable-5-MLX-4bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use AnkitAI/Parable-Qwen3-4B-Claude-Fable-5-MLX-4bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "AnkitAI/Parable-Qwen3-4B-Claude-Fable-5-MLX-4bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "AnkitAI/Parable-Qwen3-4B-Claude-Fable-5-MLX-4bit" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AnkitAI/Parable-Qwen3-4B-Claude-Fable-5-MLX-4bit", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use AnkitAI/Parable-Qwen3-4B-Claude-Fable-5-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 "AnkitAI/Parable-Qwen3-4B-Claude-Fable-5-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 AnkitAI/Parable-Qwen3-4B-Claude-Fable-5-MLX-4bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use AnkitAI/Parable-Qwen3-4B-Claude-Fable-5-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 "AnkitAI/Parable-Qwen3-4B-Claude-Fable-5-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 "AnkitAI/Parable-Qwen3-4B-Claude-Fable-5-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"
Parable-Qwen3-4B-Claude-Fable-5-MLX-4bit
Apple Silicon build of Parable-Qwen3-4B: 2.1 GB at 4.501 bits per weight, running natively on MLX with no llama.cpp in the way.
A 4-bit MLX quantisation of AnkitAI/Parable-Qwen3-4B-Claude-Fable-5, a Qwen3-4B fine-tune trained on real multi-step agent sessions: planning, tool use, and <think> reasoning captured from actual Claude Fable 5 and GPT-5.5 agent work, not synthetic Q&A. Fits comfortably on any M-series Mac.
Usage
pip install mlx-lm
mlx_lm.generate --model AnkitAI/Parable-Qwen3-4B-Claude-Fable-5-MLX-4bit \
--prompt "Write a Python function that retries an HTTP request with exponential backoff."
Or from Python:
from mlx_lm import load, generate
model, tokenizer = load("AnkitAI/Parable-Qwen3-4B-Claude-Fable-5-MLX-4bit")
messages = [{"role": "user", "content": "Write a Python function that retries an HTTP request with exponential backoff."}]
prompt = tokenizer.apply_chat_template(messages, add_generation_prompt=True)
print(generate(model, tokenizer, prompt=prompt, max_tokens=512))
Recipe
v3.1: LoRA on agent traces with a replay mix to limit forgetting, completion-only loss so the model trains on answers rather than prompts, two seeds souped, then merged into the base at scale 0.6 to bound drift from the original weights.
Measured on the full-precision 4B, base against tuned, in one session on one harness:
| base | v3.1 | |
|---|---|---|
| HumanEval+ | 0.616 | 0.683 |
| MBPP+ | 0.603 | 0.638 |
Those are the full-precision numbers. Quantising to 4 bits costs accuracy that this table does not measure, so treat them as the ceiling for this build rather than a claim about it.
Other formats
| format | repo | for |
|---|---|---|
| GGUF | Parable-Qwen3-4B-Claude-Fable-5-GGUF | llama.cpp, LM Studio, Ollama |
| MLX 8-bit | Parable-Qwen3-4B-Claude-Fable-5-MLX-8bit | Apple Silicon, closer to source |
| safetensors | Parable-Qwen3-4B-Claude-Fable-5 | transformers |
Apache-2.0, inherited from the base model.
- Downloads last month
- 30
4-bit
Model tree for AnkitAI/Parable-Qwen3-4B-Claude-Fable-5-MLX-4bit
Base model
Qwen/Qwen3-4B-Base