NielsRogge
9c6f7485a6
Add GIT (GenerativeImage2Text) (#20295)
* First draft
* Make model instantiation work
* Fix copied from statement
* More fixes
* Add correct output head
* Improve configuration
* Add conversion script
* Improve conversion script
* Remove token_type_ids
* Fix conversion of projection layers
* Convert all weights
* Use cats image
* Make logits match
* Generate caption on cats image
* Add GITProcessor
* Update conversion script
* Add support for more checkpoints
* Fix conversion script
* Add initial tests
* Remove cross-attention
* More improvements
* Remove is_decoder
* Improve model tests
* Improve tests
* Improve model outputs
* Fix model outputs equivalence
* Fix more tests
* Remove unused code
* Use generate to generate text, no use of cache for now
* Use generate more appropriately
* Fix config tests
* Fix style
* Add support for use_cache
Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com>
* Fix style
* Fix GIT vision encoder
* Update README
* Fix integration test
* Set bos and eos token ids
* Improve docs
* Improve code
* Add support for provided attention_mask
* Add copied from statement
* Fix gradient checkpointing test
* Set model_input_names
* Investigate model_input_names
* Remove script
* Fix model inputs
* Fix docstring
* Rename GIT to Git
* Support more models
* Add support for textvqa model
* Add video support
* Extend conversion script for video
* Add support for large variant
* Add support for more models
* Fix config archive map
* Update integration test
* Fix README
* Fix CLIP mean and std
* Update processor
* Fix use_cache for video, thanks @gante
* Remove print statements
* Remove assertion
* Add processor tests
* Fix model_input_names
* Use Auto API for processor
* Fix processor tests
* Fix integration test
* Fix pipeline test
* Make tests faster
* Update conversion script
* Update conversion script
* Convert more checkpoints
* Update conversion script
* Fix typo
* Update docstrings
* Improve code snippets
* Fix doc tests
* Add more code examplesé
* Fix doc tests
* Add integration tests
* Fix unused variable
* revert
* Add GIT to Japanese README
Co-authored-by: Niels Rogge <nielsrogge@Nielss-MacBook-Pro.local>
Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com>
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2023-01-03 14:17:18 +01:00
..
2022-04-04 10:25:46 -04:00
2022-11-21 18:58:54 +01:00
2022-12-16 14:22:46 +01:00
2022-12-07 18:05:39 +01:00
2022-04-04 10:25:46 -04:00
2022-04-04 10:25:46 -04:00
2022-11-30 14:50:55 +00:00
2022-04-29 17:42:15 -04:00
2022-04-04 10:25:46 -04:00
2022-11-01 11:09:53 -07:00
2022-04-04 10:25:46 -04:00
2022-11-04 11:32:44 -04:00
2022-11-04 11:32:44 -04:00
2022-12-05 10:12:03 -05:00
2022-12-07 11:03:39 +01:00
2022-11-04 11:32:44 -04:00
2022-11-04 11:32:44 -04:00
2022-12-21 09:39:10 +01:00
2022-11-07 09:19:04 -05:00
2022-04-04 10:25:46 -04:00
2022-04-13 11:36:54 +02:00
2022-04-04 10:25:46 -04:00
2022-04-04 10:25:46 -04:00
2022-11-30 19:22:23 +01:00
2022-11-15 13:26:46 -05:00
2022-11-09 18:31:22 +01:00
2022-06-24 17:10:38 +02:00
2022-11-30 10:24:03 +00:00
2022-04-04 10:25:46 -04:00
2022-11-08 19:54:41 +00:00
2022-05-02 12:47:39 -04:00
2022-04-04 10:25:46 -04:00
2022-11-30 14:50:55 +00:00
2022-06-08 14:03:18 +01:00
2022-05-10 16:21:44 -04:00
2022-11-15 13:26:07 -05:00
2022-04-04 10:25:46 -04:00
2022-11-30 14:50:55 +00:00
2022-11-30 14:50:55 +00:00
2022-11-30 14:50:55 +00:00
2022-04-04 10:25:46 -04:00
2022-11-18 13:08:26 -05:00
2022-10-28 13:16:07 -07:00
2022-04-04 10:25:46 -04:00
2022-11-29 10:38:01 +00:00
2022-04-04 10:25:46 -04:00
2022-11-08 19:54:41 +00:00
2022-05-03 11:26:19 +02:00
2022-07-27 10:08:59 +02:00
2022-09-09 07:36:46 -04:00
2022-10-31 21:32:58 -04:00
2022-12-27 02:26:14 -05:00
2022-04-04 10:25:46 -04:00
2022-11-08 19:54:41 +00:00
2022-04-04 10:25:46 -04:00
2022-04-04 10:25:46 -04:00
2022-04-04 10:25:46 -04:00
2023-01-03 14:17:18 +01:00
2022-11-30 14:50:55 +00:00
2022-11-29 10:02:40 -05:00
2022-04-04 10:25:46 -04:00
2022-09-14 10:17:40 -04:00
2022-05-24 09:31:10 -04:00
2022-12-12 13:12:13 -05:00
2022-11-09 15:34:08 +00:00
2022-09-29 10:48:04 +01:00
2022-04-04 10:25:46 -04:00
2022-04-04 10:25:46 -04:00
2022-04-04 10:25:46 -04:00
2022-11-30 14:50:55 +00:00
2022-11-10 21:05:27 +01:00
2022-09-02 14:48:19 +02:00
2022-11-08 19:54:41 +00:00
2022-11-08 19:54:41 +00:00
2022-04-04 10:25:46 -04:00
2022-11-04 11:32:44 -04:00
2022-11-30 14:50:55 +00:00
2022-10-18 17:42:46 +02:00
2022-11-07 09:19:04 -05:00
2022-08-16 10:20:46 -05:00
2022-08-01 11:09:47 -04:00
2022-04-04 10:25:46 -04:00
2022-09-29 13:27:58 +02:00
2022-07-29 08:09:09 -04:00
2022-10-24 17:54:23 +02:00
2022-11-30 14:50:55 +00:00
2022-07-29 08:09:09 -04:00
2022-12-27 18:37:25 +01:00
2022-04-04 10:25:46 -04:00
2022-04-04 10:25:46 -04:00
2022-04-04 10:25:46 -04:00
2022-04-04 10:25:46 -04:00
2022-11-30 14:50:55 +00:00
2022-11-30 14:50:55 +00:00
2022-11-30 14:50:55 +00:00
2022-04-04 10:25:46 -04:00
2022-11-07 09:19:04 -05:00
2022-06-29 09:30:55 -04:00
2022-11-18 13:08:26 -05:00
2022-06-23 12:36:22 -04:00
2022-07-29 08:09:09 -04:00
2022-04-04 10:25:46 -04:00
2022-12-12 09:43:43 -05:00
2022-10-10 09:30:59 -04:00
2022-11-30 10:24:03 +00:00
2022-09-02 19:54:02 +02:00
2022-04-04 10:25:46 -04:00
2022-11-08 19:54:41 +00:00
2022-04-04 10:25:46 -04:00
2022-07-29 08:09:09 -04:00
2022-11-30 14:50:55 +00:00
2022-11-04 11:32:44 -04:00
2022-04-04 10:25:46 -04:00
2022-04-04 10:25:46 -04:00
2022-04-04 10:25:46 -04:00
2022-04-04 10:25:46 -04:00
2022-11-30 14:50:55 +00:00
2022-04-04 10:25:46 -04:00
2022-11-30 14:50:55 +00:00
2022-04-04 10:25:46 -04:00
2022-12-19 09:30:17 +01:00
2022-10-27 11:33:15 -07:00
2022-11-08 10:03:43 -05:00
2022-04-04 10:25:46 -04:00
2022-11-30 14:50:55 +00:00
2022-04-04 10:25:46 -04:00
2022-04-04 10:25:46 -04:00
2022-11-09 15:34:08 +00:00
2022-11-03 14:18:45 +01:00
2022-07-29 08:09:09 -04:00
2022-11-07 09:19:04 -05:00
2022-04-04 10:25:46 -04:00
2022-12-16 16:24:01 +01:00
2022-12-05 11:42:29 -05:00
2022-11-30 14:50:55 +00:00
2022-11-15 13:06:45 +01:00
2022-11-09 15:34:08 +00:00
2022-11-07 09:19:04 -05:00
2022-11-30 14:50:55 +00:00
2022-11-14 01:04:26 -05:00
2022-04-08 10:57:51 +02:00
2022-09-30 15:32:59 -04:00
2022-12-02 09:13:25 +01:00
2022-05-17 19:07:43 -04:00
2022-04-04 10:25:46 -04:00
2022-11-30 14:50:55 +00:00
2022-06-21 10:24:50 +02:00
2022-05-17 00:43:16 +02:00
2022-05-17 00:43:16 +02:00
2022-04-04 10:25:46 -04:00
2022-11-30 14:50:55 +00:00
2022-11-08 19:54:41 +00:00
2022-11-30 14:50:55 +00:00
2022-11-07 09:19:04 -05:00
2022-11-30 14:50:55 +00:00
2022-12-07 11:03:39 +01:00
2022-11-30 14:50:55 +00:00
2022-09-22 07:15:03 -04:00
2022-12-19 10:59:34 -08:00
2022-04-04 10:25:46 -04:00
2022-06-15 18:34:15 +02:00
2022-10-28 13:28:18 -07:00
2022-05-17 00:43:16 +02:00
2022-11-09 15:34:08 +00:00
2022-09-19 19:22:34 +02:00
2022-08-24 10:51:05 +01:00
2022-04-04 10:25:46 -04:00
2022-04-04 10:25:46 -04:00
2022-12-13 09:25:55 -08:00
2022-04-04 10:25:46 -04:00
2022-04-04 10:25:46 -04:00
2022-04-04 10:25:46 -04:00
2022-04-04 10:25:46 -04:00
2022-11-30 14:50:55 +00:00
2022-04-04 10:25:46 -04:00