Skip to content

Add hybrid table extractor#1089

Merged
HenryL27 merged 4 commits into
mainfrom
hml-hybrid-table
Dec 31, 2024
Merged

Add hybrid table extractor#1089
HenryL27 merged 4 commits into
mainfrom
hml-hybrid-table

Conversation

@HenryL27
Copy link
Copy Markdown
Collaborator

Adds a 'hybrid' table extractor that wraps DeformableTableExtractor and TableTransformerExtractor by selecting one to use based on the size of the table element.

Signed-off-by: Henry Lindeman <hmlindeman@yahoo.com>
Signed-off-by: Henry Lindeman <hmlindeman@yahoo.com>
Signed-off-by: Henry Lindeman <hmlindeman@yahoo.com>
Signed-off-by: Henry Lindeman <hmlindeman@yahoo.com>
return self._deformable
return self._tatr

def _init_structure_model(self):
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not going to be triggered correct?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The model server uses it to load models into the actors before any requests come through

Copy link
Copy Markdown
Contributor

@dhruvkaliraman7 dhruvkaliraman7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@HenryL27 HenryL27 merged commit ab90ef5 into main Dec 31, 2024
@HenryL27 HenryL27 deleted the hml-hybrid-table branch December 31, 2024 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants