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

  • 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
881 MB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 5 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
4315d69 about 3 years ago
  • .DS_Store
    6.15 kB
    hateBERT model and tokenizer over 4 years ago
  • .gitattributes
    791 Bytes
    Adding `safetensors` variant of this model about 3 years ago
  • README.md
    2.48 kB
    Update README.md over 4 years ago
  • config.json
    1.24 kB
    hateBERT model and tokenizer over 4 years ago
  • model.safetensors
    440 MB
    xet
    Adding `safetensors` variant of this model about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage"

    What is a pickle import?

    440 MB
    xet
    hateBERT model and tokenizer over 4 years ago
  • special_tokens_map.json
    112 Bytes
    hateBERT model and tokenizer over 4 years ago
  • tokenizer_config.json
    151 Bytes
    hateBERT model and tokenizer over 4 years ago
  • vocab.txt
    232 kB
    hateBERT model and tokenizer over 4 years ago