Add ONNX support for LayoutLMv3 (#17953)

* Add ONNX support for LayoutLMv3

* Update docstrings

* Update empty description in docstring

* Fix imports and type hints
This commit is contained in:
regisss
2022-06-30 18:09:52 +02:00
committed by GitHub
parent fe14046421
commit 9cb7cef285
6 changed files with 141 additions and 7 deletions

View File

@@ -195,6 +195,7 @@ PYTORCH_EXPORT_MODELS = {
("xlm", "xlm-clm-ende-1024"),
("xlm-roberta", "xlm-roberta-base"),
("layoutlm", "microsoft/layoutlm-base-uncased"),
("layoutlmv3", "microsoft/layoutlmv3-base"),
("vit", "google/vit-base-patch16-224"),
("deit", "facebook/deit-small-patch16-224"),
("beit", "microsoft/beit-base-patch16-224"),