clovaai / donut

Official Implementation of OCR-free Document Understanding Transformer (Donut) and Synthetic Document Generator (SynthDoG), ECCV 2022

Home Page:https://arxiv.org/abs/2111.15664

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update donut-python Python Package to be compatible with latest versions of transformers

agovin9812 opened this issue · comments

donut-python latest version is 1.0.9, as you can see here: https://pypi.org/project/donut-python/#history

This version was created in December 2022, so it is not compatible with any transformers version > 4.25.1. Since December, changes have been made to this repo, but the python package has not been updated, which causes us to have to make source code changes locally.

Would it be possible to have donut-python be compatible with the latest versions of transformers, including transformers>4.36.0? In transformers release 4.36.0, a security vulnerability was patched, so having donut-python be compatible with this version would be much more convenient for developers.