Dolphin icon indicating copy to clipboard operation
Dolphin copied to clipboard

The official repo for “Dolphin: Document Image Parsing via Heterogeneous Anchor Prompting”, ACL, 2025.

Results Dolphin issues
Sort by recently updated
recently updated
newest added

On metal devices current dolphin demo forces CPU binding. This PR adds a shared demo device helper that selects CUDA, then Apple MPS, then CPU.

- Wrap model.generate() in torch.inference_mode() to reduce VRAM usage - Add use_cache=True for faster token generation - Add sys.stdout line-buffering for real-time progress visibility - Add requirements.win.txt for Windows dependency...

## PR Description ### Problem Dolphin applies padding to PDF page images during processing, but the dumped bboxes in the recognition JSON correspond to the un-padded images, causing misalignment when...

I followed the steps as is for using vllm with Dolphin. I installed the plugins as described in the documentation here: . I'll try downgrading vllm and hopefully it will...

This PR adds two optional CLI flags to `demo_page.py`: - `--ignore_header` - `--ignore_footer` When enabled, page-level parsing skips layout elements labeled as `header` or `foot/footer` before OCR and output generation.

This commit adds support for Python 3.12 and provides an alternative installation method using UV, while maintaining full backward compatibility with existing pip-based workflows. Changes: - Add pyproject.toml with PEP...

## Problem The original implementation was not properly utilizing GPU when available, causing the model to load on CPU RAM instead. This resulted in: - **CPU RAM overflow**: Maxing out...

I have been creating virtual machines (Ubuntu) and installing Dolphin on them for testing. I get everything installed and try and run your demo CLI examples shown in the README....

In HuggingFace, the v2 model is based on the Qwen Research Agreement, but it lists the MIT license on GitHub. Could you please let me know which one is accurate?

你好,想请问一下,目前有没有支持在 晟腾得卡上进行部署使用,目前国产卡得需求也是比较多的,如果有的话,可以麻烦给一个部署文档说明,十分感谢。