Add support for TrOCR Model (#1303)

* add bce with logit loss

* add bce with logit loss

* remove imports

* fix tiny bug

* add test documentation and refactor function

* fix test cases and formatting

* add trocr model

* fix formatting

* commit the actual model lol

* more formatting

* remove tokenizer config
This commit is contained in:
Ogundepo Odunayo
2023-11-09 12:49:17 -05:00
committed by GitHub
parent e6697471bb
commit 6958384327
7 changed files with 767 additions and 15 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB