Downloads · 30 days
203
12% of all-time downloads
NovachronoAI/LFM2.5-1.2B-Nova-Function-Calling
LFM2.5-1.2B-Nova-Function-Calling is a text generation model from NovachronoAI. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Downloads · 30 days
203
12% of all-time downloads
All-time downloads
1.7K
Public
Parameters
1.2B
2.3 GB on disk
Likes
5
Public
Click a slice to open those files.
.safetensors2.3 GB · 100%
From the Hugging Face model README
LFM2.5-1.2B-Nova-Function-Calling is a specialized fine-tune of Liquid AI's revolutionary Liquid Neural Network (LFM 2.5). Despite its small size (1.2B parameters), this model rivals 7B+ class models in specific tasks due to its hybrid architecture.
This model has been specifically engineered for robust Function Calling, allowing it to seamlessly convert natural language user queries into structured JSON inputs for tools, APIs, and software agents.
<|im_start|> format for easy integration.Note: The "Blind Test" metric (58%) represents the model's raw semantic accuracy without any tool definitions provided (Zero-Shot). The "Syntax Reliability" (97%) measures the model's ability to generate valid, crash-free JSON structure, which matches GPT-4o class performance.
This model was trained on NovachronoAI/Nova-Synapse-Function-Calling.
You need the latest transformers and unsloth libraries to run Liquid architectures.
from unsloth import FastLanguageModel
import torch
# Load the model
model, tokenizer = FastLanguageModel.from_pretrained(
model_name = "NovachronoAI/LFM2.5-1.2B-Nova-Function-Calling-Full", # or use the GGUF repo
max_seq_length = 4096,
dtype = None,
load_in_4bit = True,
)
FastLanguageModel.for_inference(model)
# Define the Prompt (ChatML Format)
prompt = """<|im_start|>user
I need to calculate the area of a circle with a radius of 5.
<|im_end|>
<|im_start|>assistant
"""
# Generate
inputs = tokenizer([prompt], return_tensors = "pt").to("cuda")
outputs = model.generate(**inputs, max_new_tokens = 128, use_cache = True)
print(tokenizer.batch_decode(outputs)[0].split("<|im_start|>assistant")[-1])
Expected Output:
<tool_call>
{"name": "calculate_circle_area", "arguments": {"radius": 5}}
</tool_call>
Thanks to mradermacher, this model is available in high-performance GGUF formats for local inference (llama.cpp, Ollama, LM Studio).
| Version | Description | Recommended For | Link |
|---|---|---|---|
| Standard GGUF | Traditional static quantization. | General testing & broad compatibility. | Download |
| Imatrix GGUF | (Best Quality) Importance Matrix tuned. Higher accuracy at small sizes. | Low VRAM devices (Android/Pi) or max quality needs. | Download |
| Parameter | Value |
|---|---|
| Base Model | LiquidAI/LFM2.5-1.2B-Instruct |
| Framework | Unsloth + Hugging Face TRL |
| Hardware | NVIDIA Tesla T4 (Kaggle) |
| Epochs | ~2 (600 Steps) |
| Learning Rate | 2e-4 |
| Scheduler | Linear |
| Quantization | 4-bit (QLoRA) |
| Training Trajectory | |
| The model showed rapid adaptation to the JSON syntax, dropping from a random-guess loss of 11.6 to a highly capable 2.63. |
📜 License This model is fine-tuned from LiquidAI/LFM2.5-1.2B-Instruct. Please refer to the original Liquid AI license terms for commercial use. The fine-tuning dataset and adapters are released under Apache 2.0.
<div align="center"> Built with ❤️ by <b>NovachronoAI</b> using <a href="https://github.com/unslothai/unsloth">Unsloth</a> </div>