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.
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 Instructions.
- 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.
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.
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.
Where Label Studio stores your project data and configurations
All labeling activities in Label Studio occur in the context of a project.
Starting in version 1.0.0, Label Studio stores your project data and configurations in a SQLite database. You can choose to use PostgreSQL instead. See Set up database storage.
In versions of Label Studio earlier than 1.0.0, when you start Label Studio for the first time, it launches from a project directory that Label Studio creates, called ./my_project
by default.
label-studio start ./my_project --init