transformers/tests/models/pix2struct
NielsRogge 8eb38f638d
[Pix2struct] Simplify generation (#22527)
* Add model to doc tests

* Remove generate and replace by prepare_inputs_for_generation

* More fixes

* Remove print statements

* Update integration tests

* Fix generate

* Remove model from auto mapping

* Use auto processor

* Fix integration tests

* Fix test

* Add inference code snippet

* Remove is_encoder_decoder

* Update docs

* Remove notebook link
2023-04-13 09:01:14 -04:00
..
__init__.py Add Pix2Struct (#21400) 2023-03-22 16:53:52 +01:00
test_image_processing_pix2struct.py Update test_image_processing_pix2struct.py (#22543) 2023-04-03 15:26:35 -04:00
test_modeling_pix2struct.py [Pix2struct] Simplify generation (#22527) 2023-04-13 09:01:14 -04:00
test_processor_pix2struct.py Add Pix2Struct (#21400) 2023-03-22 16:53:52 +01:00