Training a Model
Select a pre-trained model and configure parameters based on the labeled training data to train a text classification model.
Prerequisites
You have created an application using the general text classification workflow and selected a training dataset on the NLP Suite console. For details, see Selecting Data.
Training a Model
Choose Application Development > Train Model. Select a pre-trained model used for model training and set training parameters to start model training.
- Pre-trained Models
Currently, pre-trained models include BERT, TinyBERT, and FastText. You can view the model precision, inference speed, training speed, and description in the pre-trained model list.
- Parameter Configurations
In the Parameter Configurations area, specify Learning Rate and Training Epochs.
- Learning Rate indicates the learning speed of a model. The value ranges from 0 to 1 (1 included).
- Training Epochs indicates the number of dataset iterations during model training.
Confirm the information and click Train.
Generally, model training takes a period of time. After the training is complete, the training details are displayed in the lower part of the Application Development > Train Model page.
Viewing Training Details
After the model training is complete, view the training details on the Application Development > Train Model page, such as accuracy and loss differences.
Follow-up Operations
After the model training is complete, click Next to go to step Evaluate Model. For details, see Evaluating a Model.
Last Article: Labeling Data
Next Article: Evaluating a Model
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.