KoichiYasuoka
commited on
Commit
·
51bb6d2
1
Parent(s):
1f03df7
bug fix
Browse files
README.md
CHANGED
@@ -27,7 +27,6 @@ This is a RoBERTa model pretrained on 青空文庫 for dependency-parsing (head-
|
|
27 |
## How to Use
|
28 |
|
29 |
```py
|
30 |
-
import torch
|
31 |
from transformers import AutoTokenizer,AutoModelForQuestionAnswering,QuestionAnsweringPipeline
|
32 |
tokenizer=AutoTokenizer.from_pretrained("KoichiYasuoka/roberta-base-japanese-aozora-ud-head")
|
33 |
model=AutoModelForQuestionAnswering.from_pretrained("KoichiYasuoka/roberta-base-japanese-aozora-ud-head")
|
|
|
27 |
## How to Use
|
28 |
|
29 |
```py
|
|
|
30 |
from transformers import AutoTokenizer,AutoModelForQuestionAnswering,QuestionAnsweringPipeline
|
31 |
tokenizer=AutoTokenizer.from_pretrained("KoichiYasuoka/roberta-base-japanese-aozora-ud-head")
|
32 |
model=AutoModelForQuestionAnswering.from_pretrained("KoichiYasuoka/roberta-base-japanese-aozora-ud-head")
|