Text Classification
Scikit-learn
Joblib
Safetensors
promptguard
privacy
dlp
korean
roberta
logistic-regression
Instructions to use OASecure/promptguard-context-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use OASecure/promptguard-context-classifier with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("OASecure/promptguard-context-classifier", "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
Fix download command in model card
Browse files
README.md
CHANGED
|
@@ -68,7 +68,7 @@ From the PromptGuard repository root:
|
|
| 68 |
|
| 69 |
```bash
|
| 70 |
pip install "huggingface_hub[hf_xet]"
|
| 71 |
-
|
| 72 |
--revision v287-20260623 \
|
| 73 |
--include "models/*" \
|
| 74 |
--local-dir .
|
|
|
|
| 68 |
|
| 69 |
```bash
|
| 70 |
pip install "huggingface_hub[hf_xet]"
|
| 71 |
+
hf download OASecure/promptguard-context-classifier \
|
| 72 |
--revision v287-20260623 \
|
| 73 |
--include "models/*" \
|
| 74 |
--local-dir .
|