Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

PaddlePaddle
/
PP-DocBee2-3B

Image-to-Text
PaddleOCR
PaddlePaddle
English
Chinese
qwen2_5_vl
OCR
PaddlePaddle
doc_vlm
Model card Files Files and versions
xet
Community

Instructions to use PaddlePaddle/PP-DocBee2-3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PaddleOCR

    How to use PaddlePaddle/PP-DocBee2-3B 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-DocBee2-3B")
    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
PP-DocBee2-3B
8.14 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
Tingquan's picture
Tingquan
Upload config.json
631d608 verified 8 months ago
  • .gitattributes
    1.58 kB
    Upload folder using huggingface_hub 11 months ago
  • README.md
    8.44 kB
    Add tag: doc_vlm 10 months ago
  • config.json
    1.33 kB
    Upload config.json 8 months ago
  • generation_config.json
    243 Bytes
    Upload folder using huggingface_hub 11 months ago
  • inference.yml
    48 Bytes
    Upload folder using huggingface_hub 11 months ago
  • merges.txt
    1.67 MB
    Upload folder using huggingface_hub 11 months ago
  • model_state.pdparams
    8.13 GB
    xet
    Upload folder using huggingface_hub 11 months ago
  • tokenizer_config.json
    5.7 kB
    Upload folder using huggingface_hub 11 months ago
  • vocab.json
    2.78 MB
    Upload folder using huggingface_hub 11 months ago