Instructions to use PaddlePaddle/PP-DocBee-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PaddleOCR
How to use PaddlePaddle/PP-DocBee-7B with PaddleOCR:
# 1. See https://www.paddlepaddle.org.cn/en/install to install paddlepaddle # 2. pip install paddleocr from paddleocr import DocVLM model = DocVLM(model_name="PP-DocBee-7B") output = model.predict( input={"image": "path/to/image.png", "query": "Parsing this image and output the content in Markdown format."}, batch_size=1 ) for res in output: res.print() res.save_to_json(save_path="./output/res.json") - Notebooks
- Google Colab
- Kaggle
Download merges.txt from PaddlePaddle/PP-DocBee-7B: direct link, hf CLI and curl.
- Browser
- Download file 1.67 MB
-
https://huggingface.co/PaddlePaddle/PP-DocBee-7B/resolve/main/merges.txt
- Command line
-
hf download hf://PaddlePaddle/PP-DocBee-7B/merges.txt
-
curl -L -o merges.txt https://huggingface.co/PaddlePaddle/PP-DocBee-7B/resolve/main/merges.txt
1.67 MB
File too large to display, you can check the raw version instead.