Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
17b1fd80
"include/vscode:/vscode.git/clone" did not exist on "48ba6e8a69947c67b0b4e5021178fe3e2f2c638e"
Unverified
Commit
17b1fd80
authored
Nov 12, 2020
by
Antonio Lanza
Committed by
GitHub
Nov 12, 2020
Browse files
Fix typo in roberta-base-squad2-v2 model card (#8489)
parent
c6c08ebf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
model_cards/deepset/roberta-base-squad2-v2/README.md
model_cards/deepset/roberta-base-squad2-v2/README.md
+2
-2
No files found.
model_cards/deepset/roberta-base-squad2-v2/README.md
View file @
17b1fd80
...
...
@@ -90,9 +90,9 @@ tokenizer = Tokenizer.load(model_name)
### 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/
)
:
```
python
reader
=
FARMReader
(
model_name_or_path
=
"deepset/roberta-base-squad2"
)
reader
=
FARMReader
(
model_name_or_path
=
"deepset/roberta-base-squad2
-v2
"
)
# 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
"
)
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment