MLX Models
Collection
Models converted to run with MLX • 225 items • Updated
• 2
This model alexgusevski/LFM2.5-1.2B-Nova-Function-Calling-mlx was converted to MLX format from NovachronoAI/LFM2.5-1.2B-Nova-Function-Calling using mlx-lm version 0.30.2.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("alexgusevski/LFM2.5-1.2B-Nova-Function-Calling-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, return_dict=False,
)
response = generate(model, tokenizer, prompt=prompt, verbose=True)
Quantized
Base model
LiquidAI/LFM2.5-1.2B-Base