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
File size: 129 Bytes
1bb8837 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:eb1ad3d085cdb02aab44bdfb8bdbd9dde9ed218c2187e89aa53b22a2e1b685b1
size 9252
|