Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

vllm-sr
/
Vela-1.0-Encoder-307M-Guard

Text Classification
Transformers
ONNX
Safetensors
modernbert
semantic-router
vela
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use vllm-sr/Vela-1.0-Encoder-307M-Guard 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-Guard 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-Guard")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("vllm-sr/Vela-1.0-Encoder-307M-Guard")
    model = AutoModelForSequenceClassification.from_pretrained("vllm-sr/Vela-1.0-Encoder-307M-Guard", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Vela-1.0-Encoder-307M-Guard / onnx
1.23 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
Xunzhuo's picture
Xunzhuo
Improve Vela Guard prompt-attack detection and long-context inference
087f9e4 verified 21 days ago
  • model.onnx
    165 kB
    xet
    Improve Vela Guard prompt-attack detection and long-context inference 21 days ago
  • model.onnx.data
    1.23 GB
    xet
    Improve Vela Guard prompt-attack detection and long-context inference 21 days ago
  • model_rocm_32k.onnx
    583 kB
    xet
    Improve Vela Guard prompt-attack detection and long-context inference 21 days ago
  • model_rocm_512.onnx
    165 kB
    xet
    Improve Vela Guard prompt-attack detection and long-context inference 21 days ago
  • model_rocm_8k.onnx
    165 kB
    xet
    Improve Vela Guard prompt-attack detection and long-context inference 21 days ago