Instructions to use PaddlePaddle/PP-DocBee-2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PaddleOCR
How to use PaddlePaddle/PP-DocBee-2B 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-2B") 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
File size: 135 Bytes
c69621d | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:692977ef9abd3dccb7d73b8b8aeffb3ec4cdfdf0ff1bdfd2f41f76ef55262595
size 4418043117
|