How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "LiquidAI/LFM2.5-350M-GGUF"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "LiquidAI/LFM2.5-350M-GGUF",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker
docker model run hf.co/LiquidAI/LFM2.5-350M-GGUF:
Quick Links
Liquid AI
Try LFM β€’ Docs β€’ LEAP β€’ Discord

LFM2.5-350M-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.5-350M

πŸƒ How to run LFM2.5

Example usage with llama.cpp:

llama-cli -hf LiquidAI/LFM2.5-350M-GGUF --conversation \
    --temp 0.1 --top-k 50 --repeat-penalty 1.05

QAD Q4_0 GGUF

The Quantization-Aware Distillation (QAD) checkpoint is available as LFM2.5-350M-QAD-Q4_0.gguf.

This is distinct from the post-training-quantized LFM2.5-350M-Q4_0.gguf; both use the GGUF Q4_0 format.

Example usage with llama.cpp:

llama-cli -hf LiquidAI/LFM2.5-350M-GGUF \
  --hf-file LFM2.5-350M-QAD-Q4_0.gguf \
  -p "What is C. elegans?"
Downloads last month
86,521
GGUF
Model size
0.4B 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.5-350M-GGUF

Quantized
(71)
this model

Spaces using LiquidAI/LFM2.5-350M-GGUF 3

Collection including LiquidAI/LFM2.5-350M-GGUF

Article mentioning LiquidAI/LFM2.5-350M-GGUF