diff --git a/scripts/convert.py b/scripts/convert.py index 3d2d6a1d6..b86abb9b6 100644 --- a/scripts/convert.py +++ b/scripts/convert.py @@ -114,7 +114,7 @@ class ConversionArguments: metadata={ "help": ( "The task to export the model for. If not specified, the task will be auto-inferred based on the model. Available tasks depend on the model, but are among:" - f" {str(list(TasksManager._TASKS_TO_AUTOMODELS.keys()))}. For decoder models, use `xxx-with-past` to export the model using past key values in the decoder." + f" {str(TasksManager.get_all_tasks())}. For decoder models, use `xxx-with-past` to export the model using past key values in the decoder." ) } )