Text Generation
MLX
Safetensors
qwen3_5
apple-silicon
quantized
mixed-precision
axquant
axq
development
qwen3.5
MXFP4
vision
conversational
4-bit precision
Instructions to use AutomatosX/AX-Clef-Flash-9B-MLX-AXQ-MXFP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use AutomatosX/AX-Clef-Flash-9B-MLX-AXQ-MXFP4 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("AutomatosX/AX-Clef-Flash-9B-MLX-AXQ-MXFP4") 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 AutomatosX/AX-Clef-Flash-9B-MLX-AXQ-MXFP4 with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "AutomatosX/AX-Clef-Flash-9B-MLX-AXQ-MXFP4"
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": "AutomatosX/AX-Clef-Flash-9B-MLX-AXQ-MXFP4" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use AutomatosX/AX-Clef-Flash-9B-MLX-AXQ-MXFP4 with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "AutomatosX/AX-Clef-Flash-9B-MLX-AXQ-MXFP4"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "AutomatosX/AX-Clef-Flash-9B-MLX-AXQ-MXFP4" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AutomatosX/AX-Clef-Flash-9B-MLX-AXQ-MXFP4", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use AutomatosX/AX-Clef-Flash-9B-MLX-AXQ-MXFP4 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 "AutomatosX/AX-Clef-Flash-9B-MLX-AXQ-MXFP4"
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 AutomatosX/AX-Clef-Flash-9B-MLX-AXQ-MXFP4
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use AutomatosX/AX-Clef-Flash-9B-MLX-AXQ-MXFP4 with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "AutomatosX/AX-Clef-Flash-9B-MLX-AXQ-MXFP4"
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 "AutomatosX/AX-Clef-Flash-9B-MLX-AXQ-MXFP4" \ --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"
File size: 982 Bytes
8ae6a92 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | {
"config_sha256": "66f87f6fb2616b46604daf2a9c67ddc87938296d07156efa34d59b5be49e3238",
"created_at": "2026-10-11T13:15:21.758098Z",
"index_sha256": "941305ff9f77551e145a6cea976ef456cd5cb208cbece99f168376c752fcf96c",
"members": [
{
"path": "model-00001-of-00004.safetensors",
"size_bytes": 4942706120
},
{
"path": "model-00002-of-00004.safetensors",
"size_bytes": 4987757928
},
{
"path": "model-00003-of-00004.safetensors",
"size_bytes": 4954810240
},
{
"path": "model-00004-of-00004.safetensors",
"size_bytes": 3934446832
}
],
"plan_sha256": "543fcfc184a1ed2f78c37ae85d141b4a01f04bda31507b74708cdc5d94cba370",
"schema_version": "axquant.source-plan-binding.v1",
"source_model": {
"architecture": "Qwen3_5ForConditionalGeneration",
"format": "mlx",
"local_path": null,
"model_id": "Cloudflare/clef-flash",
"revision": "8b2e5fd17c09fd49bc2880b805d5323ec7ff4ff3"
}
}
|