ML

Start training

POST

After you connect a model to Label Studio as a machine learning backend and annotate at least one task, you can start training the model. Training logs appear in stdout and the console.

For more information, see Model training.

You will need to specify an ID for the backend connection. You can find this using List ML backends.

Path parameters

idintegerRequired
A unique integer value identifying this ML backend.

Request

This endpoint expects an object.
use_ground_truth
booleanOptional
Whether to include ground truth annotations in training
POST
1curl -X POST http://localhost:8080/api/ml/1/train \
2 -H "Authorization: Token <api_key>" \
3 -H "Content-Type: application/json" \
4 -d '{}'