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

  • Log In
  • Sign Up

tomh
/
toxigen_hatebert

Text Classification
Transformers
PyTorch
English
bert
text-embeddings-inference
Model card Files Files and versions
xet
Community
2

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

  • Libraries
  • Transformers

    How to use tomh/toxigen_hatebert with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="tomh/toxigen_hatebert")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("tomh/toxigen_hatebert")
    model = AutoModelForSequenceClassification.from_pretrained("tomh/toxigen_hatebert")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
toxigen_hatebert
441 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
tomh's picture
tomh
add model
c260d78 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
    727 Bytes
    add model about 4 years ago
  • merges.txt
    456 kB
    add tokenizer about 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    438 MB
    xet
    add model about 4 years ago
  • special_tokens_map.json
    90 Bytes
    add tokenizer about 4 years ago
  • tokenizer.json
    2.11 MB
    add tokenizer about 4 years ago
  • tokenizer_config.json
    236 Bytes
    add tokenizer about 4 years ago
  • vocab.json
    798 kB
    add tokenizer about 4 years ago