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="LiquidAI/LFM2-2.6B-GGUF",
	filename="",
)
llm.create_chat_completion(
	messages = [
		{
			"role": "user",
			"content": "What is the capital of France?"
		}
	]
)
Liquid AI
Try LFM โ€ข Docs โ€ข LEAP โ€ข Discord

LFM2-2.6B-GGUF

LFM2 is a new generation of hybrid models developed by Liquid AI, specifically designed for edge AI and on-device deployment. It sets a new standard in terms of quality, speed, and memory efficiency.

Find more details in the original model card: https://huggingface.co/LiquidAI/LFM2-2.6B

๐Ÿƒ How to run LFM2

Example usage with llama.cpp:

llama-cli -hf LiquidAI/LFM2-2.6B-GGUF

๐Ÿ“ฌ Contact

Downloads last month
19,124
GGUF
Model size
3B params
Architecture
lfm2
Hardware compatibility
Log In to add your hardware

4-bit

5-bit

6-bit

8-bit

16-bit

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

Model tree for LiquidAI/LFM2-2.6B-GGUF

Quantized
(21)
this model

Space using LiquidAI/LFM2-2.6B-GGUF 1

Collection including LiquidAI/LFM2-2.6B-GGUF