Text Classification
Transformers
Safetensors
English
modernbert
prompt-injection
jailbreak-detection
guardrails
safety
classification
Eval Results (legacy)
text-embeddings-inference
Instructions to use smcleod/guardrails-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use smcleod/guardrails-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="smcleod/guardrails-v1")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("smcleod/guardrails-v1") model = AutoModelForSequenceClassification.from_pretrained("smcleod/guardrails-v1") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
d982af0 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:ae1e8298a30223d178e36ca7450c66080178694a58143c63d02e7f81c7852308
size 5201
|