U4R / StructTable-InternVL-1B

huggingface.co
Total runs: 4
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: October 19 2024
image-to-text

Introduction of StructTable-InternVL-1B

Model Details of StructTable-InternVL-1B

StructEqTable-Deploy: A High-efficiency Open-source Toolkit for Table-to-Latex Transformation

[ Github Repo ] [ Related Paper ] [ Website ]

[ Dataset (Google Drive)] [ Dataset (Hugging Face) ] [Models 🤗(Hugging Face)]

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.

Changelog
  • [2024/10/19] 🔥 We have released our latest model StructTable-InternVL2-1B !

    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
Model Zoo
Model Model Size Training Data Data Augmentation LMDepoly TensorRT HuggingFace
StructEqTable-InternVL ~1B DocGenome and Synthetic Data v0.3
StructEqTable-base ~300M DocGenome v0.2
StructEqTable-base ~300M DocGenome v0.1
Quick Demo
  • Run the demo/demo.py
cd tools/demo

python demo.py \
  --image_path ./demo.png \
  --ckpt_path U4R/StructTable-InternVL-1B \
  --output_format latex
  • HTML or Markdown format output (Only Supported by StructTable-InternVL2-1B)
python demo.py \
  --image_path ./demo.png \
  --ckpt_path U4R/StructTable-InternVL-1B \
  --output_format html markdown
Efficient Inference
  • Install LMDeploy Tookit
pip install lmdeploy
  • Run the demo/demo.py
cd tools/demo

python demo.py \
  --image_path ./demo.png \
  --ckpt_path U4R/StructTable-InternVL-1B \
  --output_format latex \
  --lmdeploy
Acknowledgements
  • DocGenome . An Open Large-scale Scientific Document Benchmark for Training and Testing Multi-modal Large Models.
  • ChartVLM . A Versatile Benchmark and Foundation Model for Complicated Chart Reasoning.
  • Pix2Struct . Screenshot Parsing as Pretraining for Visual Language Understanding.
  • InternVL Family . A Series of Powerful Foundational Vision-Language Models.
  • LMDepoly . A toolkit for compressing, deploying, and serving LLM and MLLM.
  • UniMERNet . A Universal Network for Real-World Mathematical Expression Recognition.
  • Donut . The UniMERNet's Transformer Encoder-Decoder are referenced from Donut.
  • Nougat . Data Augmentation follows Nougat.
  • TensorRT-LLM . Model inference acceleration uses TensorRT-LLM.
License

StructEqTable is released under the Apache License 2.0

Citation

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

More StructTable-InternVL-1B license Visit here:

https://choosealicense.com/licenses/apache-2.0

StructTable-InternVL-1B huggingface.co

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 Url

https://huggingface.co/U4R/StructTable-InternVL-1B

U4R StructTable-InternVL-1B online free

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:

https://huggingface.co/U4R/StructTable-InternVL-1B

StructTable-InternVL-1B install

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:

https://huggingface.co/U4R/StructTable-InternVL-1B

Url of StructTable-InternVL-1B

StructTable-InternVL-1B huggingface.co Url

Provider of StructTable-InternVL-1B huggingface.co

U4R
ORGANIZATIONS

Other API from U4R

huggingface.co

Total runs: 228.0K
Run Growth: 206.6K
Growth Rate: 90.59%
Updated:August 30 2024
huggingface.co

Total runs: 41
Run Growth: 33
Growth Rate: 80.49%
Updated:April 10 2025
huggingface.co

Total runs: 32
Run Growth: 0
Growth Rate: 0.00%
Updated:January 15 2025
huggingface.co

Total runs: 24
Run Growth: 0
Growth Rate: 0.00%
Updated:June 09 2025
huggingface.co

Total runs: 17
Run Growth: 2
Growth Rate: 11.76%
Updated:February 08 2025
huggingface.co

Total runs: 13
Run Growth: 0
Growth Rate: 0.00%
Updated:October 23 2024
huggingface.co

Total runs: 9
Run Growth: 6
Growth Rate: 66.67%
Updated:July 23 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 23 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 07 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 07 2025