When using CLI, pass the local_path to the model argument instead of the checkpoint name on 🤗 Hub and provide the --task argument.