Triplet labeling is suitable for scenarios where structured information, such as subjects, predicates, and objects, needs to be labeled in statements. With this function, not only entities in statements, but also relationships between entities can be labeled. Triplet labeling is often used in natural language processing tasks such as dependency syntax analysis and information extraction.
Text triplet labeling involves two classes of important labels: Entity Label and Relationship Label. For Relationship Label, set its Source entity and Target entity.
Before labeling, ensure that the Entity Label and Relationship Label of a labeling job have been defined. For Relationship Label, set its Source entity and Target entity. Relationship Label must be between the defined Source entity and Target entity.
For example, if two entities are labeled as Place, you cannot add any relationship label between them. If a relationship label cannot be added, a red cross is displayed.
ModelArts automatically synchronizes data and labeling information from datasets to the labeling job.
To quickly obtain the latest data in the datasets, in the Unlabeled tab of the labeling job details page, click Synchronize New Data.
The labeling job details page displays the Unlabeled and Labeled tabs. The Unlabeled tab is displayed by default.
You cannot modify the labels of a dataset in the text triplet type on the labeling page. Instead, click Label Management and modify the Entity Label and Relationship Label.
After labeling data, you can modify labeled data in the Labeled tab.
On the labeling job details page, click the Labeled tab. Select a text object in the left pane and the right pane displays the detailed label information. You can move your cursor to the entity or relationship label, and right-click to delete it. You can also click the source entity and target entity in sequence to add a relationship label.
In addition to the data synchronized, you can directly add data on labeling job details page for labeling.
For details about how to import data, see section "Importing Data".
You can quickly delete the files you want to discard.
The background of the selected text is blue. If no text is selected on the page, the Delete button is unavailable.
If team labeling is enabled for a labeling job, view its labeling details in the Annotator Management tab. Additionally, you can add, modify, or delete annotators.
Click Add Member, select a member name, and click OK.
Click Send Email in the Operation column to send the labeling job to the annotator by email.
Click Modify in the Operation column to modify the role of the annotator.
Click Delete in the Operation column to delete the annotator.