Invention Grant
- Patent Title: Method, electronic device, and storage medium for training text generation model
-
Application No.: US17133381Application Date: 2020-12-23
-
Publication No.: US11574133B2Publication Date: 2023-02-07
- Inventor: Wei Li , Xinyan Xiao , Hua Wu , Haifeng Wang
- Applicant: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
- Applicant Address: CN Beijing
- Assignee: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
- Current Assignee: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
- Current Assignee Address: CN Beijing
- Agency: Lathrop GPM LLP
- Priority: CN202010470844.8 20200528
- Main IPC: G06F40/56
- IPC: G06F40/56 ; G06F40/58

Abstract:
The disclosure may provide a method for obtaining a document layout, an electronic device, and a storage medium. The method may include: obtaining a plurality of pieces of first sample data; extracting structured information from each of the plurality of pieces of first sample data as target structured information corresponding to each of the plurality of pieces of first sample data; inputting the plurality of pieces of first sample data into an initial text generation model to generate predicted structured information corresponding to each of the plurality of pieces of first sample data; generating a first loss value based on a difference between the predicted structured information corresponding to each of the plurality of pieces of first sample data and the corresponding target structured information; and training a phrase generation ability of the initial text generation model based on the first loss value to generate the text generation model.
Public/Granted literature
- US20210374359A1 METHOD, ELECTRONIC DEVICE, AND STORAGE MEDIUM FOR TRAINING TEXT GENERATION MODEL Public/Granted day:2021-12-02
Information query