diff --git a/README.md b/README.md index 6f24932..63b4531 100644 --- a/README.md +++ b/README.md @@ -87,13 +87,13 @@ DocQuery is intended to have a small install footprint and be simple to work wit ### Using Donut 🍩 -If you'd like to test `docquery` with [Donut](https://arxiv.org/abs/2111.15664), you must install a special version of transformers: +If you'd like to test `docquery` with [Donut](https://arxiv.org/abs/2111.15664), you must install the required extras: ```bash -pip install git+https://github.com/impira/transformers@153d1361c7dcc91c7735cae73e1f594cfcab3e21 +pip install docquery[donut] ``` -since it has not yet been released in a tagged release. You can then run +You can then run ```bash docquery scan "What is the effective date?" /path/to/contracts/folder --checkpoint 'naver-clova-ix/donut-base-finetuned-docvqa' diff --git a/setup.py b/setup.py index b46e417..5ea278a 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ "pytesseract", # TODO: Test what happens if the host machine does not have tesseract installed "requests", "easyocr", - "transformers >= 4.21", + "transformers >= 4.23", ] extras_require = { "dev": [ diff --git a/src/docquery/version.py b/src/docquery/version.py index 9b0a593..5961490 100644 --- a/src/docquery/version.py +++ b/src/docquery/version.py @@ -1 +1 @@ -VERSION = "0.0.6" +VERSION = "0.0.7"