transformers/docs/source/en/tasks
Shehan Munasinghe c045249049
Add swiftformer (#22686)
* Commit the automatically generated code

using add-new-model-like

* Update description at swiftformer.mdx file

* remove autogenerated code for MaskedImageModeling

* update weight conversion scripts

* Update modeling_swiftformer.py

* update configuration_swiftformer.py

* Update test_modeling_swiftformer.py

* update modeling code - remove einops dependency

* Update _toctree.yml

* update modeling code - remove copied from comments

* update docs

* Revert "update docs"

This reverts commit c2e05e2998.

* update docs

* remove unused reference SwiftFormerImageProcessor

* update dependency_versions_table.py

* update swiftformer.mdx

* update swiftformer.mdx

* change model output type - no attentions

* update model org name

* Fix typo

* fix copies

* Update tests/models/swiftformer/test_modeling_swiftformer.py

Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>

* Update src/transformers/models/auto/image_processing_auto.py

Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>

* Update src/transformers/models/auto/feature_extraction_auto.py

Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>

* Update docs/source/en/model_doc/swiftformer.mdx

Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>

* Update src/transformers/models/swiftformer/configuration_swiftformer.py

Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>

* Apply suggestions from code review

Co-Authored-By: amyeroberts <22614925+amyeroberts@users.noreply.github.com>

* Apply suggestions from code review

Co-Authored-By: amyeroberts <22614925+amyeroberts@users.noreply.github.com>

* Apply suggestions from code review

Co-Authored-By: amyeroberts <22614925+amyeroberts@users.noreply.github.com>

* Update modeling_swiftformer.py

fix-copies

* make style, make quality, fix-copies

* Apply suggestions from code review

Co-Authored-By: amyeroberts <22614925+amyeroberts@users.noreply.github.com>

* Apply suggestions from code review

Co-Authored-By: amyeroberts <22614925+amyeroberts@users.noreply.github.com>

* make style

Co-Authored-By: amyeroberts <22614925+amyeroberts@users.noreply.github.com>

* Add suggestions from code review

Co-Authored-By: amyeroberts <22614925+amyeroberts@users.noreply.github.com>

* Add suggestions from code review

Co-Authored-By: amyeroberts <22614925+amyeroberts@users.noreply.github.com>

* make fix-copies

* Update modeling_swiftformer.py

* Update modeling_swiftformer.py

* Add suggestions from code review

Co-Authored-By: amyeroberts <22614925+amyeroberts@users.noreply.github.com>

---------

Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
2023-05-12 11:52:31 +01:00
..
asr.mdx [docs] Audio task guides fixes (#23239) 2023-05-10 07:45:33 -04:00
audio_classification.mdx [Whisper] Add model for audio classification (#21754) 2023-03-07 16:20:21 +01:00
document_question_answering.mdx Add: document question answering task guide (#21518) 2023-02-13 09:24:56 -05:00
image_captioning.mdx [Tasks] Adds image captioning (#21512) 2023-02-10 22:52:12 +05:30
image_classification.mdx Add swiftformer (#22686) 2023-05-12 11:52:31 +01:00
language_modeling.mdx Add RWKV-4 (#22797) 2023-05-09 13:04:10 -04:00
masked_language_modeling.mdx Add Mega: Moving Average Equipped Gated Attention (#21766) 2023-03-24 08:17:27 -04:00
monocular_depth_estimation.mdx Depth estimation task guide (#22205) 2023-03-17 08:36:23 -04:00
multiple_choice.mdx Add Mega: Moving Average Equipped Gated Attention (#21766) 2023-03-24 08:17:27 -04:00
object_detection.mdx Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
question_answering.mdx GPTNeoXForQuestionAnswering (#23059) 2023-05-04 10:15:15 -04:00
semantic_segmentation.mdx Fix doc links (#22274) 2023-03-20 17:07:31 +00:00
sequence_classification.mdx Add BioGPTForSequenceClassification (#22253) 2023-05-01 09:17:27 -04:00
summarization.mdx [WIP]NLLB-MoE Adds the moe model (#22024) 2023-03-27 19:42:00 +02:00
text-to-speech.mdx [docs] Audio task guides fixes (#23239) 2023-05-10 07:45:33 -04:00
token_classification.mdx added GPTNeoForTokenClassification (#22908) 2023-04-27 12:10:03 -04:00
translation.mdx [WIP]NLLB-MoE Adds the moe model (#22024) 2023-03-27 19:42:00 +02:00
video_classification.mdx Automated compatible models list for task guides (#21338) 2023-01-27 13:19:28 -05:00
zero_shot_image_classification.mdx Zero-shot image classification task guide (#22132) 2023-03-13 10:57:17 -04:00
zero_shot_object_detection.mdx Add: task guide for zero shot object detection (#21829) 2023-02-28 10:23:08 -05:00