Run this model with HF Jobs
Run GroNLP/hateBERT on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/GroNLP/hateBERT. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/GroNLP/hateBERT on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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
Request to add license file
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.