distil-labs/distil-lfm25-shellper
distil-lfm25-shellper
A fine-tuned version of LiquidAI/LFM2.5-350M for multi-turn shell command execution via tool calling, trained using the distil labs platform.
This model converts natural language requests into bash commands via structured tool calls, based on the Berkeley Function Calling Leaderboard Gorilla file system task.
Results
The tuned 350M model exceeds the 120B teacher by nearly a full percentage point.
Training Details
Training Progress
Usage
This model uses the LFM2.5 tool calling format with <|tool_call_start|> and <|tool_call_end|> tags:
<|tool_call_start|>[function_name(arg1="value1", arg2=42)]<|tool_call_end|>Deployment
The model works with Ollama, vLLM, llama.cpp, or any inference runtime that supports Safetensors. For quantized deployment, use the GGUF, ONNX, or MLX variants of the base model as a starting point.
Blog Post
For the full writeup, see: Fine-Tuning Liquid's LFM2.5: Accurate Tool Calling at 350M Parameters
License
This model is licensed under the LFM Open Model License v1.0.
