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="BenjaminHelle/LFM2.5-1.2B-Code",
	filename="",
)
llm.create_chat_completion(
	messages = "No input example has been defined for this model task."
)

LFM2.5-1.2B-Code : GGUF

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

Example usage:

  • For text only LLMs: llama-cli -hf BenjaminHelle/LFM2.5-1.2B-Code --jinja
  • For multimodal models: llama-mtmd-cli -hf BenjaminHelle/LFM2.5-1.2B-Code --jinja

Available Model files:

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

4-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for BenjaminHelle/LFM2.5-1.2B-Code

Quantized
(48)
this model

Dataset used to train BenjaminHelle/LFM2.5-1.2B-Code