Question and answer model training method and device based on table image recognition and medium
The invention discloses a question and answer model training method and device based on table image recognition and a medium. The method comprises the steps of obtaining image data containing a table; preprocessing the image data to obtain table image data for establishing a coordinate system; conte...
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 invention discloses a question and answer model training method and device based on table image recognition and a medium. The method comprises the steps of obtaining image data containing a table; preprocessing the image data to obtain table image data for establishing a coordinate system; content identification and information reconstruction are carried out on the table image data to construct json file data with a table association relationship, and the json file data comprises coordinate information of a rectangular frame in a table and character identification information in the rectangular frame; constructing a training data set according to the json file data and the corresponding table image data, and constructing prompt according to the json file data; a preset pre-training model is trained through the prompt and the training data set to obtain a question and answer model. According to the method, the corresponding table structure and the association relationship can be identified from the table i |
---|