Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

md-nishat-008
/
PromptShield

Text Classification
Transformers
Safetensors
English
roberta
guardrails
safety
education
code
cs-education
llm-safety
academic-integrity
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use md-nishat-008/PromptShield with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use md-nishat-008/PromptShield with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="md-nishat-008/PromptShield")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("md-nishat-008/PromptShield")
    model = AutoModelForSequenceClassification.from_pretrained("md-nishat-008/PromptShield")
  • Notebooks
  • Google Colab
  • Kaggle
PromptShield
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
md-nishat-008's picture
md-nishat-008
Update README.md
05e8aa6 verified 4 months ago
  • .gitattributes
    1.52 kB
    initial commit 4 months ago
  • README.md
    6.03 kB
    Update README.md 4 months ago
  • config.json
    870 Bytes
    Upload 7 files 4 months ago
  • model.safetensors
    499 MB
    xet
    Upload 7 files 4 months ago
  • special_tokens_map.json
    280 Bytes
    Upload 7 files 4 months ago
  • tokenizer.json
    3.56 MB
    Upload 7 files 4 months ago
  • tokenizer_config.json
    1.22 kB
    Upload 7 files 4 months ago
  • training_args.bin
    5.24 kB
    xet
    Upload 7 files 4 months ago
  • vocab.json
    798 kB
    Upload 7 files 4 months ago