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

  • Log In
  • Sign Up

will-rads
/
distilbert-hatespeech-classifier

Text Classification
Transformers
google-tensorflow TensorFlow
English
distilbert
tensorflow
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use will-rads/distilbert-hatespeech-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use will-rads/distilbert-hatespeech-classifier with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="will-rads/distilbert-hatespeech-classifier")
    # Load model directly
    from transformers import AutoTokenizer, TF_AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("will-rads/distilbert-hatespeech-classifier")
    model = TF_AutoModelForSequenceClassification.from_pretrained("will-rads/distilbert-hatespeech-classifier")
  • Notebooks
  • Google Colab
  • Kaggle
distilbert-hatespeech-classifier
269 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 13 commits
will-rads's picture
will-rads
Update README.md
946c094 verified 8 months ago
  • .gitattributes
    1.52 kB
    initial commit 12 months ago
  • README.md
    5.72 kB
    Update README.md 8 months ago
  • config.json
    689 Bytes
    Update config.json 8 months ago
  • special_tokens_map.json
    125 Bytes
    Add tokenizer 12 months ago
  • tf_model.h5
    268 MB
    xet
    Add 1-epoch head-trained DistilBERT model 12 months ago
  • tokenizer.json
    711 kB
    Add tokenizer 12 months ago
  • tokenizer_config.json
    1.23 kB
    Add tokenizer 12 months ago
  • vocab.txt
    232 kB
    Add tokenizer 12 months ago