CNIPA.AI
返回搜索
档案

TEXT DATA INFERENCE METHOD AND APPARATUS, STORAGE MEDIUM, AND ELECTRONIC DEVICE

发明专利审中
3浏览
20权利要求 · 3 独立
§ Ⅰ

卷宗概要

发明人

Peng MENG; Hengfeng TIAN

IPC 分类

G6N 5/4G6F 40/284G6F 40/35G6F 40/40

CPC 分类

G6N5/4G6F40/284G6F40/40G6F40/35

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.