Fill-Mask
Transformers
PyTorch
Safetensors
English
bert
HateBERT
text classification
abusive language
hate speech
offensive language
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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("GroNLP/hateBERT") model = AutoModelForMaskedLM.from_pretrained("GroNLP/hateBERT", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signatureab7a2d4
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (4315d69ec8f39e6fe3faf974c2f46de8fb61072c) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>1d439dd
-
hateBERT model and tokenizer
tommasof56d507 -
Update README.md
5b8c97b -
Create README.md
model card hateBERTfc95469 -
initial commit
736ddf2