Instructions to use sudy-super/Sentinel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sudy-super/Sentinel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="sudy-super/Sentinel")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("sudy-super/Sentinel") model = AutoModelForSequenceClassification.from_pretrained("sudy-super/Sentinel") - Notebooks
- Google Colab
- Kaggle
Commit ·
714c822
1
Parent(s): 52076eb
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,7 +5,7 @@ license: apache-2.0
|
|
| 5 |
### Overview
|
| 6 |
This is a multilingual model that determines if the input is Prompt Injection/Leaking and Jailbreak.
|
| 7 |
|
| 8 |
-
|
| 9 |
|
| 10 |
### Tutorial
|
| 11 |
```
|
|
|
|
| 5 |
### Overview
|
| 6 |
This is a multilingual model that determines if the input is Prompt Injection/Leaking and Jailbreak.
|
| 7 |
|
| 8 |
+
LABEL_1 means that it was determined to be Prompt Injection.
|
| 9 |
|
| 10 |
### Tutorial
|
| 11 |
```
|