How to use from the
Use from the
MLX library
# 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("abenzerps/K2-Horizon-MoVA-36B-A4B-MLX-4bit")

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)

K2-Horizon-MoVA-36B-A4B MLX-4bit

MLX 4-bit conversion of IFM/K2-Horizon-MoVA-36B-A4B, a sparse Mixture-of-Experts model with Mixture-of-Values attention (MoVA), 36B total parameters, and approximately 4B active parameters per token. The source checkpoint supports a native context length of 524,288 tokens (512K).

Benchmarks

K2-Horizon-MoVA-36B-A4B benchmark results

Benchmark results reported by IFM for the original K2-Horizon-MoVA-36B-A4B checkpoint.

Release

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

The MoE and MoVA router weights remain at 8-bit; other eligible weights use affine 4-bit quantization. This is a text-only release; no vision projector is required. The repository includes a source-compatible chat_template.jinja, the custom MLX model implementation required by this architecture, and SHA256SUMS.

Usage

pip install -U mlx-lm

mlx_lm.generate \
  --model abenzerps/K2-Horizon-MoVA-36B-A4B-MLX-4bit \
  --prompt "Explain why reproducible builds matter." \
  --max-tokens 512 --temp 1.0 --top-p 0.95

Use a current mlx-lm release. The source model supports 512K context; usable context length depends on available unified memory and KV-cache settings.

Source

Downloads last month
539
Safetensors
Model size
37B 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-MoVA-36B-A4B-MLX-4bit

Quantized
(18)
this model

Collection including abenzerps/K2-Horizon-MoVA-36B-A4B-MLX-4bit