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_bert

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

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

  • Libraries
  • Transformers

    How to use sahilchat/m1_promptguard_bert with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="sahilchat/m1_promptguard_bert")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("sahilchat/m1_promptguard_bert")
    model = AutoModelForSequenceClassification.from_pretrained("sahilchat/m1_promptguard_bert", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
m1_promptguard_bert
877 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
sahilchat's picture
sahilchat
sahilchat/m1-promptguard-bert
6e33ce9 verified 6 months ago
  • final
    sahilchat/m1-promptguard-bert 6 months ago
  • .gitattributes
    1.52 kB
    initial commit 6 months ago
  • README.md
    1.91 kB
    sahilchat/m1-promptguard-bert 6 months ago
  • config.json
    815 Bytes
    sahilchat/m1-promptguard-bert 6 months ago
  • model.safetensors
    438 MB
    xet
    sahilchat/m1-promptguard-bert 6 months ago
  • tokenizer.json
    711 kB
    sahilchat/m1-promptguard-bert 6 months ago
  • tokenizer_config.json
    322 Bytes
    sahilchat/m1-promptguard-bert 6 months ago
  • training_args.bin
    4.79 kB
    xet
    sahilchat/m1-promptguard-bert 6 months ago