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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

GroNLP
/
hateBERT

Fill-Mask
Transformers
PyTorch
Safetensors
English
bert
HateBERT
text classification
abusive language
hate speech
offensive language
Model card Files Files and versions
xet
Community
2

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

  • Libraries
  • Transformers

    How to use GroNLP/hateBERT with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="GroNLP/hateBERT")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("GroNLP/hateBERT")
    model = AutoModelForMaskedLM.from_pretrained("GroNLP/hateBERT")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
hateBERT
Ctrl+K
Ctrl+K
  • 4 contributors
History: 2 commits
tommasoc's picture
tommasoc
Create README.md
fc95469 almost 5 years ago
  • .gitattributes
    737 Bytes
    initial commit almost 5 years ago
  • README.md
    2.4 kB
    Create README.md almost 5 years ago