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
a7d73cfd
Unverified
Commit
a7d73cfd
authored
Nov 24, 2020
by
Quentin Lhoest
Committed by
GitHub
Nov 24, 2020
Browse files
fix rag index names in eval_rag.py example (#8730)
parent
8d4ed7e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/rag/eval_rag.py
examples/rag/eval_rag.py
+1
-1
No files found.
examples/rag/eval_rag.py
View file @
a7d73cfd
...
@@ -153,7 +153,7 @@ def get_args():
...
@@ -153,7 +153,7 @@ def get_args():
parser
.
add_argument
(
parser
.
add_argument
(
"--index_name"
,
"--index_name"
,
default
=
None
,
default
=
None
,
choices
=
[
"
hf
"
,
"legacy"
],
choices
=
[
"
exact"
,
"compressed
"
,
"legacy"
],
type
=
str
,
type
=
str
,
help
=
"RAG model retriever type"
,
help
=
"RAG model retriever type"
,
)
)
...
...
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