Yoni Gozlan
2b46943195
Add GOT-OCR 2.0 to Transformers (#34721)
* init modular got_ocr2
* Get correct got_ocr architecture
* add processing
* run modular with processing
* add working inference
* apply modular
* Refactor and fix style
* Refactor, cleanup, fix style
* fix init order
* Fix docs
* add base modeling tests
* fix style and consistency
* rename doc file
* fix repo consistency
* fix inference with box
* add image processing and support for crop_to_multi_page
* Fix batch inference
* add tests
* fixup
* fix slow test
* fix docstrings
* Add model doc
* update to new init
* fix input autocast pixel_values dtype
* update doc
* move doc to multimodal
* Reformat crop_image_to_patches and add docstrings
* Fix example in forward docstring
* Address Pablo review
* [run slow] got_ocr2
* remove defaults defined twice
* apply modular
* add torch_device to integration tests
* update modular
* follow-up Pavel review
* add device variable in doc
* fix doc multi-page
* Force eager attention for vision encoder to avoid attn implementation conflict
* revert qwen2vl doc changes
* use Qwen2ForCausalLM instead of Qwen2Model
* make fixup
* refactor gotocr2 to llava style
* uniformize function names and reduce checks
* final nits
* fix pixel_values dtype error
* change checkpoint names
* fix modular
2025-01-31 11:28:13 -05:00
..
2024-12-20 12:08:12 +01:00
2024-12-23 16:54:49 +01:00
2025-01-31 11:28:13 -05:00
2025-01-15 14:22:49 +01:00
2025-01-26 15:26:38 -08:00
2024-11-28 16:04:05 +01:00
2024-05-28 18:29:22 +02:00
2025-01-31 11:28:13 -05:00
2024-09-09 10:47:24 +02:00
2024-09-27 17:15:13 +02:00
2024-12-20 09:22:44 -08:00
2025-01-26 15:26:38 -08:00
2024-12-02 15:26:34 +00:00
2024-02-08 14:13:35 -08:00
2024-12-04 09:18:44 -08:00
2024-09-09 10:47:24 +02:00
2024-04-01 18:47:32 -07:00
2025-01-26 15:26:38 -08:00
2024-09-09 10:47:24 +02:00
2024-07-23 17:47:51 +01:00
2024-06-06 22:02:38 +01:00
2024-08-26 13:15:43 +02:00
2024-09-09 10:47:24 +02:00
2025-01-09 09:50:51 -08:00
2023-06-20 18:07:47 -04:00
2025-01-02 11:29:46 +01:00
2025-01-26 15:26:38 -08:00
2025-01-03 14:50:07 +01:00
2024-07-08 11:52:47 +01:00
2024-10-07 10:08:20 +02:00
2024-10-02 14:08:46 +01:00
2025-01-31 11:28:13 -05:00
2025-01-27 08:49:28 -08:00
2025-01-28 14:10:38 +00:00
2025-01-06 08:54:31 -08:00
2024-11-27 07:47:28 -08:00
2025-01-22 14:32:27 +00:00
2024-09-24 03:40:56 -06:00
2024-11-11 07:09:31 -08:00
2024-03-23 18:29:39 -07:00
2025-01-21 17:53:30 +01:00
2024-02-16 08:16:58 +01:00
2024-09-09 10:47:24 +02:00
2024-09-09 10:47:24 +02:00
2024-09-09 10:47:24 +02:00
2024-12-04 09:18:44 -08:00
2024-12-17 09:33:50 -08:00
2025-01-31 11:28:13 -05:00
2024-12-03 10:53:45 -08:00
2024-11-26 09:23:44 -08:00
2024-11-26 09:23:44 -08:00
2024-12-02 15:26:34 +00:00
2024-09-25 19:20:51 +02:00
2024-02-16 08:16:58 +01:00
2024-09-09 10:47:24 +02:00
2024-11-18 19:51:49 +01:00
2024-11-26 09:23:34 -08:00
2023-11-06 19:45:03 +00:00
2024-12-04 09:18:44 -08:00
2024-02-16 08:16:58 +01:00
2024-09-09 10:47:24 +02:00
2024-09-09 10:47:24 +02:00
2025-01-22 14:32:27 +00:00
2024-09-12 10:16:12 -07:00
2024-09-09 10:47:24 +02:00
2024-09-09 10:47:24 +02:00
2025-01-26 15:26:38 -08:00
2024-11-18 18:42:28 +00:00
2024-11-18 09:59:11 -08:00
2024-07-29 10:50:43 +01:00
2024-02-16 08:16:58 +01:00
2024-11-25 18:44:09 +01:00
2024-06-03 16:52:23 -07:00
2024-09-09 10:47:24 +02:00
2024-11-18 18:41:12 +00:00
2024-12-04 09:18:44 -08:00
2024-02-16 08:16:58 +01:00