Instructions to use GuardrailsAI/prompt-saturation-attack-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GuardrailsAI/prompt-saturation-attack-detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="GuardrailsAI/prompt-saturation-attack-detector")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("GuardrailsAI/prompt-saturation-attack-detector") model = AutoModelForSequenceClassification.from_pretrained("GuardrailsAI/prompt-saturation-attack-detector") - Inference
- Notebooks
- Google Colab
- Kaggle
Upload prompt_saturation_v3_1_final.pth
#1
by JosephCatrambone - opened
prompt_saturation_v3_1_final.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ed27e741f7d6ec0435a8c9ba48b09a5e13cb335bf68942b1f83969ed3f5c52b1
|
| 3 |
+
size 17587203
|