How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="fmops/distilbert-prompt-injection")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("fmops/distilbert-prompt-injection")
model = AutoModelForSequenceClassification.from_pretrained("fmops/distilbert-prompt-injection", device_map="auto")
Quick Links
README.md exists but content is empty.
Downloads last month
1,648
Safetensors
Model size
67M params
Tensor type
F32
·
Inference Providers NEW

Model tree for fmops/distilbert-prompt-injection

Quantizations
1 model

Dataset used to train fmops/distilbert-prompt-injection

Space using fmops/distilbert-prompt-injection 1