"git@developer.sourcefind.cn:change/sglang.git" did not exist on "97c382393181b2b86e6e557b754e3b1b12ad3b2a"
Unverified Commit 17b1fd80 authored by Antonio Lanza's avatar Antonio Lanza Committed by GitHub
Browse files

Fix typo in roberta-base-squad2-v2 model card (#8489)

parent c6c08ebf
...@@ -90,9 +90,9 @@ tokenizer = Tokenizer.load(model_name) ...@@ -90,9 +90,9 @@ tokenizer = Tokenizer.load(model_name)
### In haystack ### In haystack
For doing QA at scale (i.e. many docs instead of single paragraph), you can load the model also in [haystack](https://github.com/deepset-ai/haystack/): For doing QA at scale (i.e. many docs instead of single paragraph), you can load the model also in [haystack](https://github.com/deepset-ai/haystack/):
```python ```python
reader = FARMReader(model_name_or_path="deepset/roberta-base-squad2") reader = FARMReader(model_name_or_path="deepset/roberta-base-squad2-v2")
# or # or
reader = TransformersReader(model="deepset/roberta-base-squad2",tokenizer="deepset/roberta-base-squad2") reader = TransformersReader(model_name_or_path="deepset/roberta-base-squad2-v2",tokenizer="deepset/roberta-base-squad2-v2")
``` ```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment