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")# 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
Request to add license file
#2
by jivetij - opened
Hello Team,
Thanks for releasing HateBERT. It’s a valuable resource for hate speech detection research. However, I noticed that the model card doesn’t include any license information, and there’s no LICENSE file in the repository.
Could you please clarify under which license this model is distributed (e.g., MIT, Apache-2.0, CC-BY, or custom)? Including a license in the model card would make it clear how others can properly use or build upon this work.
Thanks for pointing this out.
We have added the licence for the further pre-trained weights. Fine-tuned models and data have a difference licence, check relevant repository in OSF.
tommasoc changed discussion status to closed