How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="mathensley/lfm2.5-it-ft-v2",
	filename="LFM2.5-1.2B-Instruct.F16.gguf",
)
llm.create_chat_completion(
	messages = "No input example has been defined for this model task."
)

lfm2.5-it-ft-v2 : GGUF

This model was finetuned and converted to GGUF format using Unsloth.

Example usage:

  • For text only LLMs: ./llama.cpp/llama-cli -hf mathensley/lfm2.5-it-ft-v2 --jinja
  • For multimodal models: ./llama.cpp/llama-mtmd-cli -hf mathensley/lfm2.5-it-ft-v2 --jinja

Available Model files:

  • LFM2.5-1.2B-Instruct.F16.gguf This was trained 2x faster with Unsloth
Downloads last month
21
GGUF
Model size
1B params
Architecture
lfm2
Hardware compatibility
Log In to add your hardware

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support