zhufy commited on
Commit
413398c
1 Parent(s): 794ed68

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -25,7 +25,7 @@ You can use it directly from the [🤗 Transformers](https://github.com/huggingf
25
 
26
  >>> tokenizer = AutoTokenizer.from_pretrained("zhufy/squad-en-bert-base")
27
  >>> model = AutoModelForQuestionAnswering.from_pretrained("zhufy/squad-en-bert-base")
28
- >>> nlp = pipeline("quesiton-answering", model=model, tokenizer=tokenizer)
29
 
30
  >>> context = "A problem is regarded as inherently difficult if its
31
  solution requires significant resources, whatever the
 
25
 
26
  >>> tokenizer = AutoTokenizer.from_pretrained("zhufy/squad-en-bert-base")
27
  >>> model = AutoModelForQuestionAnswering.from_pretrained("zhufy/squad-en-bert-base")
28
+ >>> nlp = pipeline("question-answering", model=model, tokenizer=tokenizer)
29
 
30
  >>> context = "A problem is regarded as inherently difficult if its
31
  solution requires significant resources, whatever the