transformers/tests/models/layoutlmv3
amyeroberts e2bd7f80d0
Update tests: replace feature extractor tests with image processor (#20768)
* Update imports and test fetcher

* Revert but keep test fetcher update

* Fix imports

* Fix all imports

* Replace fe with ip names

* Add generate kwargs to `AutomaticSpeechRecognitionPipeline` (#20952)

* Add generate kwargs to AutomaticSpeechRecognitionPipeline

* Add test for generation kwargs

* Update image processor parameters if creating with kwargs (#20866)

* Update parameters if creating with kwargs

* Shallow copy to prevent mutating input

* Pass all args in constructor dict - warnings in init

* Fix typo

* Rename tester class

* Rebase and tidy up

* Fixup

* Use ImageProcessingSavingTestMixin

* Update property ref in tests

* Update property ref in tests

* Update recently merged in models

* Small fix

Co-authored-by: bofeng huang <bofenghuang7@gmail.com>
2023-01-23 17:25:41 +00:00
..
__init__.py Add LayoutLMv3 (#17060) 2022-05-24 09:53:45 +02:00
test_image_processing_layoutlmv3.py Update tests: replace feature extractor tests with image processor (#20768) 2023-01-23 17:25:41 +00:00
test_modeling_layoutlmv3.py Add LayoutLMv3 (#17060) 2022-05-24 09:53:45 +02:00
test_modeling_tf_layoutlmv3.py [LayoutLMv3] Add TensorFlow implementation (#18678) 2022-08-30 11:48:11 +01:00
test_processor_layoutlmv3.py Vision processors - replace FE with IPs (#20590) 2022-12-09 10:48:34 +00:00
test_tokenization_layoutlmv3.py Fix test_tf_encode_plus_sent_to_model for LayoutLMv3 (#18898) 2022-09-06 14:51:03 +02:00