Deploying an Application

After evaluating the model, you can deploy and develop your own text classification application. This application is used to classify the text you upload. You can also directly call the corresponding APIs and SDKs.

Prerequisites

  • You have created an application using the general text classification workflow and evaluated a model on the NLP Suite console. For details, see Evaluating a Model.
  • Ensure that the account is not in arrears. Resources are consumed during application deployment.

Procedure

Choose Application Development > Deploy Service, set related parameters by referring to Table 1, and click Deploy.

Table 1 Parameters required for deploying a service

Parameter

Description

Service Name

Name of the service to be deployed. You can click to modify the default service name.

Description

Brief description of the service to be deployed

Compute Node Specifications

The following specifications are supported:

  • CPU: 2 vCPUs | 8 GiB: suitable for models with only CPU loads.
  • CPU+GPU: 2 vCPUs | 8 GiB+P4: suitable for models requiring CPU and GPU (NVIDIA P4) resources.

Service Automatic Stop

Time when the service automatically stops. The service will automatically stop at the time you specified and will no longer be billed after it stops.

Compute Nodes

Instances for the current model version. If you set Compute Nodes to 1, the standalone computing mode is used. If you set Compute Nodes to a value greater than 1, the distributed computing mode is used. Set an appropriate value based on the actual requirements.

When the deployment is successful, a message indicating Service deployed successfully is displayed on the page. You can click View Monitoring to go to the Monitoring page and view the monitoring information. For details, see Monitoring an Application.