|
|
|
@ -15,7 +15,7 @@ def main():
|
|
|
|
|
parser = configargparse.ArgParser(default_config_files=["config.yml"])
|
|
|
|
|
parser.add('-c', '--config', required=False, is_config_file=True, help='config file path')
|
|
|
|
|
|
|
|
|
|
group = parser.add_mutually_exclusive_group()
|
|
|
|
|
group = parser.add_mutually_exclusive_group(required=True)
|
|
|
|
|
group.add_argument('--converted_model_name_or_path', type=str, default=None,
|
|
|
|
|
help="path or name of a pretrained model, converted with cli/convert_model.py")
|
|
|
|
|
group.add_argument('model', nargs='?', type=str, help="same as --converted_model_name_or_path")
|
|
|
|
|