Project setup
All labeling activities in Label Studio occur in the context of a project.
- Create a project
- Import data.
- Select a template to configure the labeling interface for your dataset. Set up the labeling interface for your project.
- (Optional) Set up annotation settings for your project.
Create a project
When you’re creating a project, you can save your progress at any time. You don’t need to import your data and set up the labeling interface all at the same time, but you can.
- In the Label Studio UI, click Create Project.
- Type a project name and a description. If you want, choose a color for your project.
- If you’re ready to import your data, click Data Import and import data from the Label Studio UI. For details about import formats and data types, see Get data into Label Studio.
- If you’re ready to set up the labeling interface, click Labeling Setup and choose a template or create a custom configuration for labeling. See Set up the labeling interface for your project.
- When you’re done, click Save to save your project.
You can also create a project from a template by clicking Use Template. See more about project templates.
After you save a project, any other collaborator with access to the Label Studio instance can view your project, perform labeling, and make changes. To use role-based access control, you need to use Label Studio Enterprise Edition.
Set up annotation settings for your project
Set up annotation settings to configure how you want annotators to perform labeling for your project.
Some annotation settings are only available in Label Studio Enterprise Edition. If you’re using Label Studio Community Edition, see Label Studio Features to learn more.
Set up instructions for data labelers
In the project settings, you can add instructions and choose whether to show the instructions to annotators before they perform labeling.
- Within a project on the Label Studio UI, click Settings.
- Click Annotation Settings.
- Type instructions and choose whether to show the instructions to annotators before labeling. If you want to provide additional details or links for reference, instructions support HTML markup.
- Click Save.
Click the project name to return to the data manager view.
Annotators can view instructions at any time when labeling by clicking the (i) button from the labeling interface.
Set up task distribution for labeling
Select how you want to distribute tasks to annotators for labeling. Different from task sampling, use this setting to choose whether you need to assign annotators before they can start labeling.
- Within a project on the Label Studio UI, click Settings.
- Click Annotation Settings.
- Under Distribute Labeling Tasks, select one of the following:
- Auto, the default option, to distribute tasks automatically to annotators.
- Manual, to show tasks to assigned annotators first, then automatically distribute unassigned tasks.
Your changes save automatically.
note
You can't assign annotators to tasks unless you select the Manual option.
Set minimum annotations per task
By default, each task only needs to be annotated by one annotator. If you want multiple annotators to be able to annotate tasks, set the Overlap of Annotations for a project in the project settings.
- Within a project on the Label Studio UI, click Settings.
- Click Quality.
- Under Overlap of Annotations, select the number of minimum annotations for a task.
- Choose whether to enforce the overlap for the default of 100% of tasks, or a smaller percentage.
- Choose whether to show tasks that require multiple annotations, tasks with overlap, before other tasks that need to be annotated.
- Your changes save automatically. Return to the Data Manager and assign annotators to the tasks so that they can annotate the tasks.
How task overlap works
For example, if you want all tasks to be annotated by at least 2 annotators:
- Set the minimum number of annotations to 2
- Enforce the overlap for 100% of tasks.
If you want at least half of the tasks to be annotated by at least 3 people:
- Set the minimum number of annotations to 3
- Enforce the overlap for 50% of tasks.
If you’re using manual distribution of tasks, annotators with tasks assigned to them label those tasks first, then Label Studio automatically distributes the remaining tasks to the project annotators so that the desired overlap and minimum number of annotations per task can be achieved.
Set annotating options
If you want, you can allow empty annotations.
- Within a project on the Label Studio UI, click Settings.
- Click Annotation Settings.
- Under Annotating Options, select Allow empty annotations. By default, empty annotations are allowed.
Set up task sampling
In Label Studio Community Edition, you can set up task sampling from the command line when you start Label Studio or from the Label Studio UI.
- To start a project with specific task sampling, see Set up task sampling for your project.
- To change task sampling settings from the Label Studio UI, do the following:
- Within a project on the Label Studio UI, click Settings.
- On the General settings tab, under Task Sampling, choose between
Sequential sampling
andRandom sampling
. - Click Save.
In Label Studio Enterprise, you can set up task sampling in the annotation settings for a project.
- Within a project on the Label Studio UI, click Settings.
- Click Annotation Settings.
- Select your preferred method of task sampling:
- Uncertainty sampling, where tasks are shown to annotators according to the model uncertainty, or prediction scores.
- Sequential sampling, the default, where tasks are shown to annotators in the same order that they appear on the Data Manager.
- Uniform sampling, where tasks are shown to annotators in a random order.
- You can also choose whether to show tasks with ground truth labels first.
Your changes save automatically.
Define the agreement metrics for annotation statistics
Annotation statistics such as annotator consensus are calculated using an agreement metric. If you want the agreement metric to calculate annotation or prediction agreement by requiring exact matching choices, choose that option in the annotation settings. For more about agreement metrics in Label Studio Enterprise, see Annotation statistics.
- Within a project on the Label Studio UI, click Settings.
- Click Quality.
- Under Annotation Agreement, select Exact matching choices.
- For some types of labeling, you can also select a specific matching function or add a custom agreement metric.
Your changes save automatically.
Set up review settings for your project
Set up review settings to guide reviewers when they review annotated tasks. For more about reviewing annotations, see Review annotations in Label Studio
Review settings and the review stream are only available in Label Studio Enterprise Edition. If you’re using Label Studio Community Edition, see Label Studio Features to learn more.
Set up instructions for task reviewers
In the project settings, you can add instructions and choose whether to show the instructions to reviewers before they start reviewing annotated tasks.
- Within a project on the Label Studio UI, click Settings.
- Click Review.
- Type instructions and choose whether to show the instructions to reviewers before reviewing annotated tasks. If you want to provide additional details or links for reference, instructions support HTML markup.
- Click Save.
- Click Data Manager to return to the data manager view.
Set reviewing options
Configure the reviewing settings for your project.
- Within a project on the Label Studio UI, click Settings.
- Click Review.
- Under Reviewing Options, choose whether to mark a task as reviewed if at least one annotation has been reviewed, or only after all annotations for a task have been processed.
- Under Reviewing Options, choose whether to anonymize annotators when reviewing tasks.
Your changes save automatically.
Add members to a project
In Label Studio Enterprise, you can add members to a specific workspace or add members to a specific project within a workspace.
To add members to a specific project, do the following:
- Within a project, click Members and then click Manage Members.
- Locate the user that you want to add to the project.
- Select the checkbox next to the user’s name and click the
>
arrow so that they appear in the list of users that Belong to the Workspace. - Click Save.
After adding a member to a project, you can assign them as a reviewer or assign them as an annotator to tasks in the project.
Publish project to annotators
In Label Studio Enterprise, you can hide projects from annotators so that you can fully configure the project before annotators can start labeling. When you’re ready for annotators to start labeling, publish the project to annotators.
Before you can open a project to annotators, make sure that you’ve done the following:
- Set up the labeling interface.
- Imported data.
- Moved the project to the correct workspace, if it was in your private sandbox.
To publish a project, do the following:
- Open a project and navigate to the project Dashboard.
- Click Publish.
After the project is published, annotators can view the project and start being assigned tasks according to the method that you use to distribute tasks for labeling.
Create a project template
If you want to easily create a project with the same labeling interface as an existing project in Label Studio Enterprise, create and use a project template.
- In the project that you want to use as a template, open the Settings.
- In the General tab for the project settings, click Save as Template.
- Add a title and description for the project.
- Click Save.
After you create a project template, you can use the template when you create a project.
- When viewing projects or workspaces, click Use Template.
- Select a template from the list.
- Type a project name and description for the new project.
- Click Create. The project is created and saved in your Sandbox.
- Click Import to import data.
- Click Data Manager to start annotating.