Views
No views yet





1conda create -n youtu_parsing python=3.10
2conda activate youtu_parsing
3pip install git+https://github.com/TencentCloudADP/youtu-parsing.git#subdirectory=youtu_hf_parser
4
5# install the flash-attn2
6# For CUDA 12.x + PyTorch 2.6 + Python 3.10 + Linux x86_64:
7pip 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
8
9# Alternative: Install from PyPI
10pip install flash-attn==2.7.01from youtu_hf_parser import YoutuOCRParserHF
2
3# Initialize the parser
4parser = YoutuOCRParserHF(
5 model_path=model_path,
6 enable_angle_correct=True, # Set to False to disable angle correction
7 angle_correct_model_path=angle_correct_model_path
8)
9
10# Parse an image
11parser.parse_file(input_path=image_path, output_dir=output_dir)







@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},
}