Downloads · 30 days
1.5K
94% of all-time downloads
vllm-sr/Vela-1.0-Encoder-307M-Modality
Vela-1.0-Encoder-307M-Modality 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
1.5K
94% of all-time downloads
All-time downloads
1.7K
Public
Parameters
308M
5 GB on disk
Likes
1
Trending 1
Click a slice to open those files.
.data1.2 GB · 49%
From the Hugging Face model README
Vela Modality identifies whether a request needs text output (AR), image generation (DIFFUSION), or both (BOTH).
307M parameters · Input capacity: 32,768 tokens, including special tokens.
Macro F1 (×100) on the same development sets, compared with the original mmBERT32K Modality model. Higher is better.
| Evaluation | Original mmBERT | Vela |
|---|---|---|
| Short inputs · 929 | 38.40 | 81.10 |
| Controlled 4K context · 18 | 26.67 | 82.22 |
| Controlled 8K context · 18 | 26.67 | 82.22 |
| Controlled 16K context · 18 | 26.67 | 82.22 |
| Controlled 32K context · 18 | 26.67 | 82.22 |
Short inputs cover six languages. Long-context evaluation uses six English/Chinese examples placed at three positions and repeated across lengths. Both models process complete inputs in FP32. These development sets informed Vela 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-Modality"
model = pipeline("text-classification", model=model_id, device=-1)
print(model("Create a watercolor image of a lighthouse at sunset.", top_k=None, truncation=False))