autotrain-advanced icon indicating copy to clipboard operation
autotrain-advanced copied to clipboard

Doc pages are missing --max_models

Open juliensimon opened this issue 3 years ago • 2 comments

Hello,

--max_models is a required parameter. However, it doesn't appear in the task doc pages, e.g. https://huggingface.co/docs/autonlp/multi_class_classification.html

Thank you :)

juliensimon avatar Oct 15 '21 08:10 juliensimon

If you are using the CLI, max_models should take a default value of 10 if you don't explicitly provide it. do you get an error?

abhishekkrthakur avatar Oct 15 '21 08:10 abhishekkrthakur

Yes. If I omit the parameter, I get an error.

autonlp create_project --name my_project --language en --task multi_class_classification
usage: autonlp <command> [<args>] create_project [-h] --name NAME --task TASK [--language LANGUAGE] --max_models MAX_MODELS [--hub_model HUB_MODEL]
autonlp <command> [<args>] create_project: error: the following arguments are required: --max_models

autonlp.__version__
'0.3.7'

juliensimon avatar Oct 15 '21 09:10 juliensimon

Closing issue as obsolete to new autotrain-advanced that is soon releasing.

Michellehbn avatar Feb 28 '23 11:02 Michellehbn