Text Classification
Transformers
ONNX
English
deberta-v2
prompt-injection
injection
jailbreak
deberta-v3
text-embeddings-inference
Instructions to use protectai/deberta-v3-base-injection-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use protectai/deberta-v3-base-injection-onnx with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="protectai/deberta-v3-base-injection-onnx")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("protectai/deberta-v3-base-injection-onnx") model = AutoModelForSequenceClassification.from_pretrained("protectai/deberta-v3-base-injection-onnx") - Notebooks
- Google Colab
- Kaggle