mrm8488 sefinch commited on
Commit
d11ef97
1 Parent(s): 6fde712

Update README.md (#1)

Browse files

- Update README.md (c34f72e2346d5eaba47752e7a8f2f9cf4a1aabd1)


Co-authored-by: Sarah Finch <sefinch@users.noreply.huggingface.co>

Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -81,7 +81,7 @@ ckpt = "mrm8488/longformer-base-4096-finetuned-squadv2"
81
  tokenizer = AutoTokenizer.from_pretrained(ckpt)
82
  model = AutoModelForQuestionAnswering.from_pretrained(ckpt)
83
 
84
- qa = pipeline({"question-answering", model=model, tokenizer=tokenizer)
85
 
86
  text = "Huggingface has democratized NLP. Huge thanks to Huggingface for this."
87
  question = "What has Huggingface done?"
 
81
  tokenizer = AutoTokenizer.from_pretrained(ckpt)
82
  model = AutoModelForQuestionAnswering.from_pretrained(ckpt)
83
 
84
+ qa = pipeline("question-answering", model=model, tokenizer=tokenizer)
85
 
86
  text = "Huggingface has democratized NLP. Huge thanks to Huggingface for this."
87
  question = "What has Huggingface done?"