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

  • Log In
  • Sign Up

facebook
/
roberta-hate-speech-dynabench-r3-target

Text Classification
Transformers
PyTorch
English
roberta
Model card Files Files and versions
xet
Community
1

Instructions to use facebook/roberta-hate-speech-dynabench-r3-target with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use facebook/roberta-hate-speech-dynabench-r3-target with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="facebook/roberta-hate-speech-dynabench-r3-target")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("facebook/roberta-hate-speech-dynabench-r3-target")
    model = AutoModelForSequenceClassification.from_pretrained("facebook/roberta-hate-speech-dynabench-r3-target")
  • Notebooks
  • Google Colab
  • Kaggle
roberta-hate-speech-dynabench-r3-target
500 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
Tristan Thrush
Update README.md
fb2c248 almost 4 years ago
  • .gitattributes
    1.17 kB
    initial commit almost 4 years ago
  • README.md
    570 Bytes
    Update README.md almost 4 years ago
  • config.json
    816 Bytes
    Update config.json almost 4 years ago
  • merges.txt
    456 kB
    add tokenizer almost 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    499 MB
    xet
    add model almost 4 years ago
  • special_tokens_map.json
    239 Bytes
    add tokenizer almost 4 years ago
  • tokenizer_config.json
    1.11 kB
    add tokenizer almost 4 years ago
  • vocab.json
    899 kB
    add tokenizer almost 4 years ago