Instructions to use withsecure/DistilBERT-PromptInjectionDetectorForCVs with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use withsecure/DistilBERT-PromptInjectionDetectorForCVs with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="withsecure/DistilBERT-PromptInjectionDetectorForCVs")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("withsecure/DistilBERT-PromptInjectionDetectorForCVs") model = AutoModelForSequenceClassification.from_pretrained("withsecure/DistilBERT-PromptInjectionDetectorForCVs", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from withsecure/DistilBERT-PromptInjectionDetectorForCVs: direct link, hf CLI and curl.
- Browser
- Download file 4.34 kB
-
https://huggingface.co/withsecure/DistilBERT-PromptInjectionDetectorForCVs/resolve/main/training_args.bin
- Command line
-
hf download hf://withsecure/DistilBERT-PromptInjectionDetectorForCVs/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/withsecure/DistilBERT-PromptInjectionDetectorForCVs/resolve/main/training_args.bin
4.34 kB
- Xet hash:
- 6ce979652e3de930f245f66c85a01620616e3dd64821e27e8ff87c4ae4018e11
- Size of remote file:
- 4.34 kB
- SHA256:
- c4a64b0fba6dbe08363cadeccdbe6afcf0afb89c8df0f7a3a8627bd91ab28a43
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.