🎯 Liquid Nanos
Collection
Library of task-specific models: https://www.liquid.ai/blog/introducing-liquid-nanos-frontier-grade-performance-on-everyday-devices • 36 items • Updated • 135
How to use LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF:Q4_K_M
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF:Q4_K_M
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF:Q4_K_M
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF:Q4_K_M
docker model run hf.co/LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF:Q4_K_M
How to use LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF with Ollama:
ollama run hf.co/LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF:Q4_K_M
How to use LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF with Pi:
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF:Q4_K_M
# Install Pi:
npm install -g @earendil-works/pi-coding-agent
# Add to ~/.pi/agent/models.json:
{
"providers": {
"llama-cpp": {
"baseUrl": "http://localhost:8080/v1",
"api": "openai-completions",
"apiKey": "none",
"models": [
{
"id": "LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF:Q4_K_M"
}
]
}
}
}# Start Pi in your project directory: pi
How to use LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF with Docker Model Runner:
docker model run hf.co/LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF:Q4_K_M
How to use LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF:Q4_K_M
lemonade run user.LFM2.5-VL-1.6B-Extract-GGUF-Q4_K_M
lemonade list
How to use LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF with Hermes Agent:
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF:Q4_K_M
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF:Q4_K_M
hermes
How to use LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF with OpenClaw:
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF:Q4_K_M
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
openclaw agent --local --agent main --message "Hello from Hugging Face"
Find more details in the original model card: https://huggingface.co/LiquidAI/LFM2.5-VL-1.6B-Extract
Example usage with llama.cpp:
llama-server -hf LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF:Q4_0
llama-server -hf LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF:F16
llama-cli -hf LiquidAI/LFM2.5-VL-1.6B-Extract-GGUF:F16 -p <system-prompt> --image <image>
In the system prompt, please describe the fields to extract in YAML format, example below:
wood_color: The overall coloration of the wood surface
wood_texture: The tactile quality of the wood surface
wood_pattern: The partern types visible on the wood surface
4-bit
5-bit
6-bit
8-bit
16-bit
Base model
LiquidAI/LFM2.5-1.2B-Base