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:
- 55b5140f09cbaccd6e6ec4d9abb2b1e26b3dc92fa33d949231cf3eedf6510fea
- Size of remote file:
- 268 MB
- SHA256:
- b9f4d746c730a2c3e7fea7f434c20f3a77e5626e232b21d5d9f5c39f1c00804f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.