forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lai, Weijian <laiweijian4@huawei.com> Co-committed-by: Lai, Weijian <laiweijian4@huawei.com>
51 lines
17 KiB
HTML
51 lines
17 KiB
HTML
<a name="EN-US_TOPIC_0000002043180992"></a><a name="EN-US_TOPIC_0000002043180992"></a>
|
|
|
|
<h1 class="topictitle1">Text Classification</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_p12332179192814">Model training requires a large amount of labeled data. Therefore, before the model training, add labels to the files that are not labeled. In addition, you can modify, delete, and re-label the labeled text.</p>
|
|
<p id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_p1286743123011">Text classification classifies text content based on labels. Before labeling text content, pay attention to the following:</p>
|
|
<ul id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_ul12970104315195"><li id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_li109713431197">Text labeling supports multiple labels. That is, you can add multiple labels to a labeling object.</li><li id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_li2942144881919">A label name can contain a maximum of 1,024 characters, including letters, digits, hyphens (-), underscores (_), and special characters.</li></ul>
|
|
<div class="section" id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_section139520290612"><h4 class="sectiontitle">Starting Labeling</h4><ol id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_en-us_topic_0000001185384417_ol1332113431875"><li id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_en-us_topic_0000001185384417_li173221243078">Log in to the ModelArts management console. In the navigation pane on the left, choose <strong id="EN-US_TOPIC_0000002043180992__b6356196019498">Data Management</strong> > <span class="parmname" id="EN-US_TOPIC_0000002043180992__parmname3426546949498"><b>Label Data</b></span>.</li><li id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_en-us_topic_0000001185384417_li1241123818438">In the labeling job list, select a labeling type from the <strong id="EN-US_TOPIC_0000002043180992__b15549374909498">All type</strong> drop-down list, click the job to be performed based on the labeling type. The details page of the job is displayed.</li><li id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_en-us_topic_0000001185384417_li1766010993710">The job details page displays all data of the labeling job.</li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_section616011413170"><h4 class="sectiontitle">Synchronizing New Data</h4><p id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_en-us_topic_0000001185384417_p114233449177">ModelArts automatically synchronizes data and labeling information from datasets to the labeling job.</p>
|
|
<p id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_en-us_topic_0000001185384417_p38711841115016">To quickly obtain the latest data in the datasets, in the <strong id="EN-US_TOPIC_0000002043180992__b6721335519498">Unlabeled</strong> tab of the labeling job details page, click <strong id="EN-US_TOPIC_0000002043180992__b8586328659498">Synchronize New Data</strong>.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_section888019266174"><h4 class="sectiontitle">Labeling Text Files</h4><p id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_p1024714161239">The labeling job details page displays the <strong id="EN-US_TOPIC_0000002043180992__b8113007459498">Unlabeled</strong> and <strong id="EN-US_TOPIC_0000002043180992__b3435054549498">Labeled</strong> tabs. The <strong id="EN-US_TOPIC_0000002043180992__b5938743599498">Unlabeled</strong> tab is displayed by default.</p>
|
|
<ol id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_ol875212814111"><li id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_li127526819118">In the <span class="wintitle" id="EN-US_TOPIC_0000002043180992__wintitle2627172712522"><b>Unlabeled</b></span> tab, the objects to be labeled are listed in the left pane. In the list, click the text object to be labeled, and select a label in the <span class="parmname" id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_parmname8467804015"><b>Label Set</b></span> area in the right pane. Multiple labels can be added to a labeling object.<p id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_p161309413018">You can repeat this operation to select objects and add labels to the objects.</p>
|
|
</li><li id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_li14243183024617">After all objects are labeled, click <span class="uicontrol" id="EN-US_TOPIC_0000002043180992__uicontrol16961909539498"><b>Save Current Page</b></span> at the bottom of the page.</li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_section1221410499617"><h4 class="sectiontitle">Adding a Label</h4><ul id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_ul743341379"><li id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_li154364376">Adding labels in the <strong id="EN-US_TOPIC_0000002043180992__b4612984879499">Unlabeled</strong> tab: Click the plus sign (+) next to <strong id="EN-US_TOPIC_0000002043180992__b12440975789499">Label Set</strong>. On the displayed <strong id="EN-US_TOPIC_0000002043180992__b18227668829499">Add Label</strong> page, add a label name, select a label color, and click <strong id="EN-US_TOPIC_0000002043180992__b16273917059499">OK</strong>.</li><li id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_li10441041779">Adding labels in the <strong id="EN-US_TOPIC_0000002043180992__b5358884369499">Labeled</strong> tab: Click the plus sign (+) next to <strong id="EN-US_TOPIC_0000002043180992__b20388093549499">Label Set</strong>. On the displayed <strong id="EN-US_TOPIC_0000002043180992__b21054818519499">Add Label</strong> page, add a label name, select a label color, and click <strong id="EN-US_TOPIC_0000002043180992__b5479326519499">OK</strong>.</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_section2958731141718"><h4 class="sectiontitle">Viewing the Labeled Text</h4><p id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_p138711071810">On the labeling job details page, click the <strong id="EN-US_TOPIC_0000002043180992__b7696804269499">Labeled</strong> tab to view the list of labeled texts. You can also view all labels supported by the labeling job in the <strong id="EN-US_TOPIC_0000002043180992__b19888900529499">All Labels</strong> area on the right.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_section0534612151819"><h4 class="sectiontitle">Modifying Labeled Data</h4><p id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_p131161432143310">After labeling data, you can modify labeled data in the <span class="parmname" id="EN-US_TOPIC_0000002043180992__parmname19559239154210"><b>Labeled</b></span> tab.</p>
|
|
<ul id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_ul814710065510"><li id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_li12147807557"><strong id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_b7115141218212">Modifying based on texts</strong><p id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_p758718288619">On the labeling job details page, click the <strong id="EN-US_TOPIC_0000002043180992__b3581430139499">Labeled</strong> tab and select the text to be modified from the text list.</p>
|
|
<p id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_p182222617586">In the text list, click the text. When the text background turns blue, the text is selected. If a text file has multiple labels, you can click <span><img id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_image419617513105" src="figure/en-us_image_0000002043181028.png"></span> on the above to delete the label.</p>
|
|
</li></ul>
|
|
<ul id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_ul141472065510"><li id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_li2014730135520"><strong id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_b19637111442115">Modifying based on labels</strong><p id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_p144965385189">On the labeling job details page, click the <strong id="EN-US_TOPIC_0000002043180992__b1220499709499">Labeled</strong> tab. The information about all labels is displayed on the right.</p>
|
|
<ul id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_ul1280613195380"><li id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_li1519623911485">Batch modification: In the <strong id="EN-US_TOPIC_0000002043180992__b19047354039499">All Labels</strong> area, click the edit icon in the <strong id="EN-US_TOPIC_0000002043180992__b14513840209499">Operation</strong> column, modify the label name in the text box, select a label color, and click <strong id="EN-US_TOPIC_0000002043180992__b20923775049499">OK</strong>.</li><li id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_li16112144123813">Batch deletion: In the <strong id="EN-US_TOPIC_0000002043180992__b1759570979499">All Labels</strong> area, click the deletion icon in the <strong id="EN-US_TOPIC_0000002043180992__b8225570109499">Operation</strong> column to delete the label. In the displayed dialog box, select <strong id="EN-US_TOPIC_0000002043180992__b16922768159499">Delete the label</strong> or <strong id="EN-US_TOPIC_0000002043180992__b19256529809499">Delete the label and objects with only the label</strong>, and click <strong id="EN-US_TOPIC_0000002043180992__b5278178339499">OK</strong>.</li></ul>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_section44051826191810"><h4 class="sectiontitle">Adding a File</h4><p id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_en-us_topic_0170889731_p266117351147">In addition to the data synchronized, you can directly add data on labeling job details page for labeling.</p>
|
|
<ol id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_en-us_topic_0170889731_ol429210266513"><li id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_en-us_topic_0170889731_li1924993814520">On the labeling job details page, click the <strong id="EN-US_TOPIC_0000002043180992__b14840483259499">Unlabeled</strong> tab, click <strong id="EN-US_TOPIC_0000002043180992__b372849309499">Add data</strong> in the upper left corner.</li><li id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_li01454543219">Configure the data source, import mode, and other parameters, and click <span class="uicontrol" id="EN-US_TOPIC_0000002043180992__uicontrol1695819699499"><b>OK</b></span>.<p id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_p2070881211273">For details about how to import data, see section "Importing Data".</p>
|
|
</li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_section15379942161810"><h4 class="sectiontitle">Deleting a File</h4><p id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_en-us_topic_0170889731_p3752212171611">You can quickly delete the files you want to discard.</p>
|
|
<ul id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_ul119169331673"><li id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_li193023715719">In the <strong id="EN-US_TOPIC_0000002043180992__b5282974209499">Unlabeled</strong> tab, select the text to be deleted, and click <strong id="EN-US_TOPIC_0000002043180992__b12627259489499">Delete</strong> in the upper left corner.</li><li id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_li176232415014">In the <span class="wintitle" id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_wintitle9761124135015"><b>Labeled</b></span> tab, select the text to be deleted, and click <span class="uicontrol" id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_uicontrol114473531819"><b>Delete</b></span>. Alternatively, click <span class="parmname" id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_parmname19762244509"><b>Select Current Page</b></span> to select all text objects on the current page and click <span class="uicontrol" id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_uicontrol1676102495011"><b>Delete</b></span> in the upper left corner.</li></ul>
|
|
<p id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_p2148165245011">The background of the selected text is blue.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001139944450_section11766134133017"><h4 class="sectiontitle">Managing Annotators</h4><p id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001398306840_en-us_topic_0000001185384417_p0400144621811">If team labeling is enabled for a labeling job, view its labeling details in the <strong id="EN-US_TOPIC_0000002043180992__b13099192329499">Annotator Management</strong> tab. Additionally, you can add, modify, or delete annotators.</p>
|
|
<ol id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001398306840_ol14491310172315"><li id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001398306840_li049171011232">Choose <strong id="EN-US_TOPIC_0000002043180992__b1431323673210">Data Management</strong> > <strong id="EN-US_TOPIC_0000002043180992__b1231323673211">Label Data</strong>. In the <strong id="EN-US_TOPIC_0000002043180992__b231303618326">My Creations</strong> or <strong id="EN-US_TOPIC_0000002043180992__b183131365321">My Participations</strong> tab, view the list of all labeling jobs.</li><li id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001398306840_li13948142542315">Locate the target team labeling job. (The name of a team labeling job is followed by <span><img id="EN-US_TOPIC_0000002043180992__image1083823816328" src="figure/en-us_image_0000002079101757.png"></span>.)</li><li id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001398306840_li176669516250">Choose <strong id="EN-US_TOPIC_0000002043180992__b13764370669499">More</strong> > <strong id="EN-US_TOPIC_0000002043180992__b5229252529499">Annotator Management</strong> in the <strong id="EN-US_TOPIC_0000002043180992__b17993549729499">Operation</strong> column. Alternatively, click the job name to go to the job details page, and choose <strong id="EN-US_TOPIC_0000002043180992__b14445143749499">Team Labeling</strong> > <strong id="EN-US_TOPIC_0000002043180992__b5627328889499">Annotator Management</strong> in the upper right corner.</li></ol>
|
|
<ul id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001398306840_en-us_topic_0000001185384417_ul143722450281"><li id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001398306840_en-us_topic_0000001185384417_li537294582812">Adding an annotator<p id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001398306840_en-us_topic_0000001185384417_p723845392118"><a name="EN-US_TOPIC_0000002043180992__en-us_topic_0000001398306840_en-us_topic_0000001185384417_li537294582812"></a><a name="en-us_topic_0000001398306840_en-us_topic_0000001185384417_li537294582812"></a>Click <strong id="EN-US_TOPIC_0000002043180992__b1510117899499">Add Member</strong>, select a member name, and click <strong id="EN-US_TOPIC_0000002043180992__b15649096689499">OK</strong>.</p>
|
|
<p id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001398306840_en-us_topic_0000001185384417_p177231347112320">Click <strong id="EN-US_TOPIC_0000002043180992__b2754415909499">Send Email</strong> in the <strong id="EN-US_TOPIC_0000002043180992__b14514016909499">Operation</strong> column to send the labeling job to the annotator by email.</p>
|
|
</li><li id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001398306840_en-us_topic_0000001185384417_li261614352915">Modifying annotator information<p id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001398306840_en-us_topic_0000001185384417_p744716392518"><a name="EN-US_TOPIC_0000002043180992__en-us_topic_0000001398306840_en-us_topic_0000001185384417_li261614352915"></a><a name="en-us_topic_0000001398306840_en-us_topic_0000001185384417_li261614352915"></a>Click <strong id="EN-US_TOPIC_0000002043180992__b17056847019499">Modify</strong> in the <strong id="EN-US_TOPIC_0000002043180992__b8382992859499">Operation</strong> column to modify the role of the annotator.</p>
|
|
</li><li id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001398306840_en-us_topic_0000001185384417_li57521789299">Deleting an annotator<p id="EN-US_TOPIC_0000002043180992__en-us_topic_0000001398306840_en-us_topic_0000001185384417_p16917111112269"><a name="EN-US_TOPIC_0000002043180992__en-us_topic_0000001398306840_en-us_topic_0000001185384417_li57521789299"></a><a name="en-us_topic_0000001398306840_en-us_topic_0000001185384417_li57521789299"></a>Click <strong id="EN-US_TOPIC_0000002043180992__b15399894679499">Delete</strong> in the <strong id="EN-US_TOPIC_0000002043180992__b11790411499499">Operation</strong> column to delete the annotator.</p>
|
|
</li></ul>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="datalabel-modelarts_0009.html">Text Labeling</a></div>
|
|
</div>
|
|
</div>
|
|
|