nightmedia/Kimi-Linear-REAP-35B-A3B-Instruct-mxfp4-mlx
1192
Kimi-Linear-REAP-35B-A3B-Instruct-mxfp4-mlx
Updated model that works with the new transformers version coming soon
-G
This model Kimi-Linear-REAP-35B-A3B-Instruct-mxfp4-mlx was converted to MLX format from cerebras/Kimi-Linear-REAP-35B-A3B-Instruct using mlx-lm version 0.28.4.
Use with mlx
pip install mlx-lmfrom mlx_lm import load, generate
model, tokenizer = load("Kimi-Linear-REAP-35B-A3B-Instruct-mxfp4-mlx")
prompt = "hello"
if tokenizer.chat_template is not None:
messages = [{"role": "user", "content": prompt}]
prompt = tokenizer.apply_chat_template(
messages, add_generation_prompt=True
)
response = generate(model, tokenizer, prompt=prompt, verbose=True)