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
bea1a859
Unverified
Commit
bea1a859
authored
Jun 09, 2024
by
Sadra Barikbin
Committed by
GitHub
Jun 09, 2024
Browse files
Update __main__.py (#1939)
parent
40f5458f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lm_eval/__main__.py
lm_eval/__main__.py
+1
-1
No files found.
lm_eval/__main__.py
View file @
bea1a859
...
@@ -237,7 +237,7 @@ def setup_parser() -> argparse.ArgumentParser:
...
@@ -237,7 +237,7 @@ def setup_parser() -> argparse.ArgumentParser:
help
=
(
help
=
(
"Set seed for python's random, numpy, torch, and fewshot sampling.
\n
"
"Set seed for python's random, numpy, torch, and fewshot sampling.
\n
"
"Accepts a comma-separated list of 4 values for python's random, numpy, torch, and fewshot sampling seeds, "
"Accepts a comma-separated list of 4 values for python's random, numpy, torch, and fewshot sampling seeds, "
"respectively, or a single integer to set the same seed for all
three
.
\n
"
"respectively, or a single integer to set the same seed for all
four
.
\n
"
f
"The values are either an integer or 'None' to not set the seed. Default is `
{
default_seed_string
}
` "
f
"The values are either an integer or 'None' to not set the seed. Default is `
{
default_seed_string
}
` "
"(for backward compatibility).
\n
"
"(for backward compatibility).
\n
"
"E.g. `--seed 0,None,8,52` sets `random.seed(0)`, `torch.manual_seed(8)`, and fewshot sampling seed to 52. "
"E.g. `--seed 0,None,8,52` sets `random.seed(0)`, `torch.manual_seed(8)`, and fewshot sampling seed to 52. "
...
...
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