Instructions to use rawqubit/ClassicML-Prompt-Injection-Detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use rawqubit/ClassicML-Prompt-Injection-Detector with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("rawqubit/ClassicML-Prompt-Injection-Detector", "sklearn_model.joblib") ) # only load pickle files from sources you trust # read more about it here https://skops.readthedocs.io/en/stable/persistence.html - Notebooks
- Google Colab
- Kaggle
Upload sklearn_model.joblib with huggingface_hub
Browse files- sklearn_model.joblib +3 -0
sklearn_model.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eb1ad3d085cdb02aab44bdfb8bdbd9dde9ed218c2187e89aa53b22a2e1b685b1
|
| 3 |
+
size 9252
|