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"
Upload scripts/build-prism-llamacpp.sh for Caphlon-2 (4.52 GiB PTQ1_SB, 80.0% GPQA-D)
Browse files12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273#!/usr/bin/env bash# Caphlon-2 — One-command builder for PrismML llama.cpp + PTQ1_SB (type 144) CUDA/Metal/AVX2/NEON patch## Usage:# bash scripts/build-prism-llamacpp.sh [build_dir]# Environment overrides:# CUDA_ARCH=75 (set e.g. 75 for Turing T4, 80 for A100, 86/89 for RTX 30/40; auto-detected on macOS Metal)set -euo pipefail
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"PATCH_FILE="$REPO_ROOT/patches/prismll_ptq1_sb_cuda_metal.patch"PRISM_COMMIT="6447906bf96c1a023980d3453fb59daa6af3bb23"WORK_DIR="${1:-$REPO_ROOT/build-prism}"
if [ ! -f "$PATCH_FILE" ]; then echo "error: patch not found at $PATCH_FILE" >&2 exit 1fi
mkdir -p "$WORK_DIR"SRC_DIR="$WORK_DIR/llsrc"BLD_DIR="$WORK_DIR/llbuild"
if [ ! -d "$SRC_DIR" ]; then echo "== Downloading PrismML-Eng/llama.cpp ($PRISM_COMMIT) ==" mkdir -p "$SRC_DIR" curl -fsSL --retry 5 --http1.1 \ "https://codeload.github.com/PrismML-Eng/llama.cpp/tar.gz/$PRISM_COMMIT" \ -o "$WORK_DIR/prism_src.tar.gz" tar -xzf "$WORK_DIR/prism_src.tar.gz" -C "$SRC_DIR" --strip-components=1 git -C "$SRC_DIR" init -q git -C "$SRC_DIR" apply "$PATCH_FILE" echo "== Applied PTQ1_SB patch: $(shasum -a 256 "$PATCH_FILE" | awk '{print $1}') =="fi
CMAKE_ARGS=( -S "$SRC_DIR" -B "$BLD_DIR" -DCMAKE_BUILD_TYPE=Release -DLLAMA_CURL=OFF -DLLAMA_BUILD_UI=OFF -DLLAMA_USE_PREBUILT_UI=OFF)
OS_NAME="$(uname -s)"if [ "$OS_NAME" = "Darwin" ]; then echo "== Configuring for macOS (Apple Metal + ARM64 NEON / Accelerate) ==" CMAKE_ARGS+=(-DGGML_METAL=ON)else if command -v nvcc >/dev/null 2>&1 || [ -x /usr/local/cuda/bin/nvcc ]; then CUDA_ARCH="${CUDA_ARCH:-75}" echo "== Configuring for Linux CUDA (CMAKE_CUDA_ARCHITECTURES=$CUDA_ARCH + AVX2) ==" CMAKE_ARGS+=( -DGGML_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES="$CUDA_ARCH" -DGGML_AVX2=ON ) if [ -e /usr/lib/x86_64-linux-gnu/libcuda.so.1 ] && [ ! -e /usr/lib/x86_64-linux-gnu/libcuda.so ]; then sed -i 's|CUDA::cuda_driver|/usr/lib/x86_64-linux-gnu/libcuda.so.1|g' \ "$SRC_DIR/ggml/src/ggml-cuda/CMakeLists.txt" fi else echo "== Configuring for CPU (AVX2) ==" CMAKE_ARGS+=(-DGGML_AVX2=ON) fifi
cmake "${CMAKE_ARGS[@]}"JOBS="$(getconf _NPROCESSORS_ONLN 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || echo 4)"cmake --build "$BLD_DIR" --target llama-server llama-cli llama-perplexity llama-bench -j "$JOBS"
echo "== Build complete: binaries in $BLD_DIR/bin =="ls -lh "$BLD_DIR/bin/llama-server" "$BLD_DIR/bin/llama-cli" "$BLD_DIR/bin/llama-bench" "$BLD_DIR/bin/llama-perplexity"scripts/build-prism-llamacpp.shAdded+73