Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Sakil
/
distilbert_lazylearner_hatespeech_detection

Text Classification
Transformers
PyTorch
English
distilbert
hate
speech
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use Sakil/distilbert_lazylearner_hatespeech_detection with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Sakil/distilbert_lazylearner_hatespeech_detection")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Sakil/distilbert_lazylearner_hatespeech_detection")
    model = AutoModelForSequenceClassification.from_pretrained("Sakil/distilbert_lazylearner_hatespeech_detection", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
distilbert_lazylearner_hatespeech_detection
713 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
Sakil's picture
Sakil
Upload tokenizer.json
c18963e over 4 years ago
  • .gitattributes
    1.18 kB
    initial commit over 4 years ago
  • README.md
    31 Bytes
    Update README.md over 4 years ago
  • config.json
    615 Bytes
    Upload config.json over 4 years ago
  • tokenizer.json
    711 kB
    Upload tokenizer.json over 4 years ago