Instructions to use enseven/lfm-2.5-think-code-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use enseven/lfm-2.5-think-code-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf enseven/lfm-2.5-think-code-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf enseven/lfm-2.5-think-code-GGUF:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf enseven/lfm-2.5-think-code-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf enseven/lfm-2.5-think-code-GGUF:BF16
Use pre-built binary
# 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 enseven/lfm-2.5-think-code-GGUF:BF16 # Run inference directly in the terminal: ./llama-cli -hf enseven/lfm-2.5-think-code-GGUF:BF16
Build from source code
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 enseven/lfm-2.5-think-code-GGUF:BF16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf enseven/lfm-2.5-think-code-GGUF:BF16
Use Docker
docker model run hf.co/enseven/lfm-2.5-think-code-GGUF:BF16
- LM Studio
- Jan
- Ollama
How to use enseven/lfm-2.5-think-code-GGUF with Ollama:
ollama run hf.co/enseven/lfm-2.5-think-code-GGUF:BF16
- Unsloth Desktop
- Pi
How to use enseven/lfm-2.5-think-code-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf enseven/lfm-2.5-think-code-GGUF:BF16
Configure the model in Pi
# 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": "enseven/lfm-2.5-think-code-GGUF:BF16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use enseven/lfm-2.5-think-code-GGUF with Docker Model Runner:
docker model run hf.co/enseven/lfm-2.5-think-code-GGUF:BF16
- Lemonade
How to use enseven/lfm-2.5-think-code-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull enseven/lfm-2.5-think-code-GGUF:BF16
Run and chat with the model
lemonade run user.lfm-2.5-think-code-GGUF-BF16
List all available models
lemonade list
- Hermes Agent
How to use enseven/lfm-2.5-think-code-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf enseven/lfm-2.5-think-code-GGUF:BF16
Configure Hermes
# 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 enseven/lfm-2.5-think-code-GGUF:BF16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use enseven/lfm-2.5-think-code-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf enseven/lfm-2.5-think-code-GGUF:BF16
Configure OpenClaw
# 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 "enseven/lfm-2.5-think-code-GGUF:BF16" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
LFM2.5-1.2B-Thinking KodCode fine-tune โ GGUF collection (negative result)
The exact GGUF artifacts used as the four model rows in a sealed 128-task HumanEval+ evaluation (greedy decoding, EvalPlus v0.1.10, pinned llama.cpp runtime). Published so the evaluation is reproducible from the Hub alone. The fine-tune regressed coding ability versus the base model โ see the adapter model card for the full result and the recommendation to use the base model.
Artifacts
| File | Size (bytes) | SHA-256 | Role in the evaluation |
|---|---|---|---|
lfm2.5-1.2b-thinking-original-bf16.gguf |
2,343,326,656 | 2e948214bc4f2af1990039946cee14ad1525ed41108d3fb77a4ec06c7ceec781 |
Baseline row (upstream base model, no fine-tune) |
lfm2.5-1.2b-thinking-kodcode-bf16.gguf |
2,343,326,048 | 3e39c292be1f2b2740c3e05a2cb9081260439033e1b05f601117c72c8a73b8e6 |
Fine-tune merged BF16 reference row |
lfm2.5-1.2b-thinking-kodcode-q8_0.gguf |
1,246,253,408 | 3e2223fa4baf49896f1a58d0b73e02f5143b745d8deb71a01a6038b7994ce394 |
Pilot + sealed quantization row |
lfm2.5-1.2b-thinking-kodcode-q6_k.gguf |
962,842,976 | d1a14fa33fba75118c8262827bfcadc89d0c549d628ac243014df81a14d8f331 |
Pilot + sealed row; passed the predeclared deployment gate (โ1.59 pp vs merged BF16, no new failure class) |
Q5_K_M / Q4_K_M / Q2_K exist locally but were never benchmark rows and are not published.
Provenance
- Converted from the Hugging Face checkpoints with the pinned llama.cpp
toolchain (commit
3018a11e79e489b657dbb77c95694889ccff92df), offline, in restricted read-only containers. - Each quantization was produced independently from the validated BF16 reference โ never requantized from a quantized file.
- Conversion parity was gated per artifact (tokenizer output and first greedy token parity against the source checkpoint).
- Evaluated at 4,096-token context, F16 K/V cache, all layers on GPU,
--fit off, parallel 1.
Usage
llama-server --model lfm2.5-1.2b-thinking-kodcode-q6_k.gguf \
--ctx-size 4096 --n-gpu-layers all --flash-attn on \
--cache-type-k f16 --cache-type-v f16 --fit off --parallel 1 --offline
Prompting note from the evaluation: this fine-tune was trained to answer code requests directly without a reasoning trace. That formatting is clean, but on this benchmark it reduced correctness versus letting the base model think โ see the model card above before choosing an artifact.
License
CC BY-NC 4.0 โ inherited from the KodCode-V1-SFT-R1 training data used to produce the fine-tune rows. The upstream base model remains subject to its own Liquid AI license terms.
- Downloads last month
- -
6-bit
8-bit
16-bit
Model tree for enseven/lfm-2.5-think-code-GGUF
Base model
LiquidAI/LFM2.5-1.2B-Base