KoichiYasuoka commited on
Commit
180e157
1 Parent(s): a9e034c
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -31,7 +31,7 @@ from transformers import AutoTokenizer,AutoModelForQuestionAnswering,QuestionAns
31
  tokenizer=AutoTokenizer.from_pretrained("KoichiYasuoka/roberta-base-japanese-aozora-ud-head")
32
  model=AutoModelForQuestionAnswering.from_pretrained("KoichiYasuoka/roberta-base-japanese-aozora-ud-head")
33
  qap=QuestionAnsweringPipeline(tokenizer=tokenizer,model=model,align_to_words=False)
34
- print(qap(question="国語",context="全学年にわたって小学校の国語の教科書に挿し絵>が用いられている"))
35
  ```
36
 
37
  or (with [ufal.chu-liu-edmonds](https://pypi.org/project/ufal.chu-liu-edmonds/))
 
31
  tokenizer=AutoTokenizer.from_pretrained("KoichiYasuoka/roberta-base-japanese-aozora-ud-head")
32
  model=AutoModelForQuestionAnswering.from_pretrained("KoichiYasuoka/roberta-base-japanese-aozora-ud-head")
33
  qap=QuestionAnsweringPipeline(tokenizer=tokenizer,model=model,align_to_words=False)
34
+ print(qap(question="国語",context="全学年にわたって小学校の国語の教科書に挿し絵が用いられている"))
35
  ```
36
 
37
  or (with [ufal.chu-liu-edmonds](https://pypi.org/project/ufal.chu-liu-edmonds/))