afcarvallo
commited on
Commit
•
919ca2d
1
Parent(s):
229edf8
Update README.md
Browse files
README.md
CHANGED
@@ -1,20 +1,19 @@
|
|
1 |
|
2 |
# Hate Speech Classification Model
|
3 |
|
4 |
-
This model is fine-tuned for
|
5 |
|
6 |
## Model Details
|
7 |
|
8 |
- Model Type: RoBERTa
|
9 |
-
- Number of Labels:
|
10 |
-
- Labels: ['O', 'derogation', 'animosity', 'threatening', 'hatecrime', 'comparison']
|
11 |
|
12 |
## Usage
|
13 |
|
14 |
```python
|
15 |
-
from transformers import
|
16 |
|
17 |
-
model =
|
18 |
tokenizer = AutoTokenizer.from_pretrained("afcarvallo/hate-speech-intent-model-ihc")
|
19 |
|
20 |
```
|
|
|
1 |
|
2 |
# Hate Speech Classification Model
|
3 |
|
4 |
+
This model is fine-tuned for hatespeech detection using pre annotated NER intent tags.
|
5 |
|
6 |
## Model Details
|
7 |
|
8 |
- Model Type: RoBERTa
|
9 |
+
- Number of Labels: 2
|
|
|
10 |
|
11 |
## Usage
|
12 |
|
13 |
```python
|
14 |
+
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
15 |
|
16 |
+
model = AutoModelForSequenceClassification.from_pretrained("afcarvallo/hate-speech-intent-model-ihc")
|
17 |
tokenizer = AutoTokenizer.from_pretrained("afcarvallo/hate-speech-intent-model-ihc")
|
18 |
|
19 |
```
|