Unverified Commit bea1a859 authored by Sadra Barikbin's avatar Sadra Barikbin Committed by GitHub
Browse files

Update __main__.py (#1939)

parent 40f5458f
...@@ -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. "
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment