Instructions to use nesilabs/tosilos-24b-2512-opsB 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 nesilabs/tosilos-24b-2512-opsB 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 nesilabs/tosilos-24b-2512-opsB:Q4_K_M # Run inference directly in the terminal: llama cli -hf nesilabs/tosilos-24b-2512-opsB:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf nesilabs/tosilos-24b-2512-opsB:Q4_K_M # Run inference directly in the terminal: llama cli -hf nesilabs/tosilos-24b-2512-opsB:Q4_K_M
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 nesilabs/tosilos-24b-2512-opsB:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf nesilabs/tosilos-24b-2512-opsB:Q4_K_M
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 nesilabs/tosilos-24b-2512-opsB:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf nesilabs/tosilos-24b-2512-opsB:Q4_K_M
Use Docker
docker model run hf.co/nesilabs/tosilos-24b-2512-opsB:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use nesilabs/tosilos-24b-2512-opsB with Ollama:
ollama run hf.co/nesilabs/tosilos-24b-2512-opsB:Q4_K_M
- Unsloth Studio
How to use nesilabs/tosilos-24b-2512-opsB 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 nesilabs/tosilos-24b-2512-opsB 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 nesilabs/tosilos-24b-2512-opsB to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for nesilabs/tosilos-24b-2512-opsB to start chatting
- Pi
How to use nesilabs/tosilos-24b-2512-opsB with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf nesilabs/tosilos-24b-2512-opsB:Q4_K_M
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": "nesilabs/tosilos-24b-2512-opsB:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- OpenClaw new
How to use nesilabs/tosilos-24b-2512-opsB with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf nesilabs/tosilos-24b-2512-opsB: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:8080/v1 \ --custom-model-id "nesilabs/tosilos-24b-2512-opsB: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"
- Docker Model Runner
How to use nesilabs/tosilos-24b-2512-opsB with Docker Model Runner:
docker model run hf.co/nesilabs/tosilos-24b-2512-opsB:Q4_K_M
- Lemonade
How to use nesilabs/tosilos-24b-2512-opsB with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull nesilabs/tosilos-24b-2512-opsB:Q4_K_M
Run and chat with the model
lemonade run user.tosilos-24b-2512-opsB-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use nesilabs/tosilos-24b-2512-opsB with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf nesilabs/tosilos-24b-2512-opsB: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:8080/v1 hermes config set model.default nesilabs/tosilos-24b-2512-opsB:Q4_K_M
Run Hermes
hermes
- Atomic Chat
Tosilos-24B-2512-opsB
Operational cybersecurity 24B (QLoRA on Devstral-Small-2-2512). This is the deep / operational variant: trained on the full domain corpus plus an operational Q/A layer. It gives the deepest, most direct security answers of the line and never over-refuses authorized security work — at the cost of some general-knowledge benchmark.
Results (same-harness A/B vs base)
| Metric | Base (2-2512) | opsB |
|---|---|---|
| CyberMetric (500q) | 91.8% | 90.6% |
| MMLU-500 | 73.0% | 70.0% (regression) |
| Blind judge, domain holdout | — | +1.30 over base (highest of the line) |
| Refusals on authorized hacking questions | high | 0% |
Honest trade-off. opsB is the strongest of the line at deep, operational security answers (the
highest blind-judge delta measured) and never over-refuses authorized work. But it regresses on
general knowledge (MMLU 70.0) and its answers are direct/operational enough that an LLM judge
declined to score ~2/3 of them. If you want a more balanced, benchmark-clean revision, use
nesilabs/tosilos-24b-2512 instead. Numbers are
same-harness A/B or they are not reported.
Intended use & scope
For authorized security testing, CTFs and research, within an established, authorized scope. It is framed to prefer proof-of-impact over destructive actions and to stay within scope. Use it only against systems you are authorized to test.
How to run
from transformers import AutoModelForImageTextToText, AutoTokenizer, BitsAndBytesConfig
import torch
tok = AutoTokenizer.from_pretrained("nesilabs/tosilos-24b-2512-opsB")
model = AutoModelForImageTextToText.from_pretrained(
"nesilabs/tosilos-24b-2512-opsB",
quantization_config=BitsAndBytesConfig(load_in_4bit=True, bnb_4bit_compute_dtype=torch.bfloat16),
device_map="auto")
Training
QLoRA (r=64, α=128, 4-bit NF4, seq 4096, 2 epochs, lr 1e-4 cosine) over our own curated security corpus (full domain set) + operational Q/A layer + 25% general replay.
GGUF (llama.cpp) — 4-bit, runs on a 16 GB GPU
A Q4_K_M quantization (~14 GB) is included: tosilos-24b-2512-opsB-Q4_K_M.gguf. Fits a 16 GB card,
cheap to serve. Verified to generate coherent output.
# one-shot
./llama-cli -m tosilos-24b-2512-opsB-Q4_K_M.gguf -p "Explain how ADCS ESC1 works." -n 400
# or serve an OpenAI-compatible endpoint
./llama-server -m tosilos-24b-2512-opsB-Q4_K_M.gguf -c 8192
Disclaimer & responsible use
This model is released strictly for authorized security testing, research and education. Offensive security techniques are dual-use.
- You are solely responsible for how you use this model. Only use it against systems you own or have explicit, written authorization to test, and comply with all applicable laws and regulations.
- The authors and nesilabs accept no liability for any misuse, damage, or consequences arising from the use of this model. Use is entirely at your own risk.
- The model is provided "as is", without warranty of any kind, express or implied.
By downloading or using this model you accept these terms.
- Downloads last month
- -
Model tree for nesilabs/tosilos-24b-2512-opsB
Base model
mistralai/Mistral-Small-3.1-24B-Base-2503