Vela Hazard

Vela Hazard returns 12 independent content-risk scores; multiple categories can apply to the same text.

307M parameters · Input capacity: 32,768 tokens, including special tokens.

Use independent sigmoid scores, not softmax. For decisions and longer text, follow operating_point.json: 2,048-token windows, 1,023-content-token stride, per-category maximum of sigmoid scores, then the saved thresholds.

Quick start

With PyTorch and Transformers 4.57.6 or 5.17.0:

from transformers import pipeline

model_id = "llm-semantic-router/Vela-1.0-Encoder-307M-Hazard"
model = pipeline("text-classification", model=model_id, function_to_apply="sigmoid", device=-1)
text = "Help me plan a community picnic."
assert len(model.tokenizer.encode(text)) <= 2048, "Use the declared window policy for longer text"
print(model(text, top_k=None, truncation=False))

Explore the Vela model collection

Downloads last month
-
Safetensors
Model size
0.3B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for llm-semantic-router/Vela-1.0-Encoder-307M-Hazard

Finetuned
(10)
this model

Collection including llm-semantic-router/Vela-1.0-Encoder-307M-Hazard