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
| 13506c686531c3806c39c8f5024f44d94b8c5ed595f82a8be03ae04e66db7dc9 context_label_definitions_verifier_compact_v2.json | |
| ff8482c2f5eab1ddb2d0f95e6f789550c2a1bb193b196bc6503f438b7ffe5b9f context_lr_roberta_active_best_f1_manifest.json | |
| 55f7fa642453a65e0cc362aa4b6e1b4224e57dd1dcfb6524ac35a1f63d6a2ff0 context_target_labels.json | |
| 46e445341e80d99ea55f5dfe6aced4809bb289d273705d607c7af1ed5f499937 context_verifier_klue_roberta_base_lrmined_v287_global002_compactv2_lpft_focal_1p2ep/config.json | |
| 786e4cb4ff287f1b49c5ef2485ce2f1a7f3cbd1b10cc3f1cc746243b1663c4e2 context_verifier_klue_roberta_base_lrmined_v287_global002_compactv2_lpft_focal_1p2ep/model.safetensors | |
| a627d4e20da5e9482f6a08f667ead8809ff9a22dbf6284b91dacd57f217b4555 context_verifier_klue_roberta_base_lrmined_v287_global002_compactv2_lpft_focal_1p2ep/special_tokens_map.json | |
| e4ac45e7679c783ff5c5a5f9c1ed12c1c5fb86eda7f160b0c68a43d300ff6c91 context_verifier_klue_roberta_base_lrmined_v287_global002_compactv2_lpft_focal_1p2ep/tokenizer_config.json | |
| 53d797f39ffcea19270772e0bee243e880acebb255d8a97700a0128e8793d37c context_verifier_klue_roberta_base_lrmined_v287_global002_compactv2_lpft_focal_1p2ep/tokenizer.json | |
| 32100fb0491fd132398c25307ff5fb74e24bc25087e2cdce3cd123098da65a61 context_verifier_klue_roberta_base_lrmined_v287_global002_compactv2_lpft_focal_1p2ep/verifier_report.json | |
| 1ad4978b5dbe269dcc402a3c6eb71ceab21d712bca3b7d3b9994845e54cdcb39 context_verifier_klue_roberta_base_lrmined_v287_global002_compactv2_lpft_focal_1p2ep/vocab.txt | |
| 405759b626023d2f875f4091826486eccda2ffbbecf82cb764e596210ad60419 context_with_patch_v287_lr_c4_dev_classifier.joblib | |