sjrhuschlee commited on
Commit
ce2db4c
1 Parent(s): cdf2718

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -170,7 +170,7 @@ num_epochs: 4.0
170
  Haystack is an NLP framework by deepset. You can use this model in a Haystack pipeline to do extractive question answering at scale (over many documents). To load the model in [Haystack](https://github.com/deepset-ai/haystack/):
171
  ```python
172
  # NOTE: This only works with Haystack v2.0!
173
- reader = ExtractiveReader(model_name_or_path="deepset/flan-t5-xl-squad2")
174
  ```
175
 
176
  ### In Transformers
 
170
  Haystack is an NLP framework by deepset. You can use this model in a Haystack pipeline to do extractive question answering at scale (over many documents). To load the model in [Haystack](https://github.com/deepset-ai/haystack/):
171
  ```python
172
  # NOTE: This only works with Haystack v2.0!
173
+ reader = ExtractiveReader("deepset/flan-t5-xl-squad2")
174
  ```
175
 
176
  ### In Transformers