Instructions to use facebook/roberta-hate-speech-dynabench-r4-target with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/roberta-hate-speech-dynabench-r4-target with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="facebook/roberta-hate-speech-dynabench-r4-target")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("facebook/roberta-hate-speech-dynabench-r4-target") model = AutoModelForSequenceClassification.from_pretrained("facebook/roberta-hate-speech-dynabench-r4-target", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Tristan Thrush commited on
Commit ·
5de477c
1
Parent(s): 55ba005
Update README.md
Browse files
README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
| 2 |
language: en
|
| 3 |
---
|
| 4 |
|
| 5 |
-
# LFTW
|
| 6 |
|
| 7 |
-
The
|
| 8 |
|
| 9 |
## Citation Information
|
| 10 |
|
|
|
|
| 2 |
language: en
|
| 3 |
---
|
| 4 |
|
| 5 |
+
# LFTW R4 Target
|
| 6 |
|
| 7 |
+
The R4 Target model from [Learning from the Worst: Dynamically Generated Datasets to Improve Online Hate Detection](https://arxiv.org/abs/2012.15761)
|
| 8 |
|
| 9 |
## Citation Information
|
| 10 |
|