Fill-Mask
Transformers
PyTorch
Safetensors
English
bert
HateBERT
text classification
abusive language
hate speech
offensive language
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
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