Skip to content

Commit d2ff5c0

Browse files
committed
Bugfix: Add -v argument for utility command of train.py
1 parent e49a13a commit d2ff5c0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

train.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,13 @@ def __call__(self, parser, namespace, values, option_strings):
376376
nargs="*",
377377
default=["bbc", "cookstr", "nyt", "allrecipes", "tc"],
378378
)
379+
utility_parser.add_argument(
380+
"-v",
381+
help="Enable verbose output.",
382+
action="count",
383+
default=0,
384+
dest="verbose",
385+
)
379386

380387
args = parser.parse_args()
381388

0 commit comments

Comments
 (0)