Update README.md
Browse files
README.md
CHANGED
|
@@ -25,8 +25,7 @@ model = RobertaForSequenceClassification.from_pretrained('s-nlp/roberta_first_to
|
|
| 25 |
batch = tokenizer.encode("You are amazing!", return_tensors="pt")
|
| 26 |
|
| 27 |
output = model(batch)
|
| 28 |
-
|
| 29 |
-
# 0 for neutral, 1 for toxic
|
| 30 |
```
|
| 31 |
|
| 32 |
## Citation
|
|
|
|
| 25 |
batch = tokenizer.encode("You are amazing!", return_tensors="pt")
|
| 26 |
|
| 27 |
output = model(batch)
|
| 28 |
+
# idx 0 for neutral, idx 1 for toxic
|
|
|
|
| 29 |
```
|
| 30 |
|
| 31 |
## Citation
|