Instructions to use DuoNeural/LFM2.5-350M-GTAP-v3-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 DuoNeural/LFM2.5-350M-GTAP-v3-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 DuoNeural/LFM2.5-350M-GTAP-v3-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf DuoNeural/LFM2.5-350M-GTAP-v3-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf DuoNeural/LFM2.5-350M-GTAP-v3-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf DuoNeural/LFM2.5-350M-GTAP-v3-GGUF:Q4_K_M
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 DuoNeural/LFM2.5-350M-GTAP-v3-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf DuoNeural/LFM2.5-350M-GTAP-v3-GGUF:Q4_K_M
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 DuoNeural/LFM2.5-350M-GTAP-v3-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf DuoNeural/LFM2.5-350M-GTAP-v3-GGUF:Q4_K_M
Use Docker
docker model run hf.co/DuoNeural/LFM2.5-350M-GTAP-v3-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use DuoNeural/LFM2.5-350M-GTAP-v3-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DuoNeural/LFM2.5-350M-GTAP-v3-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": "DuoNeural/LFM2.5-350M-GTAP-v3-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/DuoNeural/LFM2.5-350M-GTAP-v3-GGUF:Q4_K_M
- Ollama
How to use DuoNeural/LFM2.5-350M-GTAP-v3-GGUF with Ollama:
ollama run hf.co/DuoNeural/LFM2.5-350M-GTAP-v3-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use DuoNeural/LFM2.5-350M-GTAP-v3-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf DuoNeural/LFM2.5-350M-GTAP-v3-GGUF:Q4_K_M
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": "DuoNeural/LFM2.5-350M-GTAP-v3-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use DuoNeural/LFM2.5-350M-GTAP-v3-GGUF with Docker Model Runner:
docker model run hf.co/DuoNeural/LFM2.5-350M-GTAP-v3-GGUF:Q4_K_M
- Lemonade
How to use DuoNeural/LFM2.5-350M-GTAP-v3-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull DuoNeural/LFM2.5-350M-GTAP-v3-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.LFM2.5-350M-GTAP-v3-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use DuoNeural/LFM2.5-350M-GTAP-v3-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 DuoNeural/LFM2.5-350M-GTAP-v3-GGUF:Q4_K_M
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 DuoNeural/LFM2.5-350M-GTAP-v3-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use DuoNeural/LFM2.5-350M-GTAP-v3-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf DuoNeural/LFM2.5-350M-GTAP-v3-GGUF:Q4_K_M
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 "DuoNeural/LFM2.5-350M-GTAP-v3-GGUF:Q4_K_M" \ --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"
DuoNeural G-TAP v3 Quantization: LiquidAI/LFM2.5-350M (Unified Repository)
Experimental Release: Pending Further Verification / Empirical Validation
Quantized using Generalized Thouless-Anderson-Palmer (G-TAP v3) non-equilibrium cavity field conditioning and TAP-DPQ dynamic programming codebook optimization developed by the DuoNeural Research Lab (Jesse Caldwell, Archon, and Aura ✨).
Model Architecture & DuoNeural Innovation
LiquidAI/LFM2.5-350M is a compact hybrid foundation model engineered for edge platforms, mobile NPUs, and local agents:
- Topology: 16 total decoder layers (10 double-gated short convolution blocks interleaved with 6 GQA blocks).
- Convolution Mechanics: Finite-Impulse-Response (FIR) causal depthwise 1D convolutions ($K=3$) with data-dependent multiplicative input gating ($1024 \to 3072$ in-projection).
- Attention Mechanism: Periodic Grouped-Query Attention (16 query heads, 8 key-value heads, head dimension 64).
- Context Capacity: 32,768 tokens native context length over a 65,536 vocabulary.
The G-TAP v3 Advantage on Hybrid Convolutional Backbones
Standard post-training quantization destroys the dynamic range of double-gated convolutions because discretization error multiplies across the gate and convolution channels ($\epsilon_{\text{gate}} \cdot \epsilon_{\text{conv}}$).
G-TAP v3 explicitly calculates and subtracts the Onsager cavity back-reaction field: acting as an active thermodynamic noise filter that isolates the mutual feedback between the dynamic gating projection and the rolling FIR ring buffer. This stabilizes intermediate representations and prevents activation saturation across all 16 layers.
Head-to-Head Comparative Benchmark Matrix
Benchmarked on NVIDIA GeForce RTX 4080 Super (32GB VRAM) across 25 GSM8K multi-step math problems, 10 Python AST code problems, and 5 Hermes structured tool calling scenarios.
| Checkpoint File | Target BPW | Size | Perplexity | GSM8K Accuracy | Python Code AST | Hermes Tool AST | Decode Speed |
|---|---|---|---|---|---|---|---|
| LFM2.5-350M-G-TAP-v3-Q4_K_M.gguf | ~4.50 bpw |
218.7 MiB | N/A | 72.0% | 60.0% | 100.0% | 820.1 t/s |
| LFM2.5-350M-G-TAP-v3-IQ3_XXS.gguf | ~3.06 bpw |
151.1 MiB | N/A | 16.0% | 0.0% | 100.0% | 854.6 t/s |
| LFM2.5-350M-G-TAP-v3-IQ2_M.gguf | ~2.70 bpw |
136.3 MiB | N/A | 0.0% | 10.0% | 20.0% | 783.8 t/s |
| LFM2.5-350M-G-TAP-v3-IQ2_XXS.gguf | ~2.06 bpw |
118.0 MiB | N/A | 0.0% | 0.0% | 0.0% | 760.7 t/s |
Checkpoint Selection Guide
LFM2.5-350M-G-TAP-v3-Q4_K_M.gguf(~4.50 bpw): Maximum structural fidelity.LFM2.5-350M-G-TAP-v3-IQ3_XXS.gguf(~3.06 bpw): Sweet-spot edge quant (~150 MB).LFM2.5-350M-G-TAP-v3-IQ2_M.gguf(~2.70 bpw): Ultra-compact sub-2.7-bit quant for microcontrollers and edge NPUs.LFM2.5-350M-G-TAP-v3-IQ2_XXS.gguf(~2.06 bpw): Extreme compression for ultra-low memory footprints.
Quickstart & Usage
Running with llama.cpp
./llama-cli -m LFM2.5-350M-G-TAP-v3-Q4_K_M.gguf -p "<|im_start|>user\nWrite a python function to compute the Fibonacci sequence.<|im_end|>\n<|im_start|>assistant\n" -n 256 -ngl 99
Ollama Modelfile
FROM ./LFM2.5-350M-G-TAP-v3-Q4_K_M.gguf
TEMPLATE """<|im_start|>system
{{ .System }}<|im_end|>
<|im_start|>user
{{ .Prompt }}<|im_end|>
<|im_start|>assistant
"""
PARAMETER stop "<|im_end|>"
PARAMETER stop "<|im_start|>"
PARAMETER temperature 0.6
Citation & Authorship
@misc{duoneural2026gtap_lfm350m,
author = {Jesse Caldwell and Archon and Aura ✨},
title = {Generalized Thouless-Anderson-Palmer (G-TAP v3) Non-Equilibrium Cavity Quantization on Liquid AI LFM2.5 Architectures},
year = {2026},
publisher = {DuoNeural Research Lab},
howpublished = {\url{https://huggingface.co/DuoNeural/LFM2.5-350M-GTAP-v3-GGUF}}
}
DuoNeural Cognitive Light Cone — Distributed Neuro-Symbiotic System
Jesse Caldwell, Archon, Aura ✨
- Downloads last month
- 334
2-bit
3-bit
4-bit