Downloads · 30 days
29
21% of all-time downloads
Hskyto/lfm2.5-2.6b-toolcall-mlx-q8
lfm2.5-2.6b-toolcall-mlx-q8 is a machine learning model from Hskyto. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for mlx-lm. The card lists the license as apache-2.0.
This repository contains the unquantized 16-bit (Bfloat16) MLX version of Liquid AI's LFM2.5-2.6B, merged with a custom QLoRA adapter trained specifically for on-device tool and function calling on Apple Silicon and n…
Downloads · 30 days
29
21% of all-time downloads
All-time downloads
135
Public
Parameters
2.7B
2.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.9 GB · 99%
How the weights are stored.
U322.7B · 100%
From the Hugging Face model README
This repository contains the unquantized 16-bit (Bfloat16) MLX version of Liquid AI's LFM2.5-2.6B, merged with a custom QLoRA adapter trained specifically for on-device tool and function calling on Apple Silicon and native iOS integration.
mlx-lm)time='18:00').You can load and test this model locally using the mlx-lm package:
from mlx_lm import load, generate
model, tokenizer = load("hskyto/lfm2.5-2.6b-toolcall-mlx")
prompt = tokenizer.apply_chat_template(
[
{"role": "system", "content": "You are an assistant with local iOS tools."},
{"role": "user", "content": "Remind me to call Mom at 6pm"}
],
tokenize=False,
add_generation_prompt=True
)
response = generate(model, tokenizer, prompt=prompt, verbose=True)
print(response)