Instructions to use lthn/lemrd 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 lthn/lemrd 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 lthn/lemrd:Q4_K_M # Run inference directly in the terminal: llama cli -hf lthn/lemrd:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf lthn/lemrd:Q4_K_M # Run inference directly in the terminal: llama cli -hf lthn/lemrd: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 lthn/lemrd:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf lthn/lemrd:Q4_K_M
Use Docker
docker model run hf.co/lthn/lemrd:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use lthn/lemrd with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "lthn/lemrd" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "lthn/lemrd", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/lthn/lemrd:Q4_K_M
- Ollama
How to use lthn/lemrd with Ollama:
ollama run hf.co/lthn/lemrd:Q4_K_M
- Unsloth Desktop
- Pi
How to use lthn/lemrd with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf lthn/lemrd: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": "lthn/lemrd:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use lthn/lemrd with Docker Model Runner:
docker model run hf.co/lthn/lemrd:Q4_K_M
- Lemonade
How to use lthn/lemrd with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull lthn/lemrd:Q4_K_M
Run and chat with the model
lemonade run user.lemrd-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use lthn/lemrd with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf lthn/lemrd: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 lthn/lemrd:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use lthn/lemrd with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf lthn/lemrd: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 "lthn/lemrd: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"
Replace bf16 with Q4 MLX — consumer-ready quantisation
Browse filesFiles changed (14)
- config.json+10
- model-00001-of-00012.safetensors → model-00001-of-00004.safetensorsRenamed+2-2
- model-00002-of-00012.safetensors → model-00002-of-00004.safetensorsRenamed+2-2
- model-00003-of-00012.safetensors → model-00003-of-00004.safetensorsRenamed+2-2
- model-00004-of-00012.safetensors → model-00004-of-00004.safetensorsRenamed+2-2
- model-00005-of-00012.safetensorsDeleted-3
- model-00006-of-00012.safetensorsDeleted-3
- model-00007-of-00012.safetensorsDeleted-3
- model-00008-of-00012.safetensorsDeleted-3
- model-00009-of-00012.safetensorsDeleted-3
- model-00010-of-00012.safetensorsDeleted-3
- model-00011-of-00012.safetensorsDeleted-3
- model-00012-of-00012.safetensorsDeleted-3
- model.safetensors.index.json
17 unmodified lines18192021222317 unmodified lines"image_token_id": 258880,"initializer_range": 0.02,"model_type": "gemma4","text_config": {"attention_bias": false,"attention_dropout": 0.0,17 unmodified lines1819202122232425262728293031323317 unmodified lines"image_token_id": 258880,"initializer_range": 0.02,"model_type": "gemma4","quantization": {"group_size": 64,"bits": 4,"mode": "affine"},"quantization_config": {"group_size": 64,"bits": 4,"mode": "affine"},"text_config": {"attention_bias": false,"attention_dropout": 0.0,
123version https://git-lfs.github.com/spec/v1oid sha256:462ed563d4cbf840aba9ff33fc90f264cd84802b086390316997629e6b8495aesize 5229866535123version https://git-lfs.github.com/spec/v1oid sha256:56d3c9369c48dc4f89afa4746fcc9c32f184d6a2471dd57d83fdf3211fd7889dsize 5366617512
123version https://git-lfs.github.com/spec/v1oid sha256:a3a51f95fc25992817ce12c27a8514642c7546fd54473eb744819e9b9c4d4967size 5362167404123version https://git-lfs.github.com/spec/v1oid sha256:4ae88f3ac4ceb64dd129de643570875baf5ee8a6cc0ec21bf9fd7a060a7625b9size 5361642573
123version https://git-lfs.github.com/spec/v1oid sha256:4af3b05a75840c7ec9132961add6da894e785f2eb7637ae8be0dd4eb2e3c15afsize 5163944494123version https://git-lfs.github.com/spec/v1oid sha256:2d206c897deaa7585ac6393e4a27dd17024e064121d55deaa906c0c839a2162dsize 5367276094
123version https://git-lfs.github.com/spec/v1oid sha256:85ede963d97f0d2603f0330e9480403f210a9c756d04078e8f1e05e7109d7ce2size 5362123860123version https://git-lfs.github.com/spec/v1oid sha256:9893d5a09967478543422e055a5cb2df652d14ebdf8ff24c6ae7e03f2738778bsize 1173848301
123version https://git-lfs.github.com/spec/v1oid sha256:b385ca3b7485c52aa8fe05e6120ce264ce2032ad1626d9dea2312916fda5f96dsize 5307117538123version https://git-lfs.github.com/spec/v1oid sha256:02ab7a3ba5d1050d32048764e35d1c81e82b8bd7d0487c9e1e1910bd11441477size 5218994488123version https://git-lfs.github.com/spec/v1oid sha256:8a804a6e92a51b7c52b0a3d0df9599c493197d91c0f7e6828060c58d08cbad34size 5252066087123version https://git-lfs.github.com/spec/v1oid sha256:a78c0fe9d06cbeaeb01f1394c7da905926a3dfa7644ee37a29a9c7e534fa82adsize 5163944506123version https://git-lfs.github.com/spec/v1oid sha256:fbe5fa924b7675c7443fe62609da02a648dbad8468077f04d578cb592406a8a2size 5362123852123version https://git-lfs.github.com/spec/v1oid sha256:44b39b35c0198a2cc0f54a62f1308b39920f43ca89f6bc6402f88b0962a62857size 5307117526123version https://git-lfs.github.com/spec/v1oid sha256:bcdfb5e62f1f8400d68c0412de162fe5acc854e8956d26f5dc1a9bb090f8c344size 5218994502123version https://git-lfs.github.com/spec/v1oid sha256:5ee556e4915e48186c43eb815eeffc54fb9f1f5a9517eb990a199c6ab4c412efsize 3446338270config.json+10
model-00001-of-00012.safetensors → model-00001-of-00004.safetensorsRenamed+2-2
model-00002-of-00012.safetensors → model-00002-of-00004.safetensorsRenamed+2-2
model-00003-of-00012.safetensors → model-00003-of-00004.safetensorsRenamed+2-2
model-00004-of-00012.safetensors → model-00004-of-00004.safetensorsRenamed+2-2
model-00005-of-00012.safetensorsDeleted-3
model-00006-of-00012.safetensorsDeleted-3
model-00007-of-00012.safetensorsDeleted-3
model-00008-of-00012.safetensorsDeleted-3
model-00009-of-00012.safetensorsDeleted-3
model-00010-of-00012.safetensorsDeleted-3
model-00011-of-00012.safetensorsDeleted-3
model-00012-of-00012.safetensorsDeleted-3
model.safetensors.index.json