Patent ID: 11869485
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 8:
9. The method according to claim 8, wherein the training a second encoding model by using the training model to obtain the first encoding model and the training a second decoding model by using the training model to obtain the first decoding model comprises:
inputting m groups of first natural training sentences and second natural training sentences into the first sub-model to train the supervision capability of the supervision model, each group of the first natural training sentence and the second natural training sentence being natural training sentences having different language styles and having a same meaning, and m being a positive integer;
stopping training when a number of training times reaches a preset number of times, to obtain a trained supervision model;
updating the first sub-model in the training model by using the trained supervision model;
inputting n groups of third natural training sentences and fourth natural training sentences into the training model, to train the second encoding model and the second decoding model and obtain a model training result, each group of the third natural training sentence and the fourth natural training sentence being natural training sentences having different language styles and having a same meaning, the model training result comprising a first result outputted by an updated first sub-model and a second result outputted by the second sub-model, and n being a positive integer; and
stopping training in response to determining, according to the model training result, that a function model converges, to obtain the first encoding model and the first decoding model, the function model comprising a trained second encoding model and a trained second decoding model.