Introduction

Workflow Overview

  • Functions

    This workflow allows you to upload text data to create a high-precision text classification prediction model and quickly deploy a custom service.

  • Application scenarios

    This workflow applies to scenarios such as intelligent question answering, public opinion analysis, and content recommendation.

  • Advantages
    • Pre-trained models specific to scenarios ensure high accuracy of classification.
    • Comprehensive text processing capabilities support a range of data formats in different scenarios.
    • Models can be continuously optimized based on the feedback during use.

Workflow Process

After creating a text classification application on the ModelArts Pro > NLP Suite console, you can develop this application by training a text classification prediction model to implement text classification.

Figure 1 Process for developing a text classification application
Table 1 Process description

Step

Description

Reference

Select data.

Select data and create a training dataset for subsequent model training.

Selecting Data

Train a model.

Select a pre-trained model and configure parameters based on the labeled training data to train a text classification model.

Training a Model

Evaluate a model.

Evaluate the model after training.

Some common metrics, such as precision, recall rate, and F1 score, help you effectively evaluate and obtain a satisfactory model.

Evaluating a Model

Deploy an application.

After the model is prepared, you can deploy an application to classify text you upload or directly call the corresponding APIs and SDKs.

Deploying an Application