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

  • Log In
  • Sign Up

tomh
/
toxigen_roberta

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

Instructions to use tomh/toxigen_roberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use tomh/toxigen_roberta with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="tomh/toxigen_roberta")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("tomh/toxigen_roberta")
    model = AutoModelForSequenceClassification.from_pretrained("tomh/toxigen_roberta")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
toxigen_roberta
1.42 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
tomh's picture
tomh
Update README.md
0e65216 about 4 years ago
  • .gitattributes
    1.17 kB
    initial commit about 4 years ago
  • README.md
    904 Bytes
    Update README.md about 4 years ago
  • config.json
    790 Bytes
    add model about 4 years ago
  • merges.txt
    456 kB
    add tokenizer about 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    1.42 GB
    xet
    add model about 4 years ago
  • special_tokens_map.json
    150 Bytes
    add tokenizer about 4 years ago
  • tokenizer_config.json
    1.22 kB
    add tokenizer about 4 years ago
  • vocab.json
    899 kB
    add tokenizer about 4 years ago