Update README.md
Browse files
README.md
CHANGED
@@ -19,7 +19,7 @@ For more details about the datasets and eval results, see (we will updated the
|
|
19 |
```python
|
20 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer,pipeline
|
21 |
import torch
|
22 |
-
model = AutoModelForSequenceClassification.from_pretrained('
|
23 |
tokenizer = AutoTokenizer.from_pretrained('vinai/bertweet-large')
|
24 |
classifier = pipeline("text-classification", model=model, tokenizer=tokenizer)
|
25 |
prediction=classifier("Every woman wants to be a model. It's codeword for 'I get everything for free and people want me' ")
|
|
|
19 |
```python
|
20 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer,pipeline
|
21 |
import torch
|
22 |
+
model = AutoModelForSequenceClassification.from_pretrained('sana-ngu/BERTweet-large-sexism-detector')
|
23 |
tokenizer = AutoTokenizer.from_pretrained('vinai/bertweet-large')
|
24 |
classifier = pipeline("text-classification", model=model, tokenizer=tokenizer)
|
25 |
prediction=classifier("Every woman wants to be a model. It's codeword for 'I get everything for free and people want me' ")
|