Skip to content

Commit

Permalink
change stopping factor default (allenai#2021)
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh authored and matt-gardner committed Nov 7, 2018
1 parent b919f5a commit be36374
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions allennlp/commands/find_learning_rate.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ def add_subparser(self, name: str, parser: argparse._SubParsersAction) -> argpar
required=True,
type=str,
help='The directory in which to save results.')

subparser.add_argument('-o', '--overrides',
type=str,
default="",
Expand All @@ -100,7 +99,7 @@ def add_subparser(self, name: str, parser: argparse._SubParsersAction) -> argpar
help='number of mini-batches to run Learning rate finder')
subparser.add_argument('--stopping-factor',
type=float,
default=4.0,
default=None,
help='stop the search when the current loss exceeds the best loss recorded by '
'multiple of stopping factor')
subparser.add_argument('--linear',
Expand Down

0 comments on commit be36374

Please sign in to comment.