TEXT DATA INFERENCE METHOD AND APPARATUS, STORAGE MEDIUM, AND ELECTRONIC DEVICE
개요
출원인
Tencent Technology (Shenzhen) Company Limited
발명자
Peng MENG; Hengfeng TIAN
IPC 분류
CPC 분류
The present disclosure discloses a text data inference method and apparatus, a storage medium, and an electronic device. The method includes the following operations: acquiring initial token sequences corresponding to N pieces of text data, N being an integer greater than 1, and one token in each initial token sequence characterizing one character in corresponding text data; concatenating N initial token sequences into a concatenated token sequence; and performing inference on the concatenated token sequence to obtain N reply token sequences, the N reply token sequences being configured for generating reply data of the N pieces of text data, and a starting token in each reply token sequence being obtained by: performing, in the concatenated token sequence, inference on tokens belonging to the same initial token sequence.
원문 (중국어)
The present disclosure discloses a text data inference method and apparatus, a storage medium, and an electronic device. The method includes the following operations: acquiring initial token sequences corresponding to N pieces of text data, N being an integer greater than 1, and one token in each initial token sequence characterizing one character in corresponding text data; concatenating N initial token sequences into a concatenated token sequence; and performing inference on the concatenated token sequence to obtain N reply token sequences, the N reply token sequences being configured for generating reply data of the N pieces of text data, and a starting token in each reply token sequence being obtained by: performing, in the concatenated token sequence, inference on tokens belonging to the same initial token sequence.