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

  • Log In
  • Sign Up

PaddlePaddle
/
PP-DocBee-7B

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

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
PP-DocBee-7B
16.6 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
Tingquan's picture
Tingquan
Upload config.json
486c0c8 verified 8 months ago
  • .gitattributes
    1.58 kB
    Upload folder using huggingface_hub 11 months ago
  • README.md
    8.42 kB
    Add tag: doc_vlm 10 months ago
  • added_tokens.json
    361 Bytes
    Upload folder using huggingface_hub 11 months ago
  • config.json
    4.07 kB
    Upload config.json 8 months ago
  • generation_config.json
    241 Bytes
    Upload folder using huggingface_hub 11 months ago
  • inference.yml
    47 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
    16.6 GB
    xet
    Upload folder using huggingface_hub 11 months ago
  • special_tokens_map.json
    668 Bytes
    Upload folder using huggingface_hub 11 months ago
  • tokenizer_config.json
    3.61 kB
    Upload folder using huggingface_hub 11 months ago
  • vocab.json
    2.78 MB
    Upload folder using huggingface_hub 11 months ago