Data processing method and apparatus, electronic device and storage medium
AssigneeShanghai Biren Technology Co., Ltd
InventorsZheng CAO, Li LIU, Zhen CHENG, Shan TANG
Life of this patent
Estimating the term…
Loading patent…
AssigneeShanghai Biren Technology Co., Ltd
InventorsZheng CAO, Li LIU, Zhen CHENG, Shan TANG
Estimating the term…
Disclosed are a data processing method and apparatus, a storage medium, and an electronic device. A neural network is used to perform an inference operation on data to be processed, comprising successively performing M rounds of inference on the data to be processed, wherein the process of the i-th round of inference comprises: at a first stage, performing inference on N2 input data elements, and at a second stage, performing inference on N1 input data elements, the N1 input data elements, which belong to the same batch of input data, being a subset of the N2 input data elements; the inference process of the (i+1)-th round of inference comprises: for N2-N1 input data elements for which the inference is incomplete in the i-th round of inference but for which the output tokens have been acquired, performing inference on the N2-N1 input data elements while taking into account the output tokens.
A data processing method, comprising:
The data processing method according to claim wherein at the second stage of the inference process of the i-th round of inference, performing inference on the N1 input data elements to complete the entire inference process on the N1 input data elements belonging to the same batch of input data comprises:
A data processing apparatus, comprising:
Dependencies are inferred from the claim text.