Instructions to use mertkayacs/Tholos-2B-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 mertkayacs/Tholos-2B-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 mertkayacs/Tholos-2B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mertkayacs/Tholos-2B-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 mertkayacs/Tholos-2B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mertkayacs/Tholos-2B-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 mertkayacs/Tholos-2B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf mertkayacs/Tholos-2B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mertkayacs/Tholos-2B-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use mertkayacs/Tholos-2B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "mertkayacs/Tholos-2B-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": "mertkayacs/Tholos-2B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/mertkayacs/Tholos-2B-GGUF:Q4_K_M
- Ollama
How to use mertkayacs/Tholos-2B-GGUF with Ollama:
ollama run hf.co/mertkayacs/Tholos-2B-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use mertkayacs/Tholos-2B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mertkayacs/Tholos-2B-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": "mertkayacs/Tholos-2B-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use mertkayacs/Tholos-2B-GGUF with Docker Model Runner:
docker model run hf.co/mertkayacs/Tholos-2B-GGUF:Q4_K_M
- Lemonade
How to use mertkayacs/Tholos-2B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mertkayacs/Tholos-2B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Tholos-2B-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use mertkayacs/Tholos-2B-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 mertkayacs/Tholos-2B-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 mertkayacs/Tholos-2B-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use mertkayacs/Tholos-2B-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mertkayacs/Tholos-2B-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 "mertkayacs/Tholos-2B-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"
Tholos-2B GGUF: local AI agents with Ollama and llama.cpp
This project is by Eschatia Labs, an independent non-profit open-source AI research lab.
GGUF builds of Tholos-2B, a small language model for AI agents that choose tools for tables, notes and tasks. Tholos-2B passes 137/160 scenarios; MiniCPM5-2B passes 112/160 on Tholos-Bench with Q4_K_M, llama.cpp JSON schema decoding and one Kaggle T4. Only Tholos-2B was fine-tuned for this task format.
Quick facts
| Item | Value |
|---|---|
| Quantized from | mertkayacs/Tholos-2B |
| Q4_K_M file size | 1.56 GB |
| Q8_0 file size | 2.68 GB |
| CPU passes (llama.cpp JSON schema) | 134/160 (MiniCPM5-2B: 117/160) |
| CPU passes (Ollama JSON mode) | 136/160 (MiniCPM5-2B: 96/160) |
| Injection scenarios passed (Kaggle T4) | 10/12 (MiniCPM5-2B: 8/12) |
| Hugging Face downloads | 374 (as of 2026-10-15) |
| GitHub stars | 1 |
Project links
- Project site
- Tholos GitHub repository
- Full-precision weights
- Training trajectories
- Benchmark
- Benchmark page
- Ollama library
Cite this
@techreport{kaya2026tholosreport,
author = {Kaya, Mert},
title = {Tholos-2B: Technical report},
institution = {Eschatia Labs},
year = {2026},
url = {https://eschatialabs.com/research/tholos-2b-report/},
note = {Technical report; peer review pending}
}
Run with Ollama
ollama pull hf.co/mertkayacs/Tholos-2B-GGUF:Q4_K_M && uv tool install git+https://github.com/mertkayacs/tholos && tholos
The same model is also in the Ollama library as mertkayacs/tholos-2b (ollama pull mertkayacs/tholos-2b).
Open http://127.0.0.1:7070, select Detect in Settings, then add the model. The repo's template and params preserve the trained prompt format, stop tokens and 16,384-token context.
Direct Ollama clients should request json_object mode and reasoning_effort: "none", then validate each step. Tholos does this for you and applies approval rules.
Run with llama.cpp
llama-server -hf mertkayacs/Tholos-2B-GGUF:Q4_K_M --jinja -c 16384 -t 4 -a tholos-2b --host 127.0.0.1 --port 8080
Use json_schema response format. The complete request shows the tool definitions, step schema and response loop.
Files
Use Q4_K_M to match the benchmark. SHA256SUMS records the checksums. File size is not total runtime RAM.
Results and limits
With Q4_K_M on a CPU, Tholos-2B passes 134/160 with llama.cpp JSON schema, against 117/160 for MiniCPM5-2B. With Ollama JSON mode and the repo template, the counts are 136/160 and 96/160. Compare results within one setup.
English only. The model learned Tholos's thirteen tools; other formats are unmeasured. Validate calls, treat external text as untrusted, and keep approvals enabled for consequential actions.
Apache-2.0. Full-precision weights, training and evaluation | Code | Kaggle | Project | Benchmark page.
An Eschatia Labs project. Mert Kaya.
- Downloads last month
- 435
4-bit
8-bit