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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

sahilchat
/
m1_promptguard_deberta

Text Classification
Transformers
Safetensors
deberta-v2
Generated from Trainer
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use sahilchat/m1_promptguard_deberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use sahilchat/m1_promptguard_deberta with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="sahilchat/m1_promptguard_deberta")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("sahilchat/m1_promptguard_deberta")
    model = AutoModelForSequenceClassification.from_pretrained("sahilchat/m1_promptguard_deberta", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
m1_promptguard_deberta
754 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
sahilchat's picture
sahilchat
sahilchat/m1-promptguard-deberta
cf7659d verified 6 months ago
  • final
    sahilchat/m1-promptguard-deberta 6 months ago
  • .gitattributes
    1.52 kB
    initial commit 6 months ago
  • README.md
    1.94 kB
    sahilchat/m1-promptguard-deberta 6 months ago
  • config.json
    944 Bytes
    sahilchat/m1-promptguard-deberta 6 months ago
  • model.safetensors
    369 MB
    xet
    sahilchat/m1-promptguard-deberta 6 months ago
  • tokenizer.json
    8.34 MB
    sahilchat/m1-promptguard-deberta 6 months ago
  • tokenizer_config.json
    509 Bytes
    sahilchat/m1-promptguard-deberta 6 months ago
  • training_args.bin
    4.79 kB
    xet
    sahilchat/m1-promptguard-deberta 6 months ago