afcarvallo commited on
Commit
919ca2d
1 Parent(s): 229edf8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -5
README.md CHANGED
@@ -1,20 +1,19 @@
1
 
2
  # Hate Speech Classification Model
3
 
4
- This model is fine-tuned for Named Entity Recognition (NER) specifically for intent detection.
5
 
6
  ## Model Details
7
 
8
  - Model Type: RoBERTa
9
- - Number of Labels: 6
10
- - Labels: ['O', 'derogation', 'animosity', 'threatening', 'hatecrime', 'comparison']
11
 
12
  ## Usage
13
 
14
  ```python
15
- from transformers import AutoModelForTokenClassification, AutoTokenizer
16
 
17
- model = AutoModelForTokenClassification.from_pretrained("afcarvallo/hate-speech-intent-model-ihc")
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
  ```