@@ -31,16 +31,26 @@ class DownloadCommand(BaseTransformersCLICommand):
...
@@ -31,16 +31,26 @@ class DownloadCommand(BaseTransformersCLICommand):
download_parser.add_argument(
download_parser.add_argument(
"--force",action="store_true",help="Force the model to be download even if already in cache-dir"
"--force",action="store_true",help="Force the model to be download even if already in cache-dir"
)
)
download_parser.add_argument(
"--trust-remote-code",
action="store_true",
help="Whether or not to allow for custom models defined on the Hub in their own modeling files. Use only if you've reviewed the code as it will execute on your local machine",
)
download_parser.add_argument("model",type=str,help="Name of the model to download")
download_parser.add_argument("model",type=str,help="Name of the model to download")