Update README.md
Browse files
README.md
CHANGED
@@ -33,9 +33,9 @@ model = AutoModelForSequenceClassification.from_pretrained('NLP-LTU/bertweet-lar
|
|
33 |
tokenizer = AutoTokenizer.from_pretrained('NLP-LTU/bertweet-large-sexism-detector')
|
34 |
classifier = pipeline("text-classification", model=model, tokenizer=tokenizer)
|
35 |
prediction=classifier("Every woman wants to be a model. It's codeword for 'I get everything for free and people want me' ")
|
36 |
-
label_pred = 'not sexist' if prediction == 0 else 'sexist'
|
37 |
|
38 |
-
print(
|
39 |
```
|
40 |
our system rank 10 out of 84 teams, and our results on the test set was:
|
41 |
```
|
|
|
33 |
tokenizer = AutoTokenizer.from_pretrained('NLP-LTU/bertweet-large-sexism-detector')
|
34 |
classifier = pipeline("text-classification", model=model, tokenizer=tokenizer)
|
35 |
prediction=classifier("Every woman wants to be a model. It's codeword for 'I get everything for free and people want me' ")
|
36 |
+
# label_pred = 'not sexist' if prediction == 0 else 'sexist'
|
37 |
|
38 |
+
print(prediction)
|
39 |
```
|
40 |
our system rank 10 out of 84 teams, and our results on the test set was:
|
41 |
```
|