Instructions to use Accio-Lab/occamy-1.0-MLX-mxfp4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Accio-Lab/occamy-1.0-MLX-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("Accio-Lab/occamy-1.0-MLX-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 Accio-Lab/occamy-1.0-MLX-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 "Accio-Lab/occamy-1.0-MLX-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": "Accio-Lab/occamy-1.0-MLX-mxfp4" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use Accio-Lab/occamy-1.0-MLX-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 "Accio-Lab/occamy-1.0-MLX-mxfp4"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "Accio-Lab/occamy-1.0-MLX-mxfp4" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Accio-Lab/occamy-1.0-MLX-mxfp4", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use Accio-Lab/occamy-1.0-MLX-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 "Accio-Lab/occamy-1.0-MLX-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 Accio-Lab/occamy-1.0-MLX-mxfp4
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Accio-Lab/occamy-1.0-MLX-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 "Accio-Lab/occamy-1.0-MLX-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 "Accio-Lab/occamy-1.0-MLX-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"
Download validation_summary.json from Accio-Lab/occamy-1.0-MLX-mxfp4: direct link, hf CLI and curl.
- Browser
- Download file 1.87 kB
-
https://huggingface.co/Accio-Lab/occamy-1.0-MLX-mxfp4/resolve/main/validation_summary.json
- Command line
-
hf download hf://Accio-Lab/occamy-1.0-MLX-mxfp4/validation_summary.json
-
curl -L -o validation_summary.json https://huggingface.co/Accio-Lab/occamy-1.0-MLX-mxfp4/resolve/main/validation_summary.json
1.87 kB
| { | |
| "key": "mxfp4", | |
| "mode": "mxfp4", | |
| "bits": 4, | |
| "group_size": 32, | |
| "scope": "Complete artifact and native dequantized-value checks, plus eight authored cached greedy fixtures; not a broad benchmark.", | |
| "backend": "Linux native MLX CUDA 12 on NVIDIA B200", | |
| "mac_acceptance": "pending", | |
| "weight_bytes": 18426513876, | |
| "files": [ | |
| { | |
| "file": "model-00001-of-00004.safetensors", | |
| "bytes": 5349133873, | |
| "sha256": "81609e9859214b4699e7123c9aca76a6635d1f0f401269a593e6458bf56ea5e6" | |
| }, | |
| { | |
| "file": "model-00002-of-00004.safetensors", | |
| "bytes": 5365849599, | |
| "sha256": "9fb7b67e0dc5f00cf6f10346f26f61a4bd539931fb0415bcb4e0c84af24d8d43" | |
| }, | |
| { | |
| "file": "model-00003-of-00004.safetensors", | |
| "bytes": 5365849547, | |
| "sha256": "d7e14ad72cda67145d4103e23c6e573acaa11a94d0891c2197d12bb17df1f1e1" | |
| }, | |
| { | |
| "file": "model-00004-of-00004.safetensors", | |
| "bytes": 2345680857, | |
| "sha256": "f997e3273452a19aa6a1c12c48a4fd66ff5103292733e70a7f899c182e00bab5" | |
| } | |
| ], | |
| "strict_stock_reload": true, | |
| "all_stored_floating_values_finite": true, | |
| "all_dequantized_values_finite": true, | |
| "all_generation_logits_finite": true, | |
| "functional_passed": 8, | |
| "functional_total": 8, | |
| "tokenizer_source_files": { | |
| "tokenizer.json": "06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523", | |
| "tokenizer_config.json": "792fa3f0cb88b111e54ef3134c873531008c4df471d108da17903426e308aa7b", | |
| "chat_template.jinja": "e84f32a23fdda27689f868aa4a1a5621f41133e51a48d7f3efcbea2839574259" | |
| }, | |
| "quantized_modules": 512, | |
| "dequantized_rows_checked": 32631720, | |
| "http_smoke": { | |
| "passed": 2, | |
| "total": 2, | |
| "endpoint": "/v1/chat/completions" | |
| }, | |
| "held_out_perplexity": 8.888629727327855, | |
| "paired_bf16_perplexity": 8.307409052128223, | |
| "held_out_ppl_ratio_to_bf16": 1.0699641334082053 | |
| } | |