Instructions to use davidmcmahon/omega_guard with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use davidmcmahon/omega_guard with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("davidmcmahon/omega_guard", "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
Download features.json from davidmcmahon/omega_guard: direct link, hf CLI and curl.
- Browser
- Download file 377 Bytes
-
https://huggingface.co/davidmcmahon/omega_guard/resolve/main/features.json
- Command line
-
hf download hf://davidmcmahon/omega_guard/features.json
-
curl -L -o features.json https://huggingface.co/davidmcmahon/omega_guard/resolve/main/features.json
377 Bytes
| { | |
| "text_feature": "clean_prompt", | |
| "additional_features": [ | |
| "word_count", | |
| "has_credential_keywords", | |
| "has_request_keywords", | |
| "has_attack_keywords", | |
| "has_personal_keywords", | |
| "has_admin_keywords", | |
| "has_violence_keywords" | |
| ], | |
| "scikit_learn_version": "1.6.1", | |
| "numpy_version": "1.26.4", | |
| "scipy_version": "1.15.2", | |
| "joblib_version": "1.4.2" | |
| } |