Text Generation
GGUF
English
Turkish
caphlon
caphlon-2
qwen3.8
qwen3_5
bonsai
ternary
ptq1_sb
hadamard
llama.cpp
ollama
lightweight-llm
27b
gpqa
iti
conversational
Instructions to use ssuasd/Caphlon-2 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 ssuasd/Caphlon-2 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 ssuasd/Caphlon-2 # Run inference directly in the terminal: llama cli -hf ssuasd/Caphlon-2
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ssuasd/Caphlon-2 # Run inference directly in the terminal: llama cli -hf ssuasd/Caphlon-2
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 ssuasd/Caphlon-2 # Run inference directly in the terminal: ./build/bin/llama cli -hf ssuasd/Caphlon-2
Use Docker
docker model run hf.co/ssuasd/Caphlon-2
- Llama new
- LM Studio
- Jan
- vLLM
How to use ssuasd/Caphlon-2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ssuasd/Caphlon-2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ssuasd/Caphlon-2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ssuasd/Caphlon-2
- Ollama
How to use ssuasd/Caphlon-2 with Ollama:
ollama run hf.co/ssuasd/Caphlon-2
- Unsloth Desktop
- Pi
How to use ssuasd/Caphlon-2 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ssuasd/Caphlon-2
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": "ssuasd/Caphlon-2" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use ssuasd/Caphlon-2 with Docker Model Runner:
docker model run hf.co/ssuasd/Caphlon-2
- Lemonade
How to use ssuasd/Caphlon-2 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ssuasd/Caphlon-2
Run and chat with the model
lemonade run user.Caphlon-2-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use ssuasd/Caphlon-2 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ssuasd/Caphlon-2
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 ssuasd/Caphlon-2
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use ssuasd/Caphlon-2 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ssuasd/Caphlon-2
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 "ssuasd/Caphlon-2" \ --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 scripts/eval-en40.sh from ssuasd/Caphlon-2: direct link, hf CLI and curl.
- Browser
- Download file 1.11 kB
-
https://huggingface.co/ssuasd/Caphlon-2/resolve/main/scripts/eval-en40.sh
- Command line
-
hf download hf://ssuasd/Caphlon-2/scripts/eval-en40.sh
-
curl -L -o eval-en40.sh https://huggingface.co/ssuasd/Caphlon-2/resolve/main/scripts/eval-en40.sh
1.11 kB
| # Caphlon-2 — Perplexity & Speed verification protocol | |
| # | |
| # Usage: ./scripts/eval-en40.sh <Caphlon-2-27B-PTQ1_SB.gguf> [corpus.txt] | |
| # Verified Caphlon-2 (4.52 GiB PTQ1_SB) reference numbers (4x512 held-out): | |
| # English PPL (f16 KV / q8_0 KV) : 7.8556 / 7.8585 | |
| # Turkish PPL (f16 KV / q8_0 KV) : 6.8824 / 6.8789 | |
| # Tesla T4 speed (q8_0 KV, FA) : pp512 = 277.95 tok/s, pp64 = 86.68 tok/s, tg32 = 16.14 tok/s | |
| set -euo pipefail | |
| REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" | |
| MODEL="${1:?usage: eval-en40.sh <model.gguf> [corpus.txt]}" | |
| CORPUS="${2:-wiki.test.raw}" | |
| PPL_BIN="${LLAMA_PPL:-$REPO_ROOT/build-prism/llbuild/bin/llama-perplexity}" | |
| if ! command -v "$PPL_BIN" >/dev/null 2>&1 && [ ! -x "$PPL_BIN" ]; then | |
| PPL_BIN="llama-perplexity" | |
| fi | |
| if [ ! -f "$MODEL" ]; then echo "model not found: $MODEL" >&2; exit 1; fi | |
| if [ ! -f "$CORPUS" ]; then echo "corpus not found: $CORPUS" >&2; exit 1; fi | |
| exec "$PPL_BIN" \ | |
| -m "$MODEL" \ | |
| -f "$CORPUS" \ | |
| -c 512 \ | |
| --chunks "${CHUNKS:-4}" \ | |
| -ngl "${NGL:-99}" \ | |
| -t "${THREADS:-4}" \ | |
| --no-warmup \ | |
| -b 2048 -ub 512 | |