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/t02.html from HelioAI/LFM3-1.7B-inference-modules-experiments: direct link, hf CLI and curl.
- Browser
- Download file 3.53 kB
-
https://huggingface.co/HelioAI/LFM3-1.7B-inference-modules-experiments/resolve/main/research/data/visual/claude/t02.html
- Command line
-
hf download hf://HelioAI/LFM3-1.7B-inference-modules-experiments/research/data/visual/claude/t02.html
-
curl -L -o t02.html https://huggingface.co/HelioAI/LFM3-1.7B-inference-modules-experiments/resolve/main/research/data/visual/claude/t02.html
3.53 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Solar system</title> | |
| <style>html,body{margin:0;height:100%;overflow:hidden;background:#000}</style> | |
| <script type="importmap">{"imports": {"three": "https://unpkg.com/three@0.160.0/build/three.module.js", "three/addons/": "https://unpkg.com/three@0.160.0/examples/jsm/"}}</script> | |
| </head> | |
| <body> | |
| <script type="module"> | |
| import * as THREE from 'three'; | |
| const renderer = new THREE.WebGLRenderer({ antialias: true }); | |
| renderer.setSize(innerWidth, innerHeight); | |
| renderer.setPixelRatio(Math.min(devicePixelRatio, 2)); | |
| document.body.appendChild(renderer.domElement); | |
| const scene = new THREE.Scene(); | |
| const camera = new THREE.PerspectiveCamera(50, innerWidth / innerHeight, 0.1, 500); | |
| camera.position.set(0, 16, 26); | |
| camera.lookAt(0, 0, 0); | |
| // background stars | |
| const starGeo = new THREE.BufferGeometry(); | |
| const pos = new Float32Array(3000 * 3); | |
| for (let i = 0; i < pos.length; i++) pos[i] = (Math.random() - 0.5) * 400; | |
| starGeo.setAttribute('position', new THREE.BufferAttribute(pos, 3)); | |
| scene.add(new THREE.Points(starGeo, new THREE.PointsMaterial({ color: 0xffffff, size: 0.6, sizeAttenuation: true }))); | |
| // sun: emissive sphere + additive halo sprites + a point light | |
| const sun = new THREE.Mesh(new THREE.SphereGeometry(2.4, 48, 32), new THREE.MeshBasicMaterial({ color: 0xffd25e })); | |
| scene.add(sun); | |
| const haloTex = (() => { | |
| const c = document.createElement('canvas'); c.width = c.height = 128; | |
| const g = c.getContext('2d'), grd = g.createRadialGradient(64, 64, 0, 64, 64, 64); | |
| grd.addColorStop(0, 'rgba(255,220,120,1)'); grd.addColorStop(0.35, 'rgba(255,170,40,0.5)'); grd.addColorStop(1, 'rgba(255,120,0,0)'); | |
| g.fillStyle = grd; g.fillRect(0, 0, 128, 128); | |
| return new THREE.CanvasTexture(c); | |
| })(); | |
| const halo = new THREE.Sprite(new THREE.SpriteMaterial({ map: haloTex, blending: THREE.AdditiveBlending, depthWrite: false })); | |
| halo.scale.set(13, 13, 1); | |
| scene.add(halo); | |
| scene.add(new THREE.PointLight(0xfff1d0, 900, 0, 2)); | |
| scene.add(new THREE.AmbientLight(0x404060, 0.35)); | |
| function planet(radius, color, distance, speed) { | |
| const pivot = new THREE.Object3D(); | |
| scene.add(pivot); | |
| const mesh = new THREE.Mesh(new THREE.SphereGeometry(radius, 32, 24), new THREE.MeshStandardMaterial({ color, roughness: 0.8 })); | |
| mesh.position.x = distance; | |
| pivot.add(mesh); | |
| const ring = new THREE.Mesh(new THREE.RingGeometry(distance - 0.03, distance + 0.03, 128), | |
| new THREE.MeshBasicMaterial({ color: 0x334466, side: THREE.DoubleSide, transparent: true, opacity: 0.6 })); | |
| ring.rotation.x = -Math.PI / 2; | |
| scene.add(ring); | |
| pivot.rotation.y = Math.random() * Math.PI * 2; | |
| return { pivot, mesh, speed }; | |
| } | |
| const planets = [planet(0.55, 0xb7b0a6, 5, 1.2), planet(0.95, 0x3d7bd9, 9, 0.7), planet(0.75, 0xd2603a, 13.5, 0.45)]; | |
| // moon around the blue planet | |
| const moonPivot = new THREE.Object3D(); | |
| planets[1].mesh.add(moonPivot); | |
| const moon = new THREE.Mesh(new THREE.SphereGeometry(0.25, 24, 16), new THREE.MeshStandardMaterial({ color: 0xdddddd })); | |
| moon.position.x = 1.7; | |
| moonPivot.add(moon); | |
| addEventListener('resize', () => { | |
| camera.aspect = innerWidth / innerHeight; camera.updateProjectionMatrix(); renderer.setSize(innerWidth, innerHeight); | |
| }); | |
| const clock = new THREE.Clock(); | |
| renderer.setAnimationLoop(() => { | |
| const dt = clock.getDelta(); | |
| for (const p of planets) { p.pivot.rotation.y += p.speed * dt; p.mesh.rotation.y += dt; } | |
| moonPivot.rotation.y += 2.5 * dt; | |
| renderer.render(scene, camera); | |
| }); | |
| </script> | |
| </body> | |
| </html> | |