If you have predictions generated for your dataset from a model, either as pre-annotated tasks or pre-labeled tasks, you can import the predictions with your dataset into Label Studio for review and correction.
To import predicted labels into Label Studio, you must use the Basic Label Studio JSON format and set up your tasks with the predictions JSON key. The Label Studio ML backend also outputs tasks in this format.
Label Studio JSON format for pre-annotations must contain two sections:
For more information, see the JSON format reference in the Label Studio documentation
Task ID for which the prediction is created
Prediction result in JSON format. Read more about the format in the Label Studio documentation.
Prediction score. Can be used in Data Manager to sort task by model confidence. Task with the lowest score will be shown first.
Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface
List of prediction results for the task
Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface
Delta time from creation time
Prediction score
Cluster for the current prediction
Array of task IDs of the closest neighbors
Related task mislabeling score
An ML Backend instance that created the prediction.
A run of a ModelVersion that created the prediction.