Downloads · 30 days
13
41% of all-time downloads
DIYIN/Youtu-Parsing
Youtu-Parsing is a image-text-to-text model from DIYIN. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as other.
Downloads · 30 days
13
41% of all-time downloads
All-time downloads
32
Public
Parameters
2.5B
5.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors5 GB · 99%
From the Hugging Face model README
📃 License • 👨💻 Code • 🖥️ Demo • 📑 Technical Report • 📊 Benchmarks • 🚀 Getting Started
</div> <div align="center"> <img src="./assets/static_v40.png" width="800"/> </div>Youtu-Parsing is a specialized document parsing model built upon the open-source Youtu-LLM 2B foundation. By extending the capabilities of the base model with a prompt-guided framework and NaViT-style dynamic visual encoder, Youtu-Parsing offers enhanced parsing capabilities for diverse document elements including text, tables, formulas, and charts. The model incorporates an efficient parallel decoding mechanism that significantly accelerates inference, making it practical for real-world document analysis applications. We share Youtu-Parsing with the community to facilitate research and development in document understanding.
<a id="benchmarks"></a>
<a id="quickstart"></a>
conda create -n youtu_parsing python=3.10
conda activate youtu_parsing
pip install git+https://github.com/TencentCloudADP/youtu-parsing.git#subdirectory=youtu_hf_parser
# install the flash-attn2
# For CUDA 12.x + PyTorch 2.6 + Python 3.10 + Linux x86_64:
pip install https://github.com/Dao-AILab/flash-attention/releases/download/v2.7.4.post1/flash_attn-2.7.4.post1+cu12torch2.6cxx11abiFALSE-cp310-cp310-linux_x86_64.whl
# Alternative: Install from PyPI
pip install flash-attn==2.7.0
from youtu_hf_parser import YoutuOCRParserHF
# Initialize the parser
parser = YoutuOCRParserHF(
model_path=model_path,
enable_angle_correct=True, # Set to False to disable angle correction
angle_correct_model_path=angle_correct_model_path
)
# Parse an image
parser.parse_file(input_path=image_path, output_dir=output_dir)
We would like to thank Youtu-LLM, OmniDocBench, olmOCR, dots.ocr, MinerU, PaddleOCR, PSENet for providing model weights, benchmarks and valuable code. We also appreciate everyone's contribution to this open-source project!
If you find our work useful in your research, please consider citing the following paper:
@article{youtu-parsing,
title={Youtu-Parsing: Perception, Structuring and Recognition via High-Parallelism Decoding},
author={Tencent Youtu Lab},
year={2026},
eprint={2601.20430},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2601.20430},
}
@article{youtu-vl,
title={Youtu-VL: Unleashing Visual Potential via Unified Vision-Language Supervision},
author={Tencent Youtu Lab},
year={2026},
eprint={2601.19798},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2601.19798},
}
@article{youtu-llm,
title={Youtu-LLM: Unlocking the Native Agentic Potential for Lightweight Large Language Models},
author={Tencent Youtu Lab},
year={2025},
eprint={2512.24618},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2512.24618},
}