Skip to content

Commit

Permalink
Update transformers version dependency and README, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
ankrgyl committed Oct 17, 2022
1 parent 8fadca8 commit a9c5127
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion src/docquery/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = "0.0.6"
VERSION = "0.0.7"

0 comments on commit a9c5127

Please sign in to comment.