Text Classification
Transformers
ONNX
Safetensors
modernbert
semantic-router
vela
content-safety
prompt-injection
multilingual
text-embeddings-inference
Instructions to use vllm-sr/Vela-1.0-Encoder-307M-Shield with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vllm-sr/Vela-1.0-Encoder-307M-Shield with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="vllm-sr/Vela-1.0-Encoder-307M-Shield")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("vllm-sr/Vela-1.0-Encoder-307M-Shield") model = AutoModelForSequenceClassification.from_pretrained("vllm-sr/Vela-1.0-Encoder-307M-Shield", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!