Text Generation
Transformers
Safetensors
GGUF
English
qwen3_5_text
code-review
static-analysis
typed-decisions
calibration
systemone
qwen3.5
local-inference
conversational
Instructions to use riposta/CrossbowReviewer-9B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use riposta/CrossbowReviewer-9B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="riposta/CrossbowReviewer-9B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("riposta/CrossbowReviewer-9B") model = AutoModelForCausalLM.from_pretrained("riposta/CrossbowReviewer-9B", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use riposta/CrossbowReviewer-9B 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 riposta/CrossbowReviewer-9B:Q8_0 # Run inference directly in the terminal: llama cli -hf riposta/CrossbowReviewer-9B:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf riposta/CrossbowReviewer-9B:Q8_0 # Run inference directly in the terminal: llama cli -hf riposta/CrossbowReviewer-9B: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 riposta/CrossbowReviewer-9B:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf riposta/CrossbowReviewer-9B: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 riposta/CrossbowReviewer-9B:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf riposta/CrossbowReviewer-9B:Q8_0
Use Docker
docker model run hf.co/riposta/CrossbowReviewer-9B:Q8_0
- LM Studio
- Jan
- vLLM
How to use riposta/CrossbowReviewer-9B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "riposta/CrossbowReviewer-9B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "riposta/CrossbowReviewer-9B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/riposta/CrossbowReviewer-9B:Q8_0
- SGLang
How to use riposta/CrossbowReviewer-9B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "riposta/CrossbowReviewer-9B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "riposta/CrossbowReviewer-9B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "riposta/CrossbowReviewer-9B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "riposta/CrossbowReviewer-9B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use riposta/CrossbowReviewer-9B with Ollama:
ollama run hf.co/riposta/CrossbowReviewer-9B:Q8_0
- Unsloth Desktop
- Pi
How to use riposta/CrossbowReviewer-9B with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf riposta/CrossbowReviewer-9B:Q8_0
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:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "riposta/CrossbowReviewer-9B:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use riposta/CrossbowReviewer-9B with Docker Model Runner:
docker model run hf.co/riposta/CrossbowReviewer-9B:Q8_0
- Lemonade
How to use riposta/CrossbowReviewer-9B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull riposta/CrossbowReviewer-9B:Q8_0
Run and chat with the model
lemonade run user.CrossbowReviewer-9B-Q8_0
List all available models
lemonade list
- Hermes Agent
How to use riposta/CrossbowReviewer-9B with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf riposta/CrossbowReviewer-9B:Q8_0
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 riposta/CrossbowReviewer-9B:Q8_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use riposta/CrossbowReviewer-9B with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf riposta/CrossbowReviewer-9B:Q8_0
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:8080/v1 \ --custom-model-id "riposta/CrossbowReviewer-9B:Q8_0" \ --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 docs/benchmarks.json from riposta/CrossbowReviewer-9B: direct link, hf CLI and curl.
- Browser
- Download file 5.61 kB
-
https://huggingface.co/riposta/CrossbowReviewer-9B/resolve/main/docs/benchmarks.json
- Command line
-
hf download hf://riposta/CrossbowReviewer-9B/docs/benchmarks.json
-
curl -L -o benchmarks.json https://huggingface.co/riposta/CrossbowReviewer-9B/resolve/main/docs/benchmarks.json
5.61 kB
| { | |
| "model": "riposta/CrossbowReviewer-9B", | |
| "metric_notes": { | |
| "index": "mean accuracy over the 12 rule categories (+ aggregate questions), x100", | |
| "bal_acc": "mean over questions of recall averaged over gold options (0.5 = chance)", | |
| "ece": "expected calibration error, 10 bins", | |
| "brier": "multi-class Brier score" | |
| }, | |
| "tests": { | |
| "synthetic": { | |
| "samples": 360, | |
| "labels": 3271, | |
| "results": { | |
| "CrossbowReviewer-9B": { | |
| "index": 85.7, | |
| "index_ci95": [ | |
| 84.1, | |
| 87.3 | |
| ], | |
| "accuracy": 0.859, | |
| "bal_acc": 0.824, | |
| "ece": 0.016, | |
| "brier": 0.191 | |
| }, | |
| "Jev (jev-1.13.0)": { | |
| "index": 82.3, | |
| "index_ci95": [ | |
| 80.7, | |
| 83.8 | |
| ], | |
| "accuracy": 0.789, | |
| "bal_acc": 0.809, | |
| "ece": 0.043, | |
| "brier": 0.306 | |
| }, | |
| "Qwen3.5-9B-Base (no fine-tuning)": { | |
| "index": 70.3, | |
| "index_ci95": [ | |
| 68.2, | |
| 72.5 | |
| ], | |
| "accuracy": 0.69, | |
| "bal_acc": 0.644, | |
| "ece": 0.04, | |
| "brier": 0.424 | |
| }, | |
| "Claude Opus 5.5": { | |
| "index": 92.9, | |
| "index_ci95": [ | |
| 91.7, | |
| 93.8 | |
| ], | |
| "accuracy": 0.915, | |
| "bal_acc": 0.925, | |
| "ece": 0.113, | |
| "brier": 0.16 | |
| }, | |
| "GPT-6 Sol": { | |
| "index": 89.1, | |
| "index_ci95": [ | |
| 87.6, | |
| 90.6 | |
| ], | |
| "accuracy": 0.885, | |
| "bal_acc": 0.911, | |
| "ece": 0.046, | |
| "brier": 0.183 | |
| } | |
| } | |
| }, | |
| "synthetic_relabeled": { | |
| "samples": 359, | |
| "labels": 2815, | |
| "results": { | |
| "CrossbowReviewer-9B": { | |
| "index": 87.5, | |
| "index_ci95": [ | |
| 85.8, | |
| 89.0 | |
| ], | |
| "accuracy": 0.898, | |
| "bal_acc": 0.841, | |
| "ece": 0.014, | |
| "brier": 0.146 | |
| }, | |
| "Jev (jev-1.13.0)": { | |
| "index": 85.0, | |
| "index_ci95": [ | |
| 83.4, | |
| 86.4 | |
| ], | |
| "accuracy": 0.82, | |
| "bal_acc": 0.813, | |
| "ece": 0.052, | |
| "brier": 0.273 | |
| }, | |
| "Qwen3.5-9B-Base (no fine-tuning)": { | |
| "index": 71.4, | |
| "index_ci95": [ | |
| 69.2, | |
| 73.6 | |
| ], | |
| "accuracy": 0.716, | |
| "bal_acc": 0.648, | |
| "ece": 0.046, | |
| "brier": 0.4 | |
| } | |
| } | |
| }, | |
| "owasp_benchmark_v1.2": { | |
| "samples": 435, | |
| "labels": 435, | |
| "results": { | |
| "CrossbowReviewer-9B": { | |
| "index": 59.8, | |
| "index_ci95": [ | |
| 55.2, | |
| 64.4 | |
| ], | |
| "accuracy": 0.598, | |
| "bal_acc": 0.654, | |
| "ece": 0.239, | |
| "brier": 0.583, | |
| "vulnerable_flagged": 0.944, | |
| "safe_recognized": 0.259 | |
| }, | |
| "Jev (jev-1.13.0)": { | |
| "index": 59.8, | |
| "index_ci95": [ | |
| 55.2, | |
| 64.6 | |
| ], | |
| "accuracy": 0.598, | |
| "bal_acc": 0.653, | |
| "ece": 0.209, | |
| "brier": 0.552, | |
| "vulnerable_flagged": 0.967, | |
| "safe_recognized": 0.236 | |
| }, | |
| "Qwen3.5-9B-Base (no fine-tuning)": { | |
| "index": 64.8, | |
| "index_ci95": [ | |
| 60.2, | |
| 69.0 | |
| ], | |
| "accuracy": 0.648, | |
| "bal_acc": 0.696, | |
| "ece": 0.025, | |
| "brier": 0.441, | |
| "vulnerable_flagged": 0.935, | |
| "safe_recognized": 0.368 | |
| }, | |
| "Claude Opus 5.5": { | |
| "index": 96.8, | |
| "index_ci95": [ | |
| 95.2, | |
| 98.4 | |
| ], | |
| "accuracy": 0.968, | |
| "bal_acc": 0.979, | |
| "ece": 0.059, | |
| "brier": 0.084, | |
| "vulnerable_flagged": 1.0, | |
| "safe_recognized": 0.936 | |
| }, | |
| "GPT-6 Sol": { | |
| "index": 87.4, | |
| "index_ci95": [ | |
| 83.9, | |
| 90.1 | |
| ], | |
| "accuracy": 0.874, | |
| "bal_acc": 0.9, | |
| "ece": 0.106, | |
| "brier": 0.237, | |
| "vulnerable_flagged": 1.0, | |
| "safe_recognized": 0.75 | |
| } | |
| } | |
| }, | |
| "real_open_source_code": { | |
| "samples": 55, | |
| "labels": 5401, | |
| "results": { | |
| "CrossbowReviewer-9B": { | |
| "index": 89.5, | |
| "index_ci95": [ | |
| 87.9, | |
| 91.3 | |
| ], | |
| "accuracy": 0.942, | |
| "bal_acc": 0.783, | |
| "ece": 0.006, | |
| "brier": 0.087 | |
| }, | |
| "Jev (jev-1.13.0)": { | |
| "index": 73.2, | |
| "index_ci95": [ | |
| 71.0, | |
| 75.1 | |
| ], | |
| "accuracy": 0.756, | |
| "bal_acc": 0.717, | |
| "ece": 0.03, | |
| "brier": 0.332 | |
| }, | |
| "Qwen3.5-9B-Base (no fine-tuning)": { | |
| "index": 69.9, | |
| "index_ci95": [ | |
| 67.3, | |
| 72.8 | |
| ], | |
| "accuracy": 0.694, | |
| "bal_acc": 0.517, | |
| "ece": 0.031, | |
| "brier": 0.416 | |
| }, | |
| "Claude Opus 5.5": { | |
| "index": 92.7, | |
| "index_ci95": [ | |
| 90.9, | |
| 94.5 | |
| ], | |
| "accuracy": 0.962, | |
| "bal_acc": 0.831, | |
| "ece": 0.086, | |
| "brier": 0.073 | |
| }, | |
| "GPT-6 Sol": { | |
| "index": 95.9, | |
| "index_ci95": [ | |
| 94.3, | |
| 97.2 | |
| ], | |
| "accuracy": 0.979, | |
| "bal_acc": 0.926, | |
| "ece": 0.036, | |
| "brier": 0.043 | |
| } | |
| } | |
| } | |
| } | |
| } | |