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

  • Log In
  • Sign Up

chaitravi
/
hate-speech-classifier

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

Instructions to use chaitravi/hate-speech-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use chaitravi/hate-speech-classifier with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="chaitravi/hate-speech-classifier")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("chaitravi/hate-speech-classifier")
    model = AutoModelForSequenceClassification.from_pretrained("chaitravi/hate-speech-classifier")
  • Notebooks
  • Google Colab
  • Kaggle
hate-speech-classifier
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
chaitravi's picture
chaitravi
Upload tokenizer
a056877 verified about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    5.17 kB
    Upload BertForSequenceClassification about 1 year ago
  • config.json
    687 Bytes
    Upload BertForSequenceClassification about 1 year ago
  • model.safetensors
    438 MB
    xet
    Upload BertForSequenceClassification about 1 year ago
  • special_tokens_map.json
    125 Bytes
    Upload tokenizer about 1 year ago
  • tokenizer.json
    712 kB
    Upload tokenizer about 1 year ago
  • tokenizer_config.json
    1.22 kB
    Upload tokenizer about 1 year ago
  • vocab.txt
    232 kB
    Upload tokenizer about 1 year ago