Stealth Sheep 27B
We developed Stealth Sheep 27B as a decision model based on Qwen 27B.
It answers multiple-choice (choice), yes/no (noul), and score questions about text or
JSON states, with optional image inputs. The package contains a sharded BF16
backbone, vision weights, a 255-way decision readout, and the Stealth Sheep
inference runtime. Its weights occupy about 52.2 GB on disk.
Download
hf download yabel/stealth-sheep-27b --local-dir stealth-sheep-27b
cd stealth-sheep-27b
Run the decision server
Use Python 3.12 and CUDA builds of PyTorch and torchvision that support your GPU. The tested serving environment uses PyTorch 2.10.0+cu126, torchvision 0.25.0, Transformers 5.17.0, flash-linear-attention 0.5.2, causal-conv1d 1.7.0, and Triton 3.8.0.
python -m pip install -r requirements.txt fastapi==0.115.12 uvicorn==0.34.2
HF_HUB_OFFLINE=1 CUDA_VISIBLE_DEVICES=0 python stealth_sheep_server.py \
--model . --device cuda:0 --batch-size 1 --verify full \
--name stealth-sheep-27b --host 127.0.0.1 --port 8000
Check GET /health for readiness. Send a decision request to
POST /v1/systemone with state and questions.
{
"state": "The customer wants a refund for a duplicate charge.",
"questions": {
"route": {
"type": "choice",
"instructions": "Choose the appropriate support team.",
"criteria": {"billing": "Billing support", "technical": "Technical support"}
}
}
}
Decision Index
The DI HTTP engine uses base_url=http://127.0.0.1:8000 and
model=stealth-sheep-27b. To run the in-process engine on one GPU:
PYTHONPATH=. python -m decision_index run --edition 0.3 \
--engine stealth_sheep_engine:StealthSheepEngine \
--option model=. --option device=cuda:0 --option batch_size=1 \
--option permutation_average=0 --out runs/stealth-sheep-27b-text --compact
Transformers loading
The custom AutoModel exposes the same decision runtime. Load it with
trust_remote_code=True.
from transformers import AutoModel
model = AutoModel.from_pretrained(
"yabel/stealth-sheep-27b",
trust_remote_code=True,
device="cuda:0",
batch_size=1,
verify="full",
)
Release notes and attribution
The public inference modules use the Stealth Sheep namespace. Keep the manifest, index, all weight shards, readout, and tokenizer with the inference code.
See LICENSE and NOTICE for licensing and base checkpoint attribution. Third-party software notices are in the source files.