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

  • Log In
  • Sign Up

protectai
/
GPTFuzz-onnx

Text Classification
Transformers
ONNX
English
roberta
prompt-injection
injection
jailbreak
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use protectai/GPTFuzz-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use protectai/GPTFuzz-onnx with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="protectai/GPTFuzz-onnx")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("protectai/GPTFuzz-onnx")
    model = AutoModelForSequenceClassification.from_pretrained("protectai/GPTFuzz-onnx")
  • Notebooks
  • Google Colab
  • Kaggle
GPTFuzz-onnx
1.43 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 13 commits
asofter's picture
asofter
Update README.md
c37824b verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    1.64 kB
    Update README.md about 2 years ago
  • config.json
    829 Bytes
    Upload config.json with huggingface_hub over 2 years ago
  • merges.txt
    456 kB
    Upload merges.txt with huggingface_hub over 2 years ago
  • model.onnx
    1.42 GB
    xet
    Upload model.onnx with huggingface_hub over 2 years ago
  • special_tokens_map.json
    958 Bytes
    Upload special_tokens_map.json with huggingface_hub over 2 years ago
  • tokenizer.json
    2.11 MB
    Upload tokenizer.json with huggingface_hub over 2 years ago
  • tokenizer_config.json
    1.22 kB
    Upload tokenizer_config.json with huggingface_hub over 2 years ago
  • vocab.json
    798 kB
    Upload vocab.json with huggingface_hub over 2 years ago