transformers/docs/source
Armaghan Shakir 0710e9b1e8
Create and Expose SamVisionModel as public for better accessibility (#36493)
* move encoder below

* auto modeling

* write SamVisionTester

* fix vision attention shape

* fix SamVisionTest

* minor changes to SamVisionTest

* Revert "fix vision attention shape"

This reverts commit d2a4083ae5.

* fix attention output shape in new tests

* remove encoder examples

* run modular on got_ocr2

* code formatting

* fix got_ocr2

* ruff fixes

* code quality

* add sam_vision in auto modeling and auto configuration

* remove composite test

* updated index.md

* add TFSamVisionEncoder to __init__

* fix public TFSamVisionEncoder

* remove outdated todo comment

* set test_torch_exportable

Co-authored-by: Pavel Iakubovskii <qubvel@gmail.com>

* rename: VisionEncoder -> VisionModel

* bring back original SamVisionEncoder

* rename back: VisionEncoderOutput -> VisionModelOutput

* undo changes in SamModelTester

* reuse SamVisionEncoder in SamVisionModel

---------

Co-authored-by: Pavel Iakubovskii <qubvel@gmail.com>
2025-03-31 11:45:07 +02:00
..
ar Remove research projects (#36645) 2025-03-11 13:47:38 +00:00
de Fix typos (#36910) 2025-03-24 14:08:29 +00:00
en Create and Expose SamVisionModel as public for better accessibility (#36493) 2025-03-31 11:45:07 +02:00
es Fix typos (#36910) 2025-03-24 14:08:29 +00:00
fr Remove research projects (#36645) 2025-03-11 13:47:38 +00:00
hi [i18n-HI] Translated TFLite page to Hindi (#34572) 2024-11-04 09:40:30 -08:00
it Fix typos (#36910) 2025-03-24 14:08:29 +00:00
ja Just import torch AdamW instead (#36177) 2025-03-19 18:29:40 +00:00
ko 🌐 [i18n-KO] Translated qwen2_vl.md to Korean (#36750) 2025-03-30 15:00:27 -07:00
ms Remove research projects (#36645) 2025-03-11 13:47:38 +00:00
pt Fix typos (#36910) 2025-03-24 14:08:29 +00:00
te Fix typos in translated quicktour docs (#35302) 2024-12-17 09:32:00 -08:00
tr Translate index.md to Turkish (#27093) 2023-11-08 08:35:20 -05:00
zh Just import torch AdamW instead (#36177) 2025-03-19 18:29:40 +00:00
_config.py [#29174] ImportError Fix: Trainer with PyTorch requires accelerate>=0.20.1 Fix (#29888) 2024-04-08 14:21:16 +01:00