Up to now, I’ve been using the autotrain ui (space) on huggingface to train models.
I would like to know if there is a way to start a model training using autotrain powered bu HF GPUs but only using the API.
I’ve spotted a page in the documentation that talks about this but one has to start the app first: autotrain app --port 8000 --host 127.0.0.1
Is there a way to bypass this and directly train the model on HF ?
start the app: autotrain app --port 8000 --host 127.0.0.1
you can see api docs at 127.0.0.1/docs. api endpoint to create project is available at /api/create_project
Note: local datasets are not supported in api mode.
I guess the next think I’d like to know is if there is a way to do it using python directly by passing a dict that includes all parameters (as I see that it parses a json containing the configuration under the hood)