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="benitomartin/grumpy-chef-lfm2.5-1.2B-GGUF",
	filename="",
)
llm.create_chat_completion(
	messages = [
		{
			"role": "user",
			"content": "What is the capital of France?"
		}
	]
)

Grumpy Chef LFM2.5-1.2B-GGUF

This lfm2 model was trained (SFT + DPO) 2x faster with Unsloth and Huggingface's TRL library using this dataset grumpy-chef-dpo.

Example usage:

  • For text only LLMs: ./llama.cpp/llama-cli -hf benitomartin/grumpy-chef-lfm2.5-1.2B-GGUF --jinja
  • For multimodal models: ./llama.cpp/llama-mtmd-cli -hf benitomartin/grumpy-chef-lfm2.5-1.2B-GGUF --jinja

Downloads last month
22
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 benitomartin/grumpy-chef-lfm2.5-1.2B-GGUF

Quantized
(24)
this model

Dataset used to train benitomartin/grumpy-chef-lfm2.5-1.2B-GGUF