Method of generating text, method of training model, electronic device, and medium

    公开(公告)号:US12260186B2

    公开(公告)日:2025-03-25

    申请号:US17992436

    申请日:2022-11-22

    Abstract: A method of generating a text, a method of training a text generation model, an electronic device, and a storage medium, which relate to a field of a computer technology, in particular to fields of deep learning and natural language processing technologies. A specific implementation solution includes: determining a reference feature representation of a target semantic information; determining, based on the reference feature representation and at least one predetermined logical character, at least one sentence latent representation respectively corresponding to the at least one predetermined logical character; and generating a target text content based on the at least one sentence latent representation.

    Summary generation model training method and apparatus, device and storage medium

    公开(公告)号:US12093297B2

    公开(公告)日:2024-09-17

    申请号:US17577561

    申请日:2022-01-18

    CPC classification number: G06F16/345 G06F40/51 G06F40/56

    Abstract: The present disclosure provides a summary generation model training method and apparatus, a device and a storage medium, and relates to the field of computer technologies, and in particular, to the field of artificial intelligence such as natural language processing and deep learning. The summary generation model training method includes: acquiring a document representation corresponding to a document sample; constructing, based on the document representation, a summary representation corresponding to the document representation, the summary representation including a positive summary representation and a negative summary representation; and constructing a total contrastive loss function based on the document representation, the positive summary representation and the negative summary representation, and training a summary generation model based on the total contrastive loss function. The present disclosure may improve accuracy of the summary generation model.

    METHOD OF GENERATING TEXT, METHOD OF TRAINING MODEL, ELECTRONIC DEVICE, AND MEDIUM

    公开(公告)号:US20230084438A1

    公开(公告)日:2023-03-16

    申请号:US17992436

    申请日:2022-11-22

    Abstract: A method of generating a text, a method of training a text generation model, an electronic device, and a storage medium, which relate to a field of a computer technology, in particular to fields of deep learning and natural language processing technologies. A specific implementation solution includes: determining a reference feature representation of a target semantic information; determining, based on the reference feature representation and at least one predetermined logical character, at least one sentence latent representation respectively corresponding to the at least one predetermined logical character; and generating a target text content based on the at least one sentence latent representation.

Patent Agency Ranking