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

  • Log In
  • Sign Up

s-nlp
/
roberta_first_toxicity_classifier

Text Classification
Transformers
PyTorch
English
roberta
toxic comments classification
Model card Files Files and versions
xet
Community

Instructions to use s-nlp/roberta_first_toxicity_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use s-nlp/roberta_first_toxicity_classifier with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="s-nlp/roberta_first_toxicity_classifier")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("s-nlp/roberta_first_toxicity_classifier")
    model = AutoModelForSequenceClassification.from_pretrained("s-nlp/roberta_first_toxicity_classifier")
  • Notebooks
  • Google Colab
  • Kaggle
roberta_first_toxicity_classifier
502 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
dardem's picture
dardem
Update README.md
43d5b9b verified over 1 year ago
  • .gitattributes
    1.18 kB
    initial commit over 4 years ago
  • README.md
    3.52 kB
    Update README.md over 1 year ago
  • config.json
    530 Bytes
    The first commit over 4 years ago
  • merges.txt
    456 kB
    The first commit over 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage"

    What is a pickle import?

    501 MB
    xet
    The first commit over 4 years ago
  • special_tokens_map.json
    239 Bytes
    The first commit over 4 years ago
  • tokenizer_config.json
    25 Bytes
    The first commit over 4 years ago
  • vocab.json
    798 kB
    The first commit over 4 years ago