Instructions to use embedme/lightonai-lateon-Q8_0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use embedme/lightonai-lateon-Q8_0 with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="embedme/lightonai-lateon-Q8_0", filename="LateOn-Q8_0.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use embedme/lightonai-lateon-Q8_0 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 embedme/lightonai-lateon-Q8_0:Q8_0 # Run inference directly in the terminal: llama cli -hf embedme/lightonai-lateon-Q8_0:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf embedme/lightonai-lateon-Q8_0:Q8_0 # Run inference directly in the terminal: llama cli -hf embedme/lightonai-lateon-Q8_0:Q8_0
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 embedme/lightonai-lateon-Q8_0:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf embedme/lightonai-lateon-Q8_0:Q8_0
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 embedme/lightonai-lateon-Q8_0:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf embedme/lightonai-lateon-Q8_0:Q8_0
Use Docker
docker model run hf.co/embedme/lightonai-lateon-Q8_0:Q8_0
- LM Studio
- Jan
- Ollama
How to use embedme/lightonai-lateon-Q8_0 with Ollama:
ollama run hf.co/embedme/lightonai-lateon-Q8_0:Q8_0
- Unsloth Studio
How to use embedme/lightonai-lateon-Q8_0 with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for embedme/lightonai-lateon-Q8_0 to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for embedme/lightonai-lateon-Q8_0 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for embedme/lightonai-lateon-Q8_0 to start chatting
- Atomic Chat new
- Docker Model Runner
How to use embedme/lightonai-lateon-Q8_0 with Docker Model Runner:
docker model run hf.co/embedme/lightonai-lateon-Q8_0:Q8_0
- Lemonade
How to use embedme/lightonai-lateon-Q8_0 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull embedme/lightonai-lateon-Q8_0:Q8_0
Run and chat with the model
lemonade run user.lightonai-lateon-Q8_0-Q8_0
List all available models
lemonade list
LateOn Q8_0 for litembeddings
A Q8_0 GGUF conversion of lightonai/LateOn, a 149M-parameter ModernBERT ColBERT retrieval model. This package is built for litembeddings and includes the model's complete three-stage PyLate projection folded into one 768-to-128 matrix.
Files
| File | Purpose | SHA-256 |
|---|---|---|
LateOn-Q8_0.gguf |
Q8_0 ModernBERT encoder | fe917ea8a55c97a847bbdac1d950053e6fa0fab7a571ae77cd39480198a15290 |
LateOn-Q8_0.projection |
Folded 768-to-128 PyLate projection | 3e7fd24683cbcde958448d2d7120d7f12d4d0abcb67bed47e19e7a3170a5fa0a |
Both files are required. The GGUF encoder alone produces 768-dimensional token vectors; litembeddings applies and normalizes the supplied projection to produce the model's intended 128-dimensional token vectors.
litembeddings usage
.load ./litembeddings
SELECT lembed_model(
'/path/to/LateOn-Q8_0.gguf',
json_object(
'colbert_projection', '/path/to/LateOn-Q8_0.projection',
'ctx_size', 300,
'batch_size', 300
)
);
-- Full-precision token vectors.
SELECT lembed_tokens('What is SQLite WAL mode?');
-- Compact int8 token vectors for storage and MaxSim search.
SELECT lembed_tokens_quantized('What is SQLite WAL mode?');
SELECT lembed_maxsim(
lembed_tokens('What is SQLite WAL mode?'),
lembed_tokens('WAL mode lets SQLite readers coexist with one writer.')
);
LateOn was trained for queries up to 32 tokens and documents up to 300 tokens. Use the same preprocessing and retrieval conventions as the source model when comparing quality results.
Conversion provenance
- Source:
lightonai/LateOn - Source revision:
c01907b70557ee5c7753680d4819a5cce1674b83 - Converted: 2026-07-14
- llama.cpp revision:
6eddde06a4f25d55d538b5d15628dcc2b6882147 - Quantization: Q8_0
- Projection:
W3 @ (W2 + R2) @ (W1 + R1), preserving both learned dimension-changing PyLate residuals
An end-to-end parity check against the source FP32 Transformers/PyLate pipeline produced per-token cosine similarity min=0.999883, mean=0.999951 for the validation text. Small differences are expected from Q8_0 quantization.
License and attribution
The source model is released under Apache 2.0. See the LateOn model card for training details, evaluation results, intended use, limitations, and citation information. This repository is an independent conversion and is not affiliated with LightOn.
- Downloads last month
- 18
8-bit
Model tree for embedme/lightonai-lateon-Q8_0
Base model
lightonai/LateOn