SYSTEMS AND METHODS FOR FACTUAL EXTRACTION FROM LANGUAGE MODEL

    公开(公告)号:US20230083512A1

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

    申请号:US17588043

    申请日:2022-01-28

    Abstract: Embodiments described herein provide a system and method for extracting factual information. The system transforms a query into a natural language prompt in a format of a query subject and a queried relation. The system encodes, via an embedding layer of a pre-trained language model, the natural language prompt into a first embedding. The system encodes, via the adapter model, the first embedding into a second embedding based on a probability that the second embedding returns the factual information when the second embedding is fed the first attention layer of the pre-trained language model. The system decodes, by the first attention layer of the pre-trained language mode, the second embedding into a response to the query. The system extracts the factual information from the decoded response to the query.

Patent Agency Ranking