Downloads · 30 days
4.4K
49% of all-time downloads
vllm-sr/Vela-1.0-Encoder-307M-Domain
Vela-1.0-Encoder-307M-Domain is a text classification model from vllm-sr. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
<div align="center" <img src="https://vllm-sr.ai/img/vllm-sr-logo.social.png" alt="vLLM Semantic Router" width="560" / <p <a href="https://vllm-sr.ai/"<strongDocs</strong</a | <a href="https://vllm-sr.ai/blog/"<strong…
Downloads · 30 days
4.4K
49% of all-time downloads
All-time downloads
9K
Public
Parameters
308M
5 GB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors1.2 GB · 49%
From the Hugging Face model README
Vela Domain identifies the subject of a request across 14 domains to help select relevant models and tools.
307M parameters · Input capacity: 32,768 tokens, including special tokens.
Macro F1 (×100) on the same development sets, compared with the original mmBERT32K Domain model. Higher is better.
| Evaluation | Original mmBERT | Vela |
|---|---|---|
| Short requests · 1,988 | 66.33 | 85.15 |
| Controlled 4K context · 28 | 7.14 | 71.19 |
| Controlled 8K context · 28 | 1.79 | 81.19 |
| Controlled 16K context · 28 | 1.79 | 81.19 |
| Controlled 32K context · 28 | 1.79 | 77.86 |
Short requests cover English, Chinese, Spanish, French, German and Japanese. Long-context evaluation uses 28 English/Chinese examples extended to each length. Both models process the complete input in FP32. These development sets informed Vela checkpoint selection; they are not an independent test set.
With PyTorch and Transformers 4.57.6 or 5.17.0:
from transformers import pipeline
model_id = "vllm-sr/Vela-1.0-Encoder-307M-Domain"
model = pipeline("text-classification", model=model_id, device=-1)
print(model("Why do bond prices fall when interest rates rise?", top_k=None, truncation=False))