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
Update README.md
Browse files
README.md
CHANGED
|
@@ -6,6 +6,7 @@ tags:
|
|
| 6 |
- abusive language
|
| 7 |
- hate speech
|
| 8 |
- offensive language
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
#
|
|
@@ -18,7 +19,7 @@ tags:
|
|
| 18 |
|
| 19 |
HateBERT is an English pre-trained BERT model obtained by further training the English BERT base uncased model with more than 1 million posts from banned communites from Reddit. The model has been developed as a collaboration between the University of Groningen, the university of Turin, and the University of Passau.
|
| 20 |
|
| 21 |
-
For details, check out the paper presented at [WOAH 2021](https://aclanthology.org/2021.woah-1.3/). The code and the fine-tuned models are available on [OSF](https://osf.io/tbd58/?view_onlycb79b3228d4248ddb875eb1803525ad8).
|
| 22 |
|
| 23 |
|
| 24 |
### BibTeX entry and citation info
|
|
|
|
| 6 |
- abusive language
|
| 7 |
- hate speech
|
| 8 |
- offensive language
|
| 9 |
+
license: apache-2.0
|
| 10 |
---
|
| 11 |
|
| 12 |
#
|
|
|
|
| 19 |
|
| 20 |
HateBERT is an English pre-trained BERT model obtained by further training the English BERT base uncased model with more than 1 million posts from banned communites from Reddit. The model has been developed as a collaboration between the University of Groningen, the university of Turin, and the University of Passau.
|
| 21 |
|
| 22 |
+
For details, check out the paper presented at [WOAH 2021](https://aclanthology.org/2021.woah-1.3/). The code and the fine-tuned models are available on [OSF](https://osf.io/tbd58/?view_onlycb79b3228d4248ddb875eb1803525ad8). Fine-tuned models have a different licence, check the dedicated repository.
|
| 23 |
|
| 24 |
|
| 25 |
### BibTeX entry and citation info
|