Text Classification
Transformers
ONNX
prompt-injection
prompt-injection-detection
llm-security
bert
jailbreak-detection
Instructions to use nihal4/prompt_injection_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nihal4/prompt_injection_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="nihal4/prompt_injection_model")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("nihal4/prompt_injection_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload prompt_injection_model.onnx.data
Browse files- .gitattributes +1 -0
- prompt_injection_model.onnx.data +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
prompt_injection_model.onnx.data filter=lfs diff=lfs merge=lfs -text
|
prompt_injection_model.onnx.data
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3e3141a22ee8e078ab6a3c0ad5d1bc0d690de51f3f3e77b9bf85bb77c412a7ce
|
| 3 |
+
size 711836672
|