Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed commmits. All previous commits changed doc, names and minor …
…architecture details in maskformer added detr inside maskformer added swin inside maskformer removed #Copied from swin now matches master update model auto update model auto update swin in maskformer update swin in maskformer make fixies fixed the docstring destroyed by make-fixies typos typos typos Rebase (#15606) TF MT5 embeddings resize (#15567) * Fix TF MT5 vocab resize * more assertive testing 🖍 remove broken link (#15615) Fix _configuration_file argument getting passed to model (#15629) [deepspeed docs] misc additions (#15585) * [deepspeed docs] round_robin_gradients * training and/or eval/predict loss is * Update docs/source/main_classes/deepspeed.mdx Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> [research_projects] deal with security alerts (#15594) * [research_projects] deal with security alerts * add a note of the original PL ver and warning Custom feature extractor (#15630) * Rework AutoFeatureExtractor.from_pretrained internal * Custom feature extractor * Add more tests * Add support for custom feature extractor code * Clean up Fix grammar in tokenizer_summary (#15614) "to make ensure" is redundant. Add push to hub to feature extractor (#15632) * Add push to hub to feature extractor * Quality * Clean up [Fix doc example] FlaxVisionEncoderDecoder (#15626) * Fix wrong checkpoint name: vit * Fix missing import * Fix more missing import * make style * Apply suggestions from code review Co-authored-by: NielsRogge <48327001+NielsRogge@users.noreply.github.com> Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> Co-authored-by: NielsRogge <48327001+NielsRogge@users.noreply.github.com> Fix a bug that ignores max_seq_len in preprocess (#15238) Report only the failed imports in `requires_backends` (#15636) Make Swin work with VisionEncoderDecoderModel (#15527) * Add attribute_map * Add mention in docs * Set hidden_size attribute correctly * Add note about Transformer-based models only Co-authored-by: Niels Rogge <nielsrogge@Nielss-MBP.localdomain> Remove redundant error logging in from_pretrained() method (#15631) * Remove error logging in from_pretrained() method Register feature extractor (#15634) * Rework AutoFeatureExtractor.from_pretrained internal * Custom feature extractor * Add more tests * Add support for custom feature extractor code * Clean up * Add register API to AutoFeatureExtractor fix bug for the log of RNG states are not properly loaded exception. (#15638) Co-authored-by: muz <muzhi1991@limuzhideMBP-2.lan> [SpeechEncoderDecoder] Make sure no EOS is generated in test (#15655) logger doc Revert "logger doc" This reverts commit 41168a4. Require tokenizers>=0.11.1 (#15266) `tokenizers` version that supports the feature to choose the direction of truncation Fix ASR pipelines from local directories with wav2vec models that have language models attached (#15590) * Fix loading pipelines with wav2vec models with lm when in local paths * Adding tests * Fix test * Adding tests * Flake8 fixes * Removing conflict files :( * Adding task type to test * Remove unnecessary test and imports Fix typo in speech2text2 doc (#15617) Forward looks for inputs, not input_ids Allow custom code for Processors (#15649) * Allow custom code for Processors * Add more test * Test all auto_map configs are properly set add scores to Wav2Vec2WithLMOutput (#15413) * add scores to Wav2Vec2WithLMOutput * style fixup Update bad_words_ids usage (#15641) * Improve the parameter `bad_word_ids' usage * Update the bad_words_ids strategy updated with latest PL and Ray (#15653) Add section about doc testing (#15659) * Add doctesting section * Improve * Apply suggestions from code review Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Fix quality add a network debug script and document it (#15652) * add a network debug script and document it * doc Re-export `KeyDataset`. (#15645) * Re-export `KeyDataset`. * Update the docs locations. Add `decoder_kwargs` to send to LM on asr pipeline. (#15646) Co-authored-by: Giuseppe Attanasio <giuseppeattanasio6@gmail.com> Co-authored-by: Giuseppe Attanasio <giuseppeattanasio6@gmail.com> TF generate refactor - Greedy Search (#15562) * TF generate start refactor * Add tf tests for sample generate * re-organize * boom boom * Apply suggestions from code review * re-add * add all code * make random greedy pass * make encoder-decoder random work * further improvements * delete bogus file * make gpt2 and t5 tests work * finish logits tests * correct logits processors * correct past / encoder_outputs drama * refactor some methods * another fix * refactor shape_list * fix more shape list * import shape _list * finish docs * fix imports * make style * correct tf utils * Fix TFRag as well * Apply Lysandre's and Sylvais suggestions * Update tests/test_generation_tf_logits_process.py Co-authored-by: Matt <Rocketknight1@users.noreply.github.com> * Update src/transformers/tf_utils.py Co-authored-by: Matt <Rocketknight1@users.noreply.github.com> * remove cpu according to gante * correct logit processor Co-authored-by: Matt <Rocketknight1@users.noreply.github.com> [pipeline doc] fix api (#15660) * [pipeline doc] fix api * remove duplicate Fix TFSequenceSummary's activation (#15643) * fix TFSequenceSummary * fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> Fix model equivalence tests (#15670) * Fix model equivalence tests * Apply suggestions from code review Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Fix vit test (#15671) Add a missing space in a deprecation message (#15651) [t5/t0/mt5 models] faster/leaner custom layer norm (#14656) * [t5] faster/leaner custom layer norm * wip * apex.normalization.FusedRMSNorm * cleanup * cleanup * add doc * add catch all * Trigger CI * expand Add push_to_hub method to processors (#15668) * Add push_to_hub method to processors * Fix test * The other one too! Usage examples for logger (#15657) * logger * Update docs/source/main_classes/logging.mdx Co-authored-by: Stas Bekman <stas00@users.noreply.github.com> * Update docs/source/main_classes/logging.mdx Co-authored-by: Stas Bekman <stas00@users.noreply.github.com> Co-authored-by: Stas Bekman <stas00@users.noreply.github.com> Fix dec_attn_mask in TFTransfoXLMainLayer (#15665) * fix attn * clean-up Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> prefixed MaskFormer to FPN Update README_ko.md Co-authored-by: NielsRogge <48327001+NielsRogge@users.noreply.github.com> Update docs/source/index.mdx Co-authored-by: NielsRogge <48327001+NielsRogge@users.noreply.github.com> update maskformer.mdx update maskformer.mdx fixes replaced pretrained weight name test for maskformer Update docs/source/model_doc/maskformer.mdx Co-authored-by: NielsRogge <48327001+NielsRogge@users.noreply.github.com> Update docs/source/model_doc/maskformer.mdx Co-authored-by: NielsRogge <48327001+NielsRogge@users.noreply.github.com> Typos in doc Co-authored-by: NielsRogge <48327001+NielsRogge@users.noreply.github.com> Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> line in __init__ line in __init__ indent in maskformer.mdx removed maskformer in auto mapping resolved conversation for maskformer config resolved conversations minor fixes for ci fixed MASK_FOMER -> MASKFORMER in __init__ added export MaskFormerPreTrainedModel fixes for ci MaskFormerForInstanceSegmentation docstring 🔥 Remove build_doc_test github action (#15680) Add register method to AutoProcessor (#15669) * Add push_to_hub method to processors * Fix test * The other one too! * Add register method to AutoProcessor * Update src/transformers/models/auto/processing_auto.py Co-authored-by: Lysandre Debut <lysandre.debut@reseau.eseo.fr> Co-authored-by: Lysandre Debut <lysandre.debut@reseau.eseo.fr> [Wav2Vec2ProcessorWithLM] Fix auto processor with lm (#15683) Fix Funnel configuration doc (#15686) * fix doc * make style Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> Implementation of activations as pytorch modules (#15616) * Implement activations as pytorch modules * Apply fixup * Add missing tests for activations * Update docstring Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com> Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com> Add image classification notebook (#15667) Co-authored-by: Niels Rogge <nielsrogge@Nielss-MacBook-Pro.local> Add PoolFormer (#15531) * Added all files, PoolFormerFeatureExtractor still failing tests * Fixed PoolFormerFeatureExtractor not being able to import * Completed Poolformer doc * Applied Suggested fixes * Fixed errors in modeling_auto.py * Fix feature extractor, convert docs to Markdown, styling of code * Remove PoolFormer from check_repo and fix integration test * Remove Poolformer from check_repo * Fixed configuration_poolformer.py docs and removed inference.py from poolformer * Ran with black v22 * Added PoolFormer to _toctree.yml * Updated poolformer doc * Applied suggested fixes and added on README.md * Did make fixup and make fix-copies, tests should pass now * Changed PoolFormer weights conversion script name and fixed README * Applied fixes in test_modeling_poolformer.py and modeling_poolformer.py * Added PoolFormerFeatureExtractor to AutoFeatureExtractor API Co-authored-by: Niels Rogge <nielsrogge@Nielss-MBP.localdomain> Update docs/source/model_doc/maskformer.mdx Co-authored-by: NielsRogge <48327001+NielsRogge@users.noreply.github.com> Update docs/source/model_doc/maskformer.mdx Co-authored-by: NielsRogge <48327001+NielsRogge@users.noreply.github.com> modeling_maskformer docstring make style
- Loading branch information