Information extraction method, and method and device for training question and answer processing model
The embodiment of the invention discloses an information extraction method and device and a method and device for training a question and answer processing model. According to the main technical scheme, the method comprises the steps of obtaining a to-be-extracted text and first target content corre...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention discloses an information extraction method and device and a method and device for training a question and answer processing model. According to the main technical scheme, the method comprises the steps of obtaining a to-be-extracted text and first target content corresponding to a first target type in the to-be-extracted text; inputting a first text sequence obtained by splicing the to-be-extracted text and the first prompt text into a question and answer processing model; obtaining a first answer text which is output by the question and answer processing model and contains second target content corresponding to the second target type; inputting a second text sequence obtained by splicing the to-be-extracted text, the first answer text and the second prompt text into the question and answer processing model; obtaining a second answer text which is output by the question and answer processing model and contains third target content corresponding to the third target type; wherein |
---|