Patent ID: 11859998
Assignee: BEIJING BAIDU NETCOM SCIENCE TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 12:
13. The electronic device according to claim 12, wherein when training the initial model according to the at least one sample sequence to obtain the neural network model, the at least one processor is further enabled to execute the following steps: determining, for an ith sample sequence, a feature vector of each sample in the ith sample sequence in an embedding layer of the initial model, wherein the ith sample sequence is obtained according to any sample sequence of the at least one sample sequence; learning, by utilizing a long-short-term memory recurrent neural network layer of the initial model, the feature vector of each sample in the ith sample sequence to obtain multiple context vectors, wherein each context vector of the multiple context vectors is used to indicate relationships among samples in the ith sample sequence; and training a Concatenate layer, a Fully Connected layer and a loss function layer of the initial model according to the multiple context vectors to obtain the neural network model.