Instructions to use lthn/lemer-lite with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use lthn/lemer-lite with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("lthn/lemer-lite") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- LM Studio
- Pi new
How to use lthn/lemer-lite with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "lthn/lemer-lite"
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "lthn/lemer-lite" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use lthn/lemer-lite with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "lthn/lemer-lite"
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 lthn/lemer-lite
Run Hermes
hermes
- MLX LM
How to use lthn/lemer-lite with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "lthn/lemer-lite"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "lthn/lemer-lite" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "lthn/lemer-lite", "messages": [ {"role": "user", "content": "Hello"} ] }'
Lemer-Lite — text-only, 2.5 GB, fits iPhone base
Stripped-down sibling of lthn/lemer for devices that can't load the full multimodal build (≥3 GB ceiling).
| Variant | Size | Towers |
|---|---|---|
| lthn/lemer | 4.06 GB | text + vision + audio |
| lthn/lemer-lite (you are here) | 2.47 GB | text only |
What it is
Same LEK-aligned Gemma 4 E2B base as lemer, with vision and audio towers stripped and the text path quantised flat 4-bit (4.501 bits/weight) instead of mixed-precision.
The Lethean Ethical Kernel (LEK) is fully present in the weights — the consent-based reasoning behaviour is identical to the full lemer.
Trade-offs (the honest version)
This is a best-effort tier for users on smaller devices. The -lite prefix is a promise: we are packing this tight, results will vary, but you get to load and run the model.
- Text only — no image input, no audio input. If your use case needs eyes, run the full lemer on a Pro-class device.
- Flat Q4 instead of mixed-precision Q4 — fluency is solid, rare-token recall slightly worse than the full lemer.
- Same LEK alignment — the ethical reasoning is in the text path, which is preserved.
Targets
- iPhone base (≥3 GB free), iPad, base-spec Apple Silicon laptops.
- Anywhere the full 4 GB lemer would refuse to load.
Loading
from mlx_lm import load, generate
model, tokenizer = load("lthn/lemer-lite")
prompt = tokenizer.apply_chat_template(
[{"role": "user", "content": "Hello"}],
tokenize=False, add_generation_prompt=True,
)
print(generate(model, tokenizer, prompt=prompt, max_tokens=200))
License
EUPL-1.2.
- Downloads last month
- 13
4-bit
Model tree for lthn/lemer-lite
Base model
google/gemma-4-E2B