Safetensors
GGUF
English
Russian
lfm3
reasoning
test-time-compute
inference-time-scaling
code-generation
llama.cpp
negative-results
conversational
Instructions to use HelioAI/LFM3-1.7B-inference-modules-experiments 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 HelioAI/LFM3-1.7B-inference-modules-experiments 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 HelioAI/LFM3-1.7B-inference-modules-experiments:Q5_K_M # Run inference directly in the terminal: llama cli -hf HelioAI/LFM3-1.7B-inference-modules-experiments:Q5_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf HelioAI/LFM3-1.7B-inference-modules-experiments:Q5_K_M # Run inference directly in the terminal: llama cli -hf HelioAI/LFM3-1.7B-inference-modules-experiments:Q5_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf HelioAI/LFM3-1.7B-inference-modules-experiments:Q5_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf HelioAI/LFM3-1.7B-inference-modules-experiments:Q5_K_M
Use Docker
docker model run hf.co/HelioAI/LFM3-1.7B-inference-modules-experiments:Q5_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use HelioAI/LFM3-1.7B-inference-modules-experiments with Ollama:
ollama run hf.co/HelioAI/LFM3-1.7B-inference-modules-experiments:Q5_K_M
- Unsloth Desktop
- Pi
How to use HelioAI/LFM3-1.7B-inference-modules-experiments with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf HelioAI/LFM3-1.7B-inference-modules-experiments:Q5_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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "HelioAI/LFM3-1.7B-inference-modules-experiments:Q5_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use HelioAI/LFM3-1.7B-inference-modules-experiments with Docker Model Runner:
docker model run hf.co/HelioAI/LFM3-1.7B-inference-modules-experiments:Q5_K_M
- Lemonade
How to use HelioAI/LFM3-1.7B-inference-modules-experiments with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull HelioAI/LFM3-1.7B-inference-modules-experiments:Q5_K_M
Run and chat with the model
lemonade run user.LFM3-1.7B-inference-modules-experiments-Q5_K_M
List all available models
lemonade list
- Hermes Agent
How to use HelioAI/LFM3-1.7B-inference-modules-experiments with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf HelioAI/LFM3-1.7B-inference-modules-experiments:Q5_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:9931/v1 hermes config set model.default HelioAI/LFM3-1.7B-inference-modules-experiments:Q5_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use HelioAI/LFM3-1.7B-inference-modules-experiments with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf HelioAI/LFM3-1.7B-inference-modules-experiments:Q5_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:9931/v1 \ --custom-model-id "HelioAI/LFM3-1.7B-inference-modules-experiments:Q5_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"
Download research/data/visual/claude/c06.html from HelioAI/LFM3-1.7B-inference-modules-experiments: direct link, hf CLI and curl.
- Browser
- Download file 1.78 kB
-
https://huggingface.co/HelioAI/LFM3-1.7B-inference-modules-experiments/resolve/main/research/data/visual/claude/c06.html
- Command line
-
hf download hf://HelioAI/LFM3-1.7B-inference-modules-experiments/research/data/visual/claude/c06.html
-
curl -L -o c06.html https://huggingface.co/HelioAI/LFM3-1.7B-inference-modules-experiments/resolve/main/research/data/visual/claude/c06.html
1.78 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Fractal tree</title> | |
| <style>html,body{margin:0;height:100%;overflow:hidden} body{background:linear-gradient(#e8f1f8,#f7f3e8)} canvas{display:block}</style> | |
| </head> | |
| <body> | |
| <canvas id="c"></canvas> | |
| <script> | |
| const canvas = document.getElementById('c'); | |
| const ctx = canvas.getContext('2d'); | |
| const W = canvas.width = innerWidth, H = canvas.height = innerHeight; | |
| const DEPTH = 11; | |
| // deterministic pseudo-random so the tree looks the same on every load | |
| let seed = 7; | |
| const rand = () => (seed = (seed * 16807) % 2147483647) / 2147483647; | |
| function lerp(a, b, t) { return a + (b - a) * t; } | |
| function colour(level) { // brown trunk -> green tips | |
| const t = level / DEPTH; | |
| return `rgb(${Math.round(lerp(92, 70, t))}, ${Math.round(lerp(58, 160, t))}, ${Math.round(lerp(30, 60, t))})`; | |
| } | |
| function branch(x, y, len, angle, level) { | |
| const x2 = x + Math.cos(angle) * len, y2 = y + Math.sin(angle) * len; | |
| ctx.strokeStyle = colour(level); | |
| ctx.lineWidth = Math.max(0.6, (DEPTH - level + 1) ** 1.45 * 0.55); | |
| ctx.beginPath(); | |
| ctx.moveTo(x, y); | |
| ctx.lineTo(x2, y2); | |
| ctx.stroke(); | |
| if (level === DEPTH) { | |
| ctx.fillStyle = `rgba(${90 + rand() * 60}, ${170 + rand() * 50}, 80, 0.55)`; | |
| ctx.beginPath(); | |
| ctx.arc(x2, y2, 2.5 + rand() * 2.5, 0, Math.PI * 2); | |
| ctx.fill(); | |
| return; | |
| } | |
| const spread = 0.32 + rand() * 0.18; | |
| branch(x2, y2, len * (0.72 + rand() * 0.08), angle - spread, level + 1); | |
| branch(x2, y2, len * (0.72 + rand() * 0.08), angle + spread, level + 1); | |
| } | |
| ctx.lineCap = 'round'; | |
| ctx.fillStyle = 'rgba(90,70,40,0.25)'; | |
| ctx.beginPath(); | |
| ctx.ellipse(W / 2, H - 24, 160, 14, 0, 0, Math.PI * 2); | |
| ctx.fill(); | |
| branch(W / 2, H - 24, H * 0.2, -Math.PI / 2, 0); | |
| </script> | |
| </body> | |
| </html> | |