Text Classification
Transformers
Safetensors
English
roberta
security
safety
adversarial
RoBERTa
text-embeddings-inference
Instructions to use Nid4l/X-Guard-Bench with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Nid4l/X-Guard-Bench with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Nid4l/X-Guard-Bench")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Nid4l/X-Guard-Bench") model = AutoModelForSequenceClassification.from_pretrained("Nid4l/X-Guard-Bench") - Notebooks
- Google Colab
- Kaggle
Access X-Guard Model
This repository is publicly accessible, but you have to accept the conditions to access its files and content.
This model is released under the Apache 2.0 License.
Access is granted on an individual basis. Please provide your details below.
We collect this information to understand the usage of this research artifact. Your information will not be shared with third parties.
Log in or Sign Up to review the conditions and access this model content.
Gated model You can list files but not access them
Preview of files found in this repository