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") - Notebooks
- Google Colab
- Kaggle
- 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.