Systems and methods for factual extraction from language model
AssigneeSalesforce, Inc.
InventorsBenjamin Newman, Nazneen Rajani, Prafulla Kumar Choubey
Life of this patent
Estimating the term…
Loading patent…
AssigneeSalesforce, Inc.
InventorsBenjamin Newman, Nazneen Rajani, Prafulla Kumar Choubey
Estimating the term…
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.
A method for extracting factual information from a language model, the method comprising:
A system for extracting factual information from a language model, the system comprising:
A processor-readable non-transitory storage medium storing a plurality of processor-executable instructions for extracting factual information from a language model, the instructions being executed by one or more processors to perform operations comprising:
Dependencies are inferred from the claim text.