- 01 Apr, 2022 1 commit
-
-
Cathy authored
-
- 31 Mar, 2022 9 commits
-
-
Anton Lozhkov authored
* [research] link to the XTREME-S paper * Update examples/research_projects/xtreme-s/README.md Co-authored-by:
Lysandre Debut <lysandre.debut@reseau.eseo.fr> Co-authored-by:
Lysandre Debut <lysandre.debut@reseau.eseo.fr>
-
Sylvain Gugger authored
-
Mowaninuola Osifeso authored
* added type hints to xglm pytorch * Update src/transformers/models/xglm/modeling_xglm.py * Update src/transformers/models/xglm/modeling_xglm.py Co-authored-by:Matt <Rocketknight1@users.noreply.github.com>
-
Bhadresh Savani authored
-
Santiago G贸mez authored
* Translate accelerate.mdx from english to spanish * Update docs/source_es/accelerate.mdx Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Apply suggestions from code review Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Apply suggestions from code review Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Fix nits and finish translation Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com>
-
Liliana Badillo authored
* Translate installation.mdx to Spanish * Update docs/source_es/installation.mdx Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/installation.mdx Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/installation.mdx Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/installation.mdx Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/installation.mdx Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/installation.mdx Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/installation.mdx Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/installation.mdx Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/installation.mdx Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/installation.mdx Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Fix nits and finish translation Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com>
-
Juanjo do Olmo authored
* Duplication of the source eng file * Spanish translation of the file multilingual.mdx * Update docs/source_es/multilingual.mdx Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/multilingual.mdx Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/multilingual.mdx Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/multilingual.mdx Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/multilingual.mdx Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/multilingual.mdx Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/multilingual.mdx Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Fix nits and finish translation Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com>
-
chenbohua3 authored
* make tuple annotation more specific to avoid failures during symbolic_trace * make tuple annotation more specific to avoid failures during symbolic_trace
-
Francesco Saverio Zuppichini authored
* first proposal * replace model outputs in various models * conflicts * docstring * update poolformer * minor change in docstring * CI * removed poolformer specific outputs from doc * removed convnext specific outputs from doc * CI * weird char in segformer * conversations * reverted docstring for BaseModelOutputWithPooling * update outputs * changed docstring in BaseModelOutput * updated docstring in modeling outputs * typos :) * fixed typo after copy & paste it all around * CI * Apply suggestions from code review Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com> * segformer Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com>
-
- 30 Mar, 2022 9 commits
-
-
Manuel R. Ciosici authored
-
Lai Wei authored
* update smddp api to v1.4.0 * Update src/transformers/trainer.py Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Update src/transformers/trainer.py Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * address comments * fix style * remove unused import * fix indent * disable style check for import * fix space Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
Stas Bekman authored
* [examples] max samples can't be bigger than then len of dataset * do tf and flax
-
Francesco Saverio Zuppichini authored
* feature extractor accepts * resolved conversations * added examples in test for ADE20K * num_classes -> num_labels * Apply suggestions from code review Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * resolving conversations * resolving conversations * removed ADE * CI * minor changes in conversion script * reduce_labels in feature extractor * minor changes * correct preprocess for instace segmentation maps * minor changes * minor changes * CI * debugging * better padding * going to update labels inside the model * going to update labels inside the model * minor changes * tests * removed changes in feature_extractor_utils * conversation * conversation * example in feature extractor * more docstring in modeling * test * make style * doc Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
Joao Gante authored
* Add unpack_inputs to remaining models * remove stray use of inputs in the templates; fix tf.debugging of attn masks
-
tomerip authored
Add support for exporting GPT-J to ONNX-TRT Co-authored-by:Tomer Stav <stavt@amazon.com>
-
dctelus authored
-
Aditya Kane authored
-
Dahlbomii authored
* Type hints and TF decorator added * Type hints and TF decorator added * make style Co-authored-by:matt <rocketknight1@gmail.com>
-
- 29 Mar, 2022 18 commits
-
-
Antoni Baum authored
* Do not initialize torch process group twice * Apply suggestions from code review
-
Yih-Dar authored
* Raise diff tolerance value Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Christopher Akiki authored
* add unpack_inputs decorator to Main Layer * add unpack_inputs decorator to Model * add unpack_inputs decorator to LMHead Model * add unpack_inputs decorator to Double Head Model * add unpack_inputs decorator to Sequence Classification Model * run fixup recipe * make unpack_inputs the first decorator
-
Sander Land authored
* Avoid accessing .dataset of a dataloader * style * fix * cleaning up, reverting some misunderstandings * black * add train_dataset argument to get_train_dataloader, and fix other instances of length checks * flake8 * address comments * fix bug * cleanup * add test * Update tests/trainer/test_trainer.py Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * under torch * merge * stylistic suggestion Co-authored-by:
Sander Land <sander@chatdesk.com> Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
akashe authored
-
Sayak Paul authored
* ported TFViTMAEIntermediate and TFViTMAEOutput. * added TFViTMAEModel and TFViTMAEDecoder. * feat: added a noise argument in the implementation for reproducibility. * feat: vit mae models with an additional noise argument for reproducibility. Co-authored-by:
ariG23498 <aritra.born2fly@gmail.com> Co-authored-by:
ydshieh <ydshieh@users.noreply.github.com>
-
Joao Gante authored
* properly handle kwargs in encoder_decoder architectures * make fixup
-
Dan Tegzes authored
* Add type hints for UniSpeech * Added type hints for UniSpeechSat * Added type hints for Wave2Vec2 (PT) * Added type hints for models dependent of wave2vec
-
Wesley A. Cheng authored
-
Yih-Dar authored
* add code samples Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Wesley A. Cheng authored
-
Sylvain Gugger authored
-
Yih-Dar authored
* Fix for test_mixed_precision * Fix test_saved_model_creation by using shape_list instead of shape * skit test_model_from_pretrained on GPU for now to avoid GPU OOM * skip test_gptj_sample_max_time for now Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Yih-Dar authored
* fix - set output_attentions to True * Update tests/test_modeling_flax_common.py * update for has_attentions * overwrite check_outputs in FlaxBigBirdModelTest Co-authored-by:
ydshieh <ydshieh@users.noreply.github.com> Co-authored-by:
Suraj Patil <surajp815@gmail.com>
-
Steven Liu authored
* Remove duplicate mLuke *
馃枍 apply feedback -
Eldar Kurtic authored
* Prevent overwriting matched with mismatched metrics * Fix style
-
Arnaud Stiegler authored
* docstring still WIP | adding to documentation_tests * clean version | passes tests * adding to documentation_test * adding forward for training pass * make fixup applied * address comments * fix doctest * apply make fixup * remove additional blank * fix file to have correct split for prepare_for_doc_test * Update src/transformers/models/trocr/modeling_trocr.py Co-authored-by:
Yih-Dar <2521628+ydshieh@users.noreply.github.com> * address comments * changing text | adding loss check | make fixup * make fixup * Update src/transformers/models/trocr/modeling_trocr.py Co-authored-by:
Yih-Dar <2521628+ydshieh@users.noreply.github.com> * Update src/transformers/models/trocr/modeling_trocr.py Co-authored-by:
Yih-Dar <2521628+ydshieh@users.noreply.github.com> * Update src/transformers/models/trocr/modeling_trocr.py Co-authored-by:
Yih-Dar <2521628+ydshieh@users.noreply.github.com> * make fixup Co-authored-by:
Yih-Dar <2521628+ydshieh@users.noreply.github.com>
-
Suraj Patil authored
-
- 28 Mar, 2022 3 commits
-
-
lewtun authored
-
Fernando authored
* Add the translation from English to Spanish of the pipeline_tutorial.mdx file * Update docs/source_es/pipeline_tutorial.mdx Fix typo Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/pipeline_tutorial.mdx Fix typo Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/pipeline_tutorial.mdx Fix typo Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/pipeline_tutorial.mdx Fix typo Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/pipeline_tutorial.mdx Fix typo Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/pipeline_tutorial.mdx Fix typo Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/pipeline_tutorial.mdx Fix typo Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/pipeline_tutorial.mdx Fix typo Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/pipeline_tutorial.mdx Fix typo Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/pipeline_tutorial.mdx Fix typo Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/pipeline_tutorial.mdx Fix typo Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/pipeline_tutorial.mdx Fix typo Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/pipeline_tutorial.mdx Fix typo Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/pipeline_tutorial.mdx Fix typo Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> * Update docs/source_es/pipeline_tutorial.mdx Fix typo Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com> Co-authored-by:
fernando <fernando@gethitch.ai> Co-authored-by:
Omar U. Espejel <espejelomar@gmail.com>
-
NielsRogge authored
* First draft * More improvements * Add fusion blocks * Make conversion script work for dpt_large * Make conversion script work * Improve implementation * Improve conversion script * Add DPTForSemanticSegmentation * Make conversion work for semantic segmentation * Add tests * Remove print statements * First draft * Redesign neck * Improve tests * Improve implementation some more * Make neck output list of tensors * Improve neck and feature extractor * Fix integration tests * Make more tests pass * Make all tests pass * Add missing config archive map * Add in_index attribute to make heads accept list of tensors * Apply suggestions from code review * Apply suggestions from code review Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Apply some more suggestions * Add copied from statements * Remove assert * Apply suggestions from code review * Apply suggestions from code review * Remove DPTInterpolate in favor of nn.Upsample * Add comments * Apply suggestions from code review * Apply suggestions from code review * Add proposed design * Update design * Add DPTReassembleLayer * Add DPTFeatureFusionStage * Apply more suggestions from code review * Apply suggestions from code review * Apply suggestions from code review * Fix rebase * Update in_index and out_indices * Fix conversion script * Fix code quality * Add model to toctree and use DepthEstimatorOutput * Fix rebase * Fix code examples * Improve code * Fix copied from statements * Apply suggestions from code review * Remove compute_loss method * Apply suggestions from code review * Fix documentation tests file * Remove test.py file * Improve doc example Co-authored-by:
Niels Rogge <nielsrogge@Nielss-MacBook-Pro.local> Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Co-authored-by:
Niels Rogge <nielsrogge@nielss-mbp.home>
-