Conditions | 1 |
Total Lines | 6 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | #!/usr/bin/env python |
||
8 | def get_cli_arguments(): |
||
9 | parser = argparse.ArgumentParser(prog='report_models.py', description='Reports on the trained models for the specified collection (dataset)', formatter_class=argparse.ArgumentDefaultsHelpFormatter) |
||
10 | parser.add_argument('dataset', metavar='collection_name', help='the collection to report models trained on') |
||
11 | # parser.add_argument('--details', '-d', default=False, action='store_true', help='Switch to show details about the models') |
||
12 | parser.add_argument('--sort', '-s', default='perplexity', help='Whether to sort the found experiments by checking the desired metric against the corresponding models') |
||
13 | return parser.parse_args() |
||
14 | |||
54 |