Welcome to the official repository of StructEqTable-Deploy, a solution that converts images of Table into LaTeX/HTML/MarkDown, powered by scalable data from
DocGenome benchmark
.
Overview
Table is an effective way to represent structured data in scientific publications, financial statements, invoices, web pages, and many other scenarios. Extracting tabular data from a visual table image and performing the downstream reasoning tasks according to the extracted data is challenging, mainly due to that tables often present complicated column and row headers with spanning cell operation. To address these challenges, we present TableX, a large-scale multi-modal table benchmark extracted from
DocGenome benchmark
for table pre-training, comprising more than 2 million high-quality Image-LaTeX pair data covering 156 disciplinary classes. Besides, benefiting from such large-scale data, we train an end-to-end model, StructEqTable, which provides the capability to precisely obtain the corresponding LaTeX description from a visual table image and perform multiple table-related reasoning tasks, including structural extraction and question answering, broadening its application scope and potential.
Thanks to IntenrVL2 powerful foundational capabilities, and through fine-tuning on the synthetic tabular data and DocGenome dataset, StructTable can convert table image into various common table formats including LaTeX, HTML, and Markdown. Moreover, inference speed has been significantly improved compared to the v0.2 version.
[2024/8/22] We have released our StructTable-base-v0.2, fine-tuned on the DocGenome dataset. This version features improved inference speed and robustness, achieved through data augmentation and reduced image token num.
[2024/8/08] We have released the TensorRT accelerated version, which only takes about 1 second for most images on GPU A100. Please follow the tutorial to install the environment and compile the model weights.
[2024/7/30] We have released the first version of StructEqTable.
TODO
Release inference code and checkpoints of StructEqTable.
Support Chinese version of StructEqTable.
Accelerated version of StructEqTable using TensorRT-LLM.
Expand more domains of table image to improve the model's general capabilities.
Efficient inference of StructTable-InternVL2-1B by
LMDepoly
Tookit.
Release our table pre-training and fine-tuning code
Installation
conda create -n structeqtable python>=3.10
conda activate structeqtable
# Install from Source code (Suggested)
git clone https://github.com/UniModal4Reasoning/StructEqTable-Deploy.git
cd StructEqTable-Deploy
python setup develop
# or Install from Github repo
pip install "git+https://github.com/UniModal4Reasoning/StructEqTable-Deploy.git"# or Install from PyPI
pip install struct-eqtable==0.3.0
If you find our models / code / papers useful in your research, please consider giving ⭐ and citations 📝, thx :)
@article{xia2024docgenome,
title={DocGenome: An Open Large-scale Scientific Document Benchmark for Training and Testing Multi-modal Large Language Models},
author={Xia, Renqiu and Mao, Song and Yan, Xiangchao and Zhou, Hongbin and Zhang, Bo and Peng, Haoyang and Pi, Jiahao and Fu, Daocheng and Wu, Wenjie and Ye, Hancheng and others},
journal={arXiv preprint arXiv:2406.11633},
year={2024}
}
Contact Us
If you encounter any issues or have questions, please feel free to contact us via
[email protected]
.
Runs of U4R StructTable-InternVL-1B on huggingface.co
4
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About StructTable-InternVL-1B huggingface.co Model
StructTable-InternVL-1B huggingface.co is an AI model on huggingface.co that provides StructTable-InternVL-1B's model effect (), which can be used instantly with this U4R StructTable-InternVL-1B model. huggingface.co supports a free trial of the StructTable-InternVL-1B model, and also provides paid use of the StructTable-InternVL-1B. Support call StructTable-InternVL-1B model through api, including Node.js, Python, http.
StructTable-InternVL-1B huggingface.co is an online trial and call api platform, which integrates StructTable-InternVL-1B's modeling effects, including api services, and provides a free online trial of StructTable-InternVL-1B, you can try StructTable-InternVL-1B online for free by clicking the link below.
U4R StructTable-InternVL-1B online free url in huggingface.co:
StructTable-InternVL-1B is an open source model from GitHub that offers a free installation service, and any user can find StructTable-InternVL-1B on GitHub to install. At the same time, huggingface.co provides the effect of StructTable-InternVL-1B install, users can directly use StructTable-InternVL-1B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
StructTable-InternVL-1B install url in huggingface.co: