transformers/docs/source
amyeroberts a717e0318c
Add TimmBackbone model (#22619)
* Add test_backbone for convnext

* Add TimmBackbone model

* Add check for backbone type

* Tidying up - config checks

* Update convnextv2

* Tidy up

* Fix indices & clearer comment

* Exceptions for config checks

* Correclty update config for tests

* Safer imports

* Safer safer imports

* Fix where decorators go

* Update import logic and backbone tests

* More import fixes

* Fixup

* Only import all_models if torch available

* Fix kwarg updates in from_pretrained & main rebase

* Tidy up

* Add tests for AutoBackbone

* Tidy up

* Fix import error

* Fix up

* Install nattan in doc_test_job

* Revert back to setting self._out_xxx directly

* Bug fix - out_indices mapping from out_features

* Fix tests

* Dont accept output_loading_info for Timm models

* Set out_xxx and don't remap

* Use smaller checkpoint for test

* Don't remap timm indices - check out_indices based on stage names

* Skip test as it's n/a

* Apply suggestions from code review

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>

* Cleaner imports / spelling is hard

---------

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
2023-06-06 17:11:30 +01:00
..
de Flax Regnet (#21867) 2023-04-04 12:41:12 -04:00
en Add TimmBackbone model (#22619) 2023-06-06 17:11:30 +01:00
es Update feature selection in to_tf_dataset (#21935) 2023-04-24 17:34:30 +01:00
fr Flax Regnet (#21867) 2023-04-04 12:41:12 -04:00
it Depricate xpu_backend for ddp_backend (#23085) 2023-05-01 09:44:47 -04:00
ja Add Japanese translation to accelerate.mdx (#23232) 2023-05-09 10:51:43 -04:00
ko 🌐 [i18n-KO] Translated bertology.mdx to Korean (#23968) 2023-06-06 09:08:45 -04:00
ms #23675 Registering Malay language (#23689) 2023-06-01 13:17:27 -04:00
pt Remove erroneous img closing tag (#23646) 2023-05-22 09:28:26 -04:00
zh Flax Regnet (#21867) 2023-04-04 12:41:12 -04:00
_config.py Adding evaluate to the list of libraries required in generated notebooks (#20850) 2022-12-21 14:04:08 +01:00