alisawuffles
commited on
Commit
•
8a5043c
1
Parent(s):
05abe3b
Update README.md
Browse files
README.md
CHANGED
@@ -7,6 +7,8 @@ This is an off-the-shelf roberta-large model finetuned on WANLI, the Worker-AI C
|
|
7 |
|
8 |
### How to use
|
9 |
```
|
|
|
|
|
10 |
model = RobertaForSequenceClassification.from_pretrained('alisawuffles/roberta-large-wanli')
|
11 |
tokenizer = RobertaTokenizer.from_pretrained('alisawuffles/roberta-large-wanli')
|
12 |
|
|
|
7 |
|
8 |
### How to use
|
9 |
```
|
10 |
+
from transformers import RobertaTokenizer, RobertaForSequenceClassification
|
11 |
+
|
12 |
model = RobertaForSequenceClassification.from_pretrained('alisawuffles/roberta-large-wanli')
|
13 |
tokenizer = RobertaTokenizer.from_pretrained('alisawuffles/roberta-large-wanli')
|
14 |
|