Text processing model training method, and text processing method and apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorsYichun Yin, Lifeng Shang, Xin Jiang, Xiao Chen
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorsYichun Yin, Lifeng Shang, Xin Jiang, Xiao Chen
Estimating the term…
A text processing model training method, and a text processing method and apparatus in the natural language processing field in the artificial intelligence field are disclosed. The training method includes: obtaining training text; separately inputting the training text into a teacher model and a student model to obtain sample data output by the teacher model and prediction data output by the student model; the sample data includes a sample semantic feature and a sample label; the prediction data includes a prediction semantic feature and a prediction label; and the teacher model is a pre-trained language model used for text classification; and training a model parameter of the student model based on the sample data and the prediction data, to obtain a target student model. The method enables the student model to effectively perform knowledge transfer, thereby improving accuracy of a text processing result of the student model.
A text processing model training method performed by a processor, comprising:
A text processing method performed by a processor, comprising:
A text processing apparatus, comprising:
A non-transitory computer-readable storage medium, wherein the computer-readable storage medium stores program instructions, and when the program instructions are run on a processor, the processor is configured to perform:
Dependencies are inferred from the claim text.