abenzerps's picture
Publish K2-Horizon-7B-MLX-8bit release
bf89131
|
Raw
History Blame Contribute Delete
1.57 kB
metadata
base_model:
  - IFM/K2-Horizon-7B
base_model_relation: quantized
license: apache-2.0
language:
  - en
pipeline_tag: text-generation
library_name: mlx
tags:
  - mlx
  - mlx-lm
  - 8-bit
  - k2-horizon
  - long-context
  - 512k-context
  - dense

K2-Horizon-7B MLX — 8-bit

MLX 8-bit conversion of IFM/K2-Horizon-7B, a 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-7B benchmark results

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

Release

Format Quantization Size
MLX safetensors (2 shards) Affine 8-bit, group size 64 9.56 GB

The included model.py loader 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 abenzerps/K2-Horizon-7B-MLX-8bit \
  --trust-remote-code \
  --prompt "Explain why reproducible builds matter." \
  --max-tokens 256

Source