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
OpenDAS
AutoAWQ
Commits
bdde6c96
Commit
bdde6c96
authored
Aug 31, 2023
by
Casper Hansen
Browse files
Python 3.8 compatibility
parent
ce2dc060
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
awq/entry.py
awq/entry.py
+1
-1
No files found.
awq/entry.py
View file @
bdde6c96
...
...
@@ -152,7 +152,7 @@ if __name__ == '__main__':
parser
.
add_argument
(
'--tasks'
,
type
=
str
,
default
=
'wikitext'
,
help
=
'Tasks to evaluate. '
'Separate tasks by comma for multiple tasks.'
'https://github.com/EleutherAI/lm-evaluation-harness/blob/master/docs/task_table.md'
)
parser
.
add_argument
(
"--task_use_pretrained"
,
default
=
False
,
action
=
argparse
.
BooleanOptionalAction
,
parser
.
add_argument
(
"--task_use_pretrained"
,
default
=
False
,
action
=
'store_true'
,
help
=
"Pass '--task_use_pretrained' to use a pretrained model running FP16"
)
parser
.
add_argument
(
'--task_batch_size'
,
type
=
int
,
default
=
1
)
parser
.
add_argument
(
'--task_n_shot'
,
type
=
int
,
default
=
0
)
...
...
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