Instructions to use mradermacher/LFM2.5-350M-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/LFM2.5-350M-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/LFM2.5-350M-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mradermacher/LFM2.5-350M-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 mradermacher/LFM2.5-350M-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/LFM2.5-350M-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 mradermacher/LFM2.5-350M-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/LFM2.5-350M-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 mradermacher/LFM2.5-350M-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mradermacher/LFM2.5-350M-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 mradermacher/LFM2.5-350M-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mradermacher/LFM2.5-350M-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/LFM2.5-350M-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use mradermacher/LFM2.5-350M-GGUF with Ollama:
ollama run hf.co/mradermacher/LFM2.5-350M-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use mradermacher/LFM2.5-350M-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mradermacher/LFM2.5-350M-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": "mradermacher/LFM2.5-350M-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use mradermacher/LFM2.5-350M-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/LFM2.5-350M-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/LFM2.5-350M-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/LFM2.5-350M-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.LFM2.5-350M-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use mradermacher/LFM2.5-350M-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 mradermacher/LFM2.5-350M-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 mradermacher/LFM2.5-350M-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use mradermacher/LFM2.5-350M-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mradermacher/LFM2.5-350M-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 "mradermacher/LFM2.5-350M-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"
uploaded from leia
Browse files- .gitattributes +12 -0
- LFM2.5-350M.IQ4_XS.gguf +3 -0
- LFM2.5-350M.Q2_K.gguf +3 -0
- LFM2.5-350M.Q3_K_L.gguf +3 -0
- LFM2.5-350M.Q3_K_M.gguf +3 -0
- LFM2.5-350M.Q3_K_S.gguf +3 -0
- LFM2.5-350M.Q4_K_M.gguf +3 -0
- LFM2.5-350M.Q4_K_S.gguf +3 -0
- LFM2.5-350M.Q5_K_M.gguf +3 -0
- LFM2.5-350M.Q5_K_S.gguf +3 -0
- LFM2.5-350M.Q6_K.gguf +3 -0
- LFM2.5-350M.Q8_0.gguf +3 -0
- LFM2.5-350M.f16.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,15 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
LFM2.5-350M.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
LFM2.5-350M.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
LFM2.5-350M.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
LFM2.5-350M.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
LFM2.5-350M.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
LFM2.5-350M.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
LFM2.5-350M.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
LFM2.5-350M.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
LFM2.5-350M.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
LFM2.5-350M.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
LFM2.5-350M.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
LFM2.5-350M.f16.gguf filter=lfs diff=lfs merge=lfs -text
|
LFM2.5-350M.IQ4_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1ec679433960bf33a73d1f53f6865c62c6b1a44f762a68aa6f602979b2af6660
|
| 3 |
+
size 211806368
|
LFM2.5-350M.Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:49b4c59505165f26f1dedba6b01aa74ff91c88adbb2fd788da5e39ec739903cf
|
| 3 |
+
size 160598176
|
LFM2.5-350M.Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e9e7e343933c53c4365d41cf4b0f52e760aa9dd07966c921c3677620b63ccba2
|
| 3 |
+
size 203049120
|
LFM2.5-350M.Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:27be59f4ae487643c8d9de983b4c76eb22be59a780c8a64042d8e11c05afce5b
|
| 3 |
+
size 193153184
|
LFM2.5-350M.Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c9b61746eaa909d3287b59bfcc739a076498175930a4b6372cdbcb873de2bce
|
| 3 |
+
size 181151904
|
LFM2.5-350M.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4849be943022fcf833faf98d00094f46b8954906ac7ab5e2cf909757d6855083
|
| 3 |
+
size 229312672
|
LFM2.5-350M.Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3de80d5045fd80a0df98623ef8f74b0245f3b160a1ef505694a7ddeb087074cf
|
| 3 |
+
size 220752032
|
LFM2.5-350M.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d1a22c8e243a370b89be19c45e958ce3dca79f3fa82daf0d53dd13d38d5f67f1
|
| 3 |
+
size 260376736
|
LFM2.5-350M.Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a9f89168939d6bec1b0d11f54a8bea80dcec385833e0537cfdad0737382100f
|
| 3 |
+
size 255223968
|
LFM2.5-350M.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c06aa20b757bab2836e0f8b8b7ba3a10bfd2e431c5150ac764ca94157be37015
|
| 3 |
+
size 293382304
|
LFM2.5-350M.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:181f0a423496d76fa378bdf5682043864faad0b668849d8c323e6f54a6f83f94
|
| 3 |
+
size 379218080
|
LFM2.5-350M.f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:74f880e93970a14d0eb075a09484f4a5d6ce6db3b4114f7a3bc54af838b5025a
|
| 3 |
+
size 711485600
|