Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

OASecure
/
promptguard-context-classifier

Text Classification
Scikit-learn
Joblib
Safetensors
promptguard
privacy
dlp
korean
roberta
logistic-regression
Model card Files Files and versions
xet
Community

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
promptguard-context-classifier / models
444 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Paramir's picture
Paramir
Add runtime artifact inventory README
3987419 verified 12 days ago
  • context_verifier_klue_roberta_base_lrmined_v287_global002_compactv2_lpft_focal_1p2ep
    Upload v287 context classifier artifacts 13 days ago
  • README.md
    1.38 kB
    Add runtime artifact inventory README 12 days ago
  • SHA256SUMS
    1.63 kB
    Upload v287 context classifier artifacts 13 days ago
  • context_label_definitions_verifier_compact_v2.json
    4.39 kB
    Upload v287 context classifier artifacts 13 days ago
  • context_lr_roberta_active_best_f1_manifest.json
    10.8 kB
    Upload v287 context classifier artifacts 13 days ago
  • context_target_labels.json
    302 Bytes
    Upload v287 context classifier artifacts 13 days ago
  • context_with_patch_v287_lr_c4_dev_classifier.joblib

    Detected Pickle imports (6)

    • "sklearn.preprocessing._label.LabelBinarizer",
    • "joblib.numpy_pickle.NumpyArrayWrapper",
    • "numpy.dtype",
    • "sklearn.linear_model._logistic.LogisticRegression",
    • "sklearn.multiclass.OneVsRestClassifier",
    • "numpy.ndarray"

    How to fix it?

    88.6 kB
    xet
    Upload v287 context classifier artifacts 13 days ago