Instructions to use wesleyacheng/hate-speech-multilabel-classification-with-bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use wesleyacheng/hate-speech-multilabel-classification-with-bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="wesleyacheng/hate-speech-multilabel-classification-with-bert")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("wesleyacheng/hate-speech-multilabel-classification-with-bert") model = AutoModelForSequenceClassification.from_pretrained("wesleyacheng/hate-speech-multilabel-classification-with-bert") - Notebooks
- Google Colab
- Kaggle
Commit ·
fb276e1
1
Parent(s): 0226706
Update README.md
Browse files
README.md
CHANGED
|
@@ -10,7 +10,7 @@ metrics:
|
|
| 10 |
pipeline_tag: text-classification
|
| 11 |
widget:
|
| 12 |
- text: Yellow peril.
|
| 13 |
-
example_title:
|
| 14 |
- text: Nietzsche said 'God is dead'.
|
| 15 |
example_title: Religion Hate Example
|
| 16 |
- text: Go back to where you came from.
|
|
|
|
| 10 |
pipeline_tag: text-classification
|
| 11 |
widget:
|
| 12 |
- text: Yellow peril.
|
| 13 |
+
example_title: Race Hate Example
|
| 14 |
- text: Nietzsche said 'God is dead'.
|
| 15 |
example_title: Religion Hate Example
|
| 16 |
- text: Go back to where you came from.
|