Run this model with HF Jobs

Run PaddlePaddle/PaddleOCR-VL on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/PaddlePaddle/PaddleOCR-VL. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/PaddlePaddle/PaddleOCR-VL on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/PaddlePaddle/PaddleOCR-VL. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/PaddlePaddle/PaddleOCR-VL. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

"Dependency Error"

#81
by henri-shields - opened

I've tried installing and running this locally. I followed all of the steps in the documentation and can import paddle successfully. When I do paddle.utils.run_check(), it says:

"PaddlePaddle works well on 1 GPU.
PaddlePaddle is installed successfully! Let's start deep learning with PaddlePaddle now."

But when I try calling PaddleOCRVL() to make a pipeline, it errors out: "RuntimeError: A dependency error occurred during pipeline creation. Please refer to the installation documentation to ensure all required dependencies are installed."

I'm using Python 3.11.9, CUDA 12.9. Anyone have this issue and/or a fix?

This is a known issue.

Please refer to here: https://github.com/PaddlePaddle/PaddleX/issues/4552

Solution: pip install paddlex[ocr]

Sign up or log in to comment