Image-Text-to-Text
MLX
Safetensors
qwen3_5_moe
mlx-vlm
Mixture of Experts
multimodal
vision
agents
agentic
tool-use
basequant-xl
conversational
6-bit
Instructions to use leonsarmiento/Agents-A1-6bit-XL-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use leonsarmiento/Agents-A1-6bit-XL-mlx with MLX:
# Make sure mlx-vlm is installed # pip install --upgrade mlx-vlm from mlx_vlm import load, generate from mlx_vlm.prompt_utils import apply_chat_template from mlx_vlm.utils import load_config # Load the model model, processor = load("leonsarmiento/Agents-A1-6bit-XL-mlx") config = load_config("leonsarmiento/Agents-A1-6bit-XL-mlx") # Prepare input image = ["http://images.cocodataset.org/val2017/000000039769.jpg"] prompt = "Describe this image." # Apply chat template formatted_prompt = apply_chat_template( processor, config, prompt, num_images=1 ) # Generate output output = generate(model, processor, formatted_prompt, image) print(output) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use leonsarmiento/Agents-A1-6bit-XL-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 "leonsarmiento/Agents-A1-6bit-XL-mlx"
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": "leonsarmiento/Agents-A1-6bit-XL-mlx" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use leonsarmiento/Agents-A1-6bit-XL-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 "leonsarmiento/Agents-A1-6bit-XL-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 leonsarmiento/Agents-A1-6bit-XL-mlx
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use leonsarmiento/Agents-A1-6bit-XL-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 "leonsarmiento/Agents-A1-6bit-XL-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 "leonsarmiento/Agents-A1-6bit-XL-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"
Add Local SOTA comparison section and chart
Browse files
README.md
CHANGED
|
@@ -14,6 +14,27 @@ tags:
|
|
| 14 |
pipeline_tag: image-text-to-text
|
| 15 |
---
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
# leonsarmiento/Agents-A1-6bit-XL-mlx
|
| 18 |
|
| 19 |
This model was converted to MLX format from [`InternScience/Agents-A1`](https://huggingface.co/InternScience/Agents-A1) using **BaseQuant_XL 6/8-bit mixed quantization** optimized for Apple Silicon. The vision encoder is preserved and quantized at 6-bit, making this a full multimodal model.
|
|
|
|
| 14 |
pipeline_tag: image-text-to-text
|
| 15 |
---
|
| 16 |
|
| 17 |
+
## Local SOTA for 48GB Macs — Intelligence Benchmark Comparison
|
| 18 |
+
|
| 19 |
+
This model is part of a benchmark comparison of the best local MLX-quantized LLMs that fit in 48GB unified memory on Apple Silicon. All benchmarks run in instruct mode (no thinking) with n=50 samples per benchmark.
|
| 20 |
+
|
| 21 |
+

|
| 22 |
+
|
| 23 |
+
| Benchmark | Samples | Agents-A1 6bit-XL | Gemma-4 26B 6bit-XL | Huihui-Qwen3.6 6bit-XL | Ornith-35B 6bit-XL | Qwen3.6-27B oQ4e | Qwen3.6-35B 6bit-XL | Qwen3.6-35B oQ4e | Qwen3.6-35B oQ4e-XL | Qwen3.6-35B oQ6 |
|
| 24 |
+
|-----------|:-------:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
|
| 25 |
+
| MMLU | 50/14042 | 66% | **76%** | 74% | 64% | 74% | 64% | 66% | 72% | 64% |
|
| 26 |
+
| MMLU_PRO | 50/12032 | 58% | **82%** | 66% | 66% | 56% | 64% | 60% | 64% | 60% |
|
| 27 |
+
| ARC_CHALLENGE | 50/1172 | 90% | 90% | **92%** | **92%** | 88% | 90% | **92%** | **92%** | 90% |
|
| 28 |
+
| HUMANEVAL | 50/164 | 90% | **98%** | 84% | 78% | **92%** | 78% | **92%** | 90% | 66% |
|
| 29 |
+
| MBPP | 50/500 | 70% | 82% | 78% | 78% | **86%** | 78% | 80% | 76% | 76% |
|
| 30 |
+
| **Average** | | 74.8% | **85.6%** | 78.8% | 75.6% | 79.2% | 74.8% | 78.0% | 78.8% | 71.2% |
|
| 31 |
+
|
| 32 |
+
**Collection:** [Local SOTA for 48GB Macs](https://huggingface.co/collections/leonsarmiento/local-sota-for-48gb-macs-6a5fb58390dd01e1fc35d55e)
|
| 33 |
+
|
| 34 |
+
> ⚠️ n=50 sampling means wide confidence intervals (±~13% at 95% CI). Differences under ~6 points may not be statistically significant. Models using data-aware quantization (oQ/oQe) may be calibrated on benchmark-like data — their scores carry a benchmaxxing caveat. The BaseQuant_XL variants (data-agnostic) provide the most honest generalization estimates.
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
|
| 38 |
# leonsarmiento/Agents-A1-6bit-XL-mlx
|
| 39 |
|
| 40 |
This model was converted to MLX format from [`InternScience/Agents-A1`](https://huggingface.co/InternScience/Agents-A1) using **BaseQuant_XL 6/8-bit mixed quantization** optimized for Apple Silicon. The vision encoder is preserved and quantized at 6-bit, making this a full multimodal model.
|