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
gaoqiong
lm-evaluation-harness
Commits
b5ce475d
Commit
b5ce475d
authored
Aug 17, 2023
by
haileyschoelkopf
Browse files
re-enable MultiChoice on --tasks
parent
2e2f28a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
main.py
main.py
+1
-1
No files found.
main.py
View file @
b5ce475d
...
...
@@ -24,7 +24,7 @@ def parse_args():
help
=
"String arguments for model, e.g. `pretrained=EleutherAI/pythia-160m,dtype=float32`"
,
)
parser
.
add_argument
(
"--tasks"
,
default
=
None
#
, choices=utils.MultiChoice(sorted(ALL_TASKS))
"--tasks"
,
default
=
None
,
choices
=
utils
.
MultiChoice
(
sorted
(
ALL_TASKS
))
)
parser
.
add_argument
(
"--num_fewshot"
,
...
...
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