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/c01.html from HelioAI/LFM3-1.7B-inference-modules-experiments: direct link, hf CLI and curl.
- Browser
- Download file 1.89 kB
-
https://huggingface.co/HelioAI/LFM3-1.7B-inference-modules-experiments/resolve/main/research/data/visual/claude/c01.html
- Command line
-
hf download hf://HelioAI/LFM3-1.7B-inference-modules-experiments/research/data/visual/claude/c01.html
-
curl -L -o c01.html https://huggingface.co/HelioAI/LFM3-1.7B-inference-modules-experiments/resolve/main/research/data/visual/claude/c01.html
1.89 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Bouncing balls</title> | |
| <style>html,body{margin:0;height:100%;overflow:hidden;background:#0f1222} canvas{display:block}</style> | |
| </head> | |
| <body> | |
| <canvas id="c"></canvas> | |
| <script> | |
| const canvas = document.getElementById('c'); | |
| const ctx = canvas.getContext('2d'); | |
| let W, H; | |
| function resize() { W = canvas.width = innerWidth; H = canvas.height = innerHeight; } | |
| addEventListener('resize', resize); | |
| resize(); | |
| const G = 900, RESTITUTION = 0.86, FRICTION = 0.995; | |
| const balls = Array.from({ length: 20 }, (_, i) => { | |
| const r = 12 + Math.random() * 22; | |
| return { x: r + Math.random() * (W - 2 * r), y: r + Math.random() * H * 0.5, r, | |
| vx: (Math.random() - 0.5) * 500, vy: (Math.random() - 0.5) * 300, | |
| hue: Math.round(i * 360 / 20) }; | |
| }); | |
| let last = performance.now(); | |
| function step(now) { | |
| const dt = Math.min(0.033, (now - last) / 1000); | |
| last = now; | |
| ctx.fillStyle = 'rgba(15,18,34,0.35)'; | |
| ctx.fillRect(0, 0, W, H); | |
| for (const b of balls) { | |
| b.vy += G * dt; | |
| b.vx *= FRICTION; | |
| b.x += b.vx * dt; | |
| b.y += b.vy * dt; | |
| if (b.x - b.r < 0) { b.x = b.r; b.vx = -b.vx * RESTITUTION; } | |
| if (b.x + b.r > W) { b.x = W - b.r; b.vx = -b.vx * RESTITUTION; } | |
| if (b.y - b.r < 0) { b.y = b.r; b.vy = -b.vy * RESTITUTION; } | |
| if (b.y + b.r > H) { | |
| b.y = H - b.r; b.vy = -b.vy * RESTITUTION; | |
| if (Math.abs(b.vy) < 60) b.vy = -(500 + Math.random() * 400); // keep the scene alive | |
| } | |
| const g = ctx.createRadialGradient(b.x - b.r * 0.35, b.y - b.r * 0.35, b.r * 0.1, b.x, b.y, b.r); | |
| g.addColorStop(0, `hsl(${b.hue} 90% 80%)`); | |
| g.addColorStop(1, `hsl(${b.hue} 80% 50%)`); | |
| ctx.beginPath(); | |
| ctx.arc(b.x, b.y, b.r, 0, Math.PI * 2); | |
| ctx.fillStyle = g; | |
| ctx.fill(); | |
| } | |
| requestAnimationFrame(step); | |
| } | |
| requestAnimationFrame(step); | |
| </script> | |
| </body> | |
| </html> | |