Coding without MoEs
					Collection
				
some slower than others
					• 
				43 items
				• 
				Updated
					
				
This model Apertus-8B-Instruct-2509-qx86-mlx was converted to MLX format from swiss-ai/Apertus-8B-Instruct-2509 using mlx-lm version 0.27.1.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("Apertus-8B-Instruct-2509-qx86-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)
Base model
swiss-ai/Apertus-8B-2509