Text Classification
Transformers
Safetensors
English
distilbert
prompt-injection-detection
jailbreak-detection
security
text-embeddings-inference
Instructions to use KIMMISEON/distilbert-prompt-guard-3class with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KIMMISEON/distilbert-prompt-guard-3class with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KIMMISEON/distilbert-prompt-guard-3class")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("KIMMISEON/distilbert-prompt-guard-3class") model = AutoModelForSequenceClassification.from_pretrained("KIMMISEON/distilbert-prompt-guard-3class", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from KIMMISEON/distilbert-prompt-guard-3class: direct link, hf CLI and curl.
- Browser
- Download file 5.2 kB
-
https://huggingface.co/KIMMISEON/distilbert-prompt-guard-3class/resolve/main/training_args.bin
- Command line
-
hf download hf://KIMMISEON/distilbert-prompt-guard-3class/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/KIMMISEON/distilbert-prompt-guard-3class/resolve/main/training_args.bin
5.2 kB
- Xet hash:
- 367d87c28494b13baeab48647d979b712ec8198cb6e8da13685fee93d72a3b8e
- Size of remote file:
- 5.2 kB
- SHA256:
- 103b1317163edae79a3db356fa36e4de812d6df4994c1591a94bcaf52db431b6
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.