Text Classification
Transformers
Safetensors
modernbert
Generated from Trainer
text-embeddings-inference
Instructions to use adobe-codemay2025/ModernBERT-base_prompt_injection_detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use adobe-codemay2025/ModernBERT-base_prompt_injection_detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="adobe-codemay2025/ModernBERT-base_prompt_injection_detector")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("adobe-codemay2025/ModernBERT-base_prompt_injection_detector") model = AutoModelForSequenceClassification.from_pretrained("adobe-codemay2025/ModernBERT-base_prompt_injection_detector", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 451e137f84a246c9d2237a8846e0cd3a618b889acf437a205390039a6b8b34f1
- Size of remote file:
- 5.43 kB
- SHA256:
- 58c70c839504739d08737b9e0fbc5f468a71c86c0090ec6895b90c0825d451a9
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.