Text Classification
Transformers
Safetensors
English
multilingual
jailbreak-detection
prompt-injection
security
guardrails
safety
Instructions to use abdulmunimjemal/Sentinel-Rail-A-Prompt-Attack-Guard with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use abdulmunimjemal/Sentinel-Rail-A-Prompt-Attack-Guard with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="abdulmunimjemal/Sentinel-Rail-A-Prompt-Attack-Guard")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("abdulmunimjemal/Sentinel-Rail-A-Prompt-Attack-Guard", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from abdulmunimjemal/Sentinel-Rail-A-Prompt-Attack-Guard: direct link, hf CLI and curl.
- Browser
- Download file 4.73 MB
-
https://huggingface.co/abdulmunimjemal/Sentinel-Rail-A-Prompt-Attack-Guard/resolve/main/tokenizer.json
- Command line
-
hf download hf://abdulmunimjemal/Sentinel-Rail-A-Prompt-Attack-Guard/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/abdulmunimjemal/Sentinel-Rail-A-Prompt-Attack-Guard/resolve/main/tokenizer.json
4.73 MB
File too large to display, you can check the raw version instead.