CPC G10L 15/063 (2013.01) [G10L 15/02 (2013.01); G10L 15/18 (2013.01)] | 16 Claims |
1. A method of training a natural language processing model, comprising:
performing a semantic learning for multi-tasks on an input text, so as to obtain a semantic feature for the multi-tasks, wherein the multi-tasks comprise a plurality of branch tasks;
performing a feature learning for each branch task based on the semantic feature, so as to obtain a first output result for each branch task;
calculating a loss for each branch task according to the first output result for the branch task;
adjusting a parameter of the natural language processing model according to the loss for each branch task; and
determining a second output result for each branch task based on the semantic feature, wherein
the multi-tasks comprise a first branch task for a semantic understanding; and
the determining a second output result for each branch task based on the semantic feature comprises one of:
determining a semantic understanding information for the input text as the second output result for the first branch task based on the semantic feature;
calculating a logical distance between a plurality of statements in the input text as the second output result for the first branch task based on the semantic feature; and
determining a logical order of a plurality of statements in the input text as the second output result for the first branch task based on the semantic feature.
|