Text Generation
GGUF
English
llama.cpp
qwen
qwen3
qwen3.5
cybersecurity
malware-analysis
reverse-engineering
pe
elf
ghidra
agent
research
conversational
Instructions to use AgentreBench/xref-9b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use AgentreBench/xref-9b with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="AgentreBench/xref-9b", filename="xref-9b-f16.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use AgentreBench/xref-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 AgentreBench/xref-9b:F16 # Run inference directly in the terminal: llama cli -hf AgentreBench/xref-9b:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf AgentreBench/xref-9b:F16 # Run inference directly in the terminal: llama cli -hf AgentreBench/xref-9b:F16
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 AgentreBench/xref-9b:F16 # Run inference directly in the terminal: ./llama-cli -hf AgentreBench/xref-9b:F16
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 AgentreBench/xref-9b:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf AgentreBench/xref-9b:F16
Use Docker
docker model run hf.co/AgentreBench/xref-9b:F16
- LM Studio
- Jan
- vLLM
How to use AgentreBench/xref-9b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AgentreBench/xref-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": "AgentreBench/xref-9b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/AgentreBench/xref-9b:F16
- Ollama
How to use AgentreBench/xref-9b with Ollama:
ollama run hf.co/AgentreBench/xref-9b:F16
- Unsloth Studio
How to use AgentreBench/xref-9b 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 AgentreBench/xref-9b 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 AgentreBench/xref-9b to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for AgentreBench/xref-9b to start chatting
- Pi
How to use AgentreBench/xref-9b with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AgentreBench/xref-9b:F16
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "AgentreBench/xref-9b:F16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use AgentreBench/xref-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 AgentreBench/xref-9b:F16
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 AgentreBench/xref-9b:F16
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use AgentreBench/xref-9b with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AgentreBench/xref-9b:F16
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 "AgentreBench/xref-9b:F16" \ --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"
- Docker Model Runner
How to use AgentreBench/xref-9b with Docker Model Runner:
docker model run hf.co/AgentreBench/xref-9b:F16
- Lemonade
How to use AgentreBench/xref-9b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull AgentreBench/xref-9b:F16
Run and chat with the model
lemonade run user.xref-9b-F16
List all available models
lemonade list
| <svg width="980" height="520" viewBox="0 0 980 520" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="xref-9b evaluation chart"> | |
| <rect width="980" height="520" fill="#ffffff"/> | |
| <text x="60" y="56" font-family="Inter, Segoe UI, Arial, sans-serif" font-size="30" font-weight="800" fill="#111827">xref-9b mixed PE/ELF holdout</text> | |
| <text x="60" y="88" font-family="Inter, Segoe UI, Arial, sans-serif" font-size="16" fill="#4b5563">Strict accuracy on 40 held-out binaries. Research-preview snapshot.</text> | |
| <g transform="translate(90 120)"> | |
| <line x1="0" y1="320" x2="800" y2="320" stroke="#111827" stroke-width="2"/> | |
| <line x1="0" y1="0" x2="0" y2="320" stroke="#111827" stroke-width="2"/> | |
| <g font-family="Inter, Segoe UI, Arial, sans-serif" font-size="13" fill="#6b7280"> | |
| <text x="-44" y="324">0%</text> | |
| <text x="-52" y="244">25%</text> | |
| <text x="-52" y="164">50%</text> | |
| <text x="-52" y="84">75%</text> | |
| <text x="-60" y="4">100%</text> | |
| </g> | |
| <g stroke="#e5e7eb" stroke-width="1"> | |
| <line x1="0" y1="240" x2="800" y2="240"/> | |
| <line x1="0" y1="160" x2="800" y2="160"/> | |
| <line x1="0" y1="80" x2="800" y2="80"/> | |
| </g> | |
| <rect x="85" y="144" width="140" height="176" rx="8" fill="#64748b"/> | |
| <rect x="330" y="136" width="140" height="184" rx="8" fill="#3b82f6"/> | |
| <rect x="575" y="104" width="140" height="216" rx="8" fill="#10b981"/> | |
| <g font-family="Inter, Segoe UI, Arial, sans-serif" text-anchor="middle"> | |
| <text x="155" y="132" font-size="22" font-weight="800" fill="#334155">55.0%</text> | |
| <text x="400" y="124" font-size="22" font-weight="800" fill="#1d4ed8">57.5%</text> | |
| <text x="645" y="92" font-size="22" font-weight="800" fill="#047857">67.5%</text> | |
| <text x="155" y="354" font-size="16" font-weight="700" fill="#111827">Base model</text> | |
| <text x="400" y="354" font-size="16" font-weight="700" fill="#111827">SFT</text> | |
| <text x="645" y="354" font-size="16" font-weight="700" fill="#111827">SFT + IPO</text> | |
| <text x="645" y="390" font-size="14" fill="#4b5563">release static workflow</text> | |
| </g> | |
| <path d="M470 112 C500 88 532 80 570 88" fill="none" stroke="#10b981" stroke-width="3" marker-end="url(#arrow)"/> | |
| </g> | |
| <defs> | |
| <marker id="arrow" markerWidth="10" markerHeight="10" refX="7" refY="3" orient="auto" markerUnits="strokeWidth"> | |
| <path d="M0,0 L0,6 L8,3 z" fill="#10b981"/> | |
| </marker> | |
| </defs> | |
| <text x="90" y="492" font-family="Inter, Segoe UI, Arial, sans-serif" font-size="14" fill="#6b7280">Note: release workflow gain includes deeper static-analysis settings and final-answer forcing; not solely a weight-only delta.</text> | |
| </svg> | |