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

  • Log In
  • Sign Up

lotachi
/
hatebert-toxic-classifier

Text Classification
Transformers
Safetensors
bert
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use lotachi/hatebert-toxic-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use lotachi/hatebert-toxic-classifier with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="lotachi/hatebert-toxic-classifier")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("lotachi/hatebert-toxic-classifier")
    model = AutoModelForSequenceClassification.from_pretrained("lotachi/hatebert-toxic-classifier")
  • Notebooks
  • Google Colab
  • Kaggle
hatebert-toxic-classifier
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
lotachi's picture
lotachi
Upload BertForSequenceClassification
643428c verified about 2 months ago
  • .gitattributes
    1.52 kB
    initial commit 2 months ago
  • README.md
    5.17 kB
    Upload BertForSequenceClassification 2 months ago
  • config.json
    963 Bytes
    Upload BertForSequenceClassification 2 months ago
  • model.safetensors
    438 MB
    xet
    Upload BertForSequenceClassification about 2 months ago
  • tokenizer.json
    711 kB
    Upload tokenizer 2 months ago
  • tokenizer_config.json
    339 Bytes
    Upload tokenizer 2 months ago