DreamFoundries's picture
Add MLXHub metadata
ad401ab verified
|
Raw
History Blame Contribute Delete
1.37 kB
metadata
pipeline_tag: text-generation
library_name: mlx
model_name: K2-Horizon-7B
language:
  - en
license: apache-2.0
datasets:
  - IFM/K2-Horizon-Pretrain-Data
  - IFM/K2-Horizon-Midtrain-Data
tags:
  - k2-horizon
  - 7b
  - dense
  - open-weights
  - ifm
  - mlx
  - mlxhub
base_model: IFM/K2-Horizon-7B

Open in MLXHub

K2 Horizon 7B MLX 4-bit

MLX conversion of IFM/K2-Horizon-7B, created specifically for MLXHub with the DreamFoundries mlx-lm fork at 0f74c0e. Affine 4-bit quantization uses group size 64. The K2 routers (mlp.gate and, where present, self_attn.v_router) remain unquantized by the model implementation.

The original model is by Institute of Foundation Models (IFM) and is released under Apache-2.0. Comparative quality and performance benchmarks are not available for this conversion.

Use with MLX

from mlx_lm import load, generate
model, tokenizer = load("DreamFoundries/K2-Horizon-7B-MLX-4bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)

Download MLXHub