Text Generation
GGUF
English
lfm3
quantized
weight-space-programming
experimental
training-free
imatrix
conversational
Instructions to use NotCherry/LFM3-1.7B-ThinkExit-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 NotCherry/LFM3-1.7B-ThinkExit-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 NotCherry/LFM3-1.7B-ThinkExit-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf NotCherry/LFM3-1.7B-ThinkExit-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 NotCherry/LFM3-1.7B-ThinkExit-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf NotCherry/LFM3-1.7B-ThinkExit-GGUF:Q4_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 NotCherry/LFM3-1.7B-ThinkExit-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf NotCherry/LFM3-1.7B-ThinkExit-GGUF:Q4_K_M
Use Docker
docker model run hf.co/NotCherry/LFM3-1.7B-ThinkExit-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use NotCherry/LFM3-1.7B-ThinkExit-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "NotCherry/LFM3-1.7B-ThinkExit-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": "NotCherry/LFM3-1.7B-ThinkExit-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/NotCherry/LFM3-1.7B-ThinkExit-GGUF:Q4_K_M
- Ollama
How to use NotCherry/LFM3-1.7B-ThinkExit-GGUF with Ollama:
ollama run hf.co/NotCherry/LFM3-1.7B-ThinkExit-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use NotCherry/LFM3-1.7B-ThinkExit-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf NotCherry/LFM3-1.7B-ThinkExit-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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "NotCherry/LFM3-1.7B-ThinkExit-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use NotCherry/LFM3-1.7B-ThinkExit-GGUF with Docker Model Runner:
docker model run hf.co/NotCherry/LFM3-1.7B-ThinkExit-GGUF:Q4_K_M
- Lemonade
How to use NotCherry/LFM3-1.7B-ThinkExit-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull NotCherry/LFM3-1.7B-ThinkExit-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.LFM3-1.7B-ThinkExit-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use NotCherry/LFM3-1.7B-ThinkExit-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 NotCherry/LFM3-1.7B-ThinkExit-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:9931/v1 hermes config set model.default NotCherry/LFM3-1.7B-ThinkExit-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use NotCherry/LFM3-1.7B-ThinkExit-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf NotCherry/LFM3-1.7B-ThinkExit-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:9931/v1 \ --custom-model-id "NotCherry/LFM3-1.7B-ThinkExit-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"
Download weight_edit.json from NotCherry/LFM3-1.7B-ThinkExit-GGUF: direct link, hf CLI and curl.
- Browser
- Download file 1.08 kB
-
https://huggingface.co/NotCherry/LFM3-1.7B-ThinkExit-GGUF/resolve/main/weight_edit.json
- Command line
-
hf download hf://NotCherry/LFM3-1.7B-ThinkExit-GGUF/weight_edit.json
-
curl -L -o weight_edit.json https://huggingface.co/NotCherry/LFM3-1.7B-ThinkExit-GGUF/resolve/main/weight_edit.json
1.08 kB
| { | |
| "source": "LFM3-1.7B-Uncensored-AD-Q4_K_M.gguf", | |
| "source_sha256": "b22df65673b54ed326f18f74826d76f3b65dadc237ffd6306cd52be04544827d", | |
| "destination": "LFM3-1.7B-output-exit-1.50-Q4_K_M.gguf", | |
| "sha256": "2ff59a7013c6608fa3dc643e053964f57c9585cdd8532330d3b0583ae2628acc", | |
| "method": "output_only_think_exit", | |
| "factor": 1.5, | |
| "token": "</think>", | |
| "token_id": 124902, | |
| "added_tensor": "output.weight", | |
| "original_tensor_payloads_unchanged": true, | |
| "input_embedding_unchanged": true, | |
| "additional_tensor_bytes": 215040000, | |
| "changed_output_row_bytes": 10, | |
| "original_scales": [ | |
| -1.8358230590820312e-05, | |
| -1.8537044525146484e-05, | |
| 1.5974044799804688e-05, | |
| -1.6927719116210938e-05, | |
| -1.3947486877441406e-05, | |
| 1.2576580047607422e-05, | |
| 1.6033649444580078e-05, | |
| -1.5676021575927734e-05 | |
| ], | |
| "edited_scales": [ | |
| -2.753734588623047e-05, | |
| -2.777576446533203e-05, | |
| 2.396106719970703e-05, | |
| -2.5391578674316406e-05, | |
| -2.092123031616211e-05, | |
| 1.8835067749023438e-05, | |
| 2.4080276489257812e-05, | |
| -2.3484230041503906e-05 | |
| ] | |
| } |