Text Generation
MLX
Safetensors
English
qwen3
mlx-lm
quantized
apple-silicon
instruct
conversational
egypt-won
8-bit precision
Instructions to use sahilchachra/fable-traces-mxfp8-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use sahilchachra/fable-traces-mxfp8-mlx 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("sahilchachra/fable-traces-mxfp8-mlx") 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 sahilchachra/fable-traces-mxfp8-mlx with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "sahilchachra/fable-traces-mxfp8-mlx"
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": "sahilchachra/fable-traces-mxfp8-mlx" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use sahilchachra/fable-traces-mxfp8-mlx 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 "sahilchachra/fable-traces-mxfp8-mlx"
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 sahilchachra/fable-traces-mxfp8-mlx
Run Hermes
hermes
- OpenClaw new
How to use sahilchachra/fable-traces-mxfp8-mlx with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "sahilchachra/fable-traces-mxfp8-mlx"
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 "sahilchachra/fable-traces-mxfp8-mlx" \ --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"
- MLX LM
How to use sahilchachra/fable-traces-mxfp8-mlx with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "sahilchachra/fable-traces-mxfp8-mlx"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "sahilchachra/fable-traces-mxfp8-mlx" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "sahilchachra/fable-traces-mxfp8-mlx", "messages": [ {"role": "user", "content": "Hello"} ] }'
fable-traces — MLX Block float MX FP8
MLX quantization of AliesTaha/fable-traces, a fine-tuned Qwen3-4B-Instruct-2507 for short, conversational replies. This variant uses Block float MX FP8 quantization (8.25 effective bits/weight).
Quantized by: sahilchachra
Closest to FP16 quality; 8-bit block-float precision.
About the base model
- Architecture: Qwen3ForCausalLM — 36 layers, hidden 2560, 32 attention heads, 8 KV heads (GQA)
- Context length: 262 144 tokens
- Thinking mode: Qwen3 hybrid — supports
<think>chain-of-thought withenable_thinking=True - Fine-tune domain: Conversational / instruct (see
egypt-wontag) - License: Apache 2.0
Quick start
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("sahilchachra/fable-traces-mxfp8-mlx")
messages = [{"role": "user", "content": "Tell me something interesting."}]
prompt = tokenizer.apply_chat_template(
messages, tokenize=False, add_generation_prompt=True
)
response = generate(model, tokenizer, prompt=prompt, max_tokens=512, verbose=True)
print(response)
With thinking mode (Qwen3 chain-of-thought)
prompt = tokenizer.apply_chat_template(
messages, tokenize=False, add_generation_prompt=True,
enable_thinking=True, # injects <think> block before answer
)
response = generate(model, tokenizer, prompt=prompt, max_tokens=1024, verbose=True)
CLI
mlx_lm.generate --model sahilchachra/fable-traces-mxfp8-mlx \
--prompt "What's the fastest animal on Earth?" \
--max-tokens 256
Quantization details
| Variant | Format | bpw | Disk | Peak RAM |
|---|---|---|---|---|
| FP16 (original) | BF16 safetensors | 16.0 | 7688 MB | ~8 GB |
| mxfp8 ← this | Block float MX FP8 | 8.25 | 3968 MB | 3.98 GB |
| sahilchachra/fable-traces-4bit-mlx | Affine int4 (group size 64) | 4.50 | 2184 MB | 2.22 GB |
| sahilchachra/fable-traces-mxfp4-mlx | Block float MX FP4 | 4.25 | 2050 MB | 2.12 GB |
Note on bpw: Embedding and norm layers are kept at bf16; the reported bpw is across all linear weights.
All MLX variants
| Repo | Format | bpw | Disk |
|---|---|---|---|
| sahilchachra/fable-traces-mxfp4-mlx | MX FP4 | 4.25 | 2050 MB |
| sahilchachra/fable-traces-4bit-mlx | Affine int4 | 4.50 | 2184 MB |
| sahilchachra/fable-traces-mxfp8-mlx ← this | MX FP8 | 8.25 | 3968 MB |
Credits
- Base fine-tune: AliesTaha/fable-traces by AliesTaha (Apache 2.0)
- Base architecture: Qwen/Qwen3-4B-Instruct-2507 by Qwen team
- MLX quantization by sahilchachra
- Downloads last month
- 21
Model size
1B params
Tensor type
U8
·
U32 ·
BF16 ·
Hardware compatibility
Log In to add your hardware
8-bit