Instructions to use HannahRoseKirk/Hatemoji with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HannahRoseKirk/Hatemoji with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="HannahRoseKirk/Hatemoji")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("HannahRoseKirk/Hatemoji") model = AutoModelForSequenceClassification.from_pretrained("HannahRoseKirk/Hatemoji", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
f2f9858
1
Parent(s): f995009
Update README.md
Browse files
README.md
CHANGED
|
@@ -26,7 +26,7 @@ This model is a fine-tuned version of the [DeBERTa base model](https://huggingfa
|
|
| 26 |
## Intended uses & limitations
|
| 27 |
The intended use of the model is to classify English-language, emoji-containing, short-form text documents as a binary task: non-hateful vs hateful. The model has demonstrated strengths compared to commercial and academic models on classifying emoji-based hate, but is also a strong classifier of text-only hate. Because the model was trained on synthetic, adversarially-generated data, it may have some weaknesses when it comes to empirical emoji-based hate 'in-the-wild'.
|
| 28 |
|
| 29 |
-
You can interact with this model on [Dynabench](https://dynabench.org/tasks/hs), and find its limitations. We hope to continue improving the model on new adversarial data to better iron out its weaknesses!
|
| 30 |
|
| 31 |
## How to use
|
| 32 |
The model can be used with pipeline:
|
|
|
|
| 26 |
## Intended uses & limitations
|
| 27 |
The intended use of the model is to classify English-language, emoji-containing, short-form text documents as a binary task: non-hateful vs hateful. The model has demonstrated strengths compared to commercial and academic models on classifying emoji-based hate, but is also a strong classifier of text-only hate. Because the model was trained on synthetic, adversarially-generated data, it may have some weaknesses when it comes to empirical emoji-based hate 'in-the-wild'.
|
| 28 |
|
| 29 |
+
You can interact with this model on [Dynabench](https://dynabench.org/tasks/hs), and find its limitations. We hope to continue improving the model on new adversarial data to better iron out its remaining weaknesses!
|
| 30 |
|
| 31 |
## How to use
|
| 32 |
The model can be used with pipeline:
|