Text Classification
Scikit-learn
Joblib
English
prompt-injection
jailbreak
security
random-forest
tfidf
Eval Results (legacy)
Instructions to use neuralchemy/prompt-injection-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use neuralchemy/prompt-injection-detector with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("neuralchemy/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
Re-upload as .joblib: logistic_regression.joblib
Browse files
logistic_regression.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:facd8f759e6c4d62d20414bbfa037dec11366699ab166a133ff6ceb19f23fc3b
|
| 3 |
+
size 291263
|