How to use from
OpenClaw
Start the MLX server
# Install MLX LM:
uv tool install mlx-lm
# Start a local OpenAI-compatible server:
mlx_lm.server --model "abenzerps/K2-Horizon-3.7B-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 "abenzerps/K2-Horizon-3.7B-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"
Quick Links

K2-Horizon-3.7B MLX — 4-bit

MLX 4-bit conversion of IFM/K2-Horizon-3.7B, a 3.7B dense decoder-only model for reasoning, coding, long-context work, and tool use. The source checkpoint supports a native context length of 524,288 tokens (512K).

Benchmarks

IFM/K2-Horizon-3.7B benchmark results

Benchmark results reported by IFM for the original IFM/K2-Horizon-3.7B checkpoint.

Release

Format Quantization Size
MLX safetensors Affine 4-bit, group size 64 2.87 GB

The included k2_horizon_mlx.py adapter preserves K2 Horizon's grouped RMSNorm. Use it with MLX-LM and --trust-remote-code. The model is text-only; no vision projector or MTP files are included.

Usage

pip install -U mlx-lm
mlx_lm.generate \
  --model . \
  --trust-remote-code \
  --prompt "Explain why reproducible builds matter." \
  --max-tokens 512

Source

Downloads last month
154
Safetensors
Model size
5B params
Tensor type
U32
·
BF16
·
MLX
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for abenzerps/K2-Horizon-3.7B-MLX-4bit

Quantized
(9)
this model

Collection including abenzerps/K2-Horizon-3.7B-MLX-4bit