- Reviewed-by: gtema <artem.goncharov@gmail.com> Co-authored-by: proposalbot <proposalbot@otc-service.com> Co-committed-by: proposalbot <proposalbot@otc-service.com>
49 KiB
- original_name
modelarts_23_0004.html
Creating a Dataset
To manage data using ModelArts, create a dataset. Then you can perform operations on the dataset, such as labeling data, importing data, and publishing the dataset.
Prerequisites
- Before using the data management function, you need permissions to access OBS. This function cannot be used if you are not authorized to access OBS. Before using the data management function, go to the Settings page and complete access authorization using an agency.
- You have created OBS buckets and folders for storing data.
- You have uploaded data to be used to OBS.
Procedure
- Log in to the ModelArts management console. In the left navigation pane, choose Data Management > Datasets. The Datasets page is displayed.
- Click Create Dataset. On the Create Dataset page, create datasets of different types based on the data type and data labeling requirements.
Set the basic information, the name and description of the dataset.
Figure 1 Basic information about a dataset Select a labeling scene and type as required. For details about the types supported by ModelArts, see
Dataset Types <modelarts_23_0003__en-us_topic_0171496996_section51771731153811>
.Figure 2 Selecting a labeling scene and type Set the parameters based on the dataset type. For details, see the parameters of the following dataset types:
Images (Image Classification, Object Detection) <modelarts_23_0004__en-us_topic_0170886809_section8625131415541>
Audio (Sound Classification, Speech Labeling, and Speech Paragraph Labeling) <modelarts_23_0004__en-us_topic_0170886809_section17893314546>
Text (Text Classification, Named Entity Recognition, and Text Triplet) <modelarts_23_0004__en-us_topic_0170886809_section16230452125420>
Other (Free Format) <modelarts_23_0004__en-us_topic_0170886809_section359415145517>
Click Create in the lower right corner of the page.
After the dataset is created, the dataset management page is displayed. You can perform the following operations on the dataset: label data, publish dataset versions, manage dataset versions, modify the dataset, import data, and delete the dataset. For details about the operations supported by different types of datasets, see .
Images (Image Classification, Object Detection, )

Parameter | Description |
---|---|
Input Dataset Path | Select the OBS path to the input dataset. |
Output Dataset Path | Select the OBS path to the output dataset. Note The output dataset path cannot be the same as the input dataset path or cannot be the subdirectory of the input dataset path. Select an empty directory as the Output Dataset Path. |
Label Set |
|
Team Labeling | Enable or disable team labeling. Image segmentation does not support team labeling. Therefore, this parameter is unavailable when you use image segmentation. After enabling team labeling, enter the name and type of the team labeling task, and select the labeling team and team members. For details about the parameter settings, see Before enabling team labeling, ensure that you have added a team and members on the Labeling Teams page. If no labeling team is available, click the link on the page to go to the Labeling Teams page, and add your team and members. For details, see After a dataset is created with team labeling enabled, you can view the Team Labeling mark in Labeling Type. |
Audio (Sound Classification, Speech Labeling, and Speech Paragraph Labeling)

Parameter | Description |
---|---|
Input Dataset Path | Select the OBS path to the input dataset. |
Output Dataset Path | Select the OBS path to the output dataset. Note The output dataset path cannot be the same as the input dataset path or cannot be the subdirectory of the input dataset path. Select an empty directory as the Output Dataset Path. |
Label Set (Sound Classification) | Set labels only for datasets of the sound classification type.
|
Label Management (Speech Paragraph Labeling) | Only datasets for speech paragraph labeling support multiple labels.
|
Speech Labeling (Speech Paragraph Labeling) | Only datasets for speech paragraph labeling support speech labeling. By default, speech labeling is disabled. If this function is enabled, you can label speech content. |
Text (Text Classification, Named Entity Recognition, and Text Triplet)

Parameter | Description |
---|---|
Input Dataset Path | Select the OBS path to the input dataset. Note Labeled text classification data can be identified only when you import data. When creating a dataset, set an empty OBS directory. After the dataset is created, import the labeled data into it. For details about the format of the data to be imported, see |
Output Dataset Path | Select the OBS path to the output dataset. Note The output dataset path cannot be the same as the input dataset path or cannot be the subdirectory of the input dataset path. Select an empty directory as the Output Dataset Path. |
Label Set (for text classification and named entity recognition) |
|
Label Set (for text triplet) | For datasets of the text triplet type, set entity labels and relationship labels.
|
Team Labeling | Enable or disable team labeling. After enabling team labeling, enter the name and type of the team labeling task, and select the labeling team and team members. For details about the parameter settings, see Before enabling team labeling, ensure that you have added a team and members on the Labeling Teams page. If no labeling team is available, click the link on the page to go to the Labeling Teams page, and add your team and members. For details, see After a dataset is created with team labeling enabled, you can view the Team Labeling mark in Labeling Type. |
Other (Free Format)

Parameter | Description |
---|---|
Input Dataset Path | Select the OBS path to the input dataset. |
Output Dataset Path | Select the OBS path to the output dataset. Note The output dataset path cannot be the same as the input dataset path or cannot be the subdirectory of the input dataset path. Select an empty directory as the Output Dataset Path. |