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

Intel
/
toxic-prompt-roberta

Text Classification
Transformers
ONNX
Safetensors
Habana
roberta
text-embeddings-inference
Model card Files Files and versions
xet
Community
5

Instructions to use Intel/toxic-prompt-roberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Intel/toxic-prompt-roberta with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Intel/toxic-prompt-roberta")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Intel/toxic-prompt-roberta")
    model = AutoModelForSequenceClassification.from_pretrained("Intel/toxic-prompt-roberta")
  • Notebooks
  • Google Colab
  • Kaggle
toxic-prompt-roberta / onnx
502 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
daniel-de-leon's picture
daniel-de-leon
Initial model commit (#1)
7a02b2d verified over 1 year ago
  • config.json
    720 Bytes
    Initial model commit (#1) over 1 year ago
  • merges.txt
    456 kB
    Initial model commit (#1) over 1 year ago
  • model.onnx
    499 MB
    xet
    Initial model commit (#1) over 1 year ago
  • special_tokens_map.json
    958 Bytes
    Initial model commit (#1) over 1 year ago
  • tokenizer.json
    2.11 MB
    Initial model commit (#1) over 1 year ago
  • tokenizer_config.json
    1.22 kB
    Initial model commit (#1) over 1 year ago
  • vocab.json
    798 kB
    Initial model commit (#1) over 1 year ago