- 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 13 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>
-
Sanchit Gandhi authored
* [FlaxSpeechEncoderDecoderModel] Ensure Input and Output Word Embeddings Are **Not** Tied * rebase
-
Jaesun Park authored
Co-authored-by:Jaesun Park <jaesun.park1@navercorp.com>
-
Sylvain Gugger authored
* Config update * Use doc-builder styler * Cleanup * Adapt import * We need it there too!
-
Yongrae Jo authored
Fix typo in comment: proprocessed -> preprocessed
-
Sanchit Gandhi authored
* [Flax] Improve Robustness of Back-Prop Tests * check equality of logits/outputs * make fixup
-
Shang Zhang authored
* update Dockerfile and utils_qa * Update README.md
-
Julien Chaumond authored
-
Kurian Benoy authored
* Update marian.mdx * Update marian.mdx * Update docs/source/model_doc/marian.mdx Co-authored-by:
Lysandre Debut <lysandre@huggingface.co> * Update marian.mdx Co-authored-by:
Lysandre Debut <lysandre@huggingface.co>
-
Jia authored
-
Nathan Glenn authored
* fix confusing PIL instructions As stated in the documentation [here](https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html?highlight=pdf#write-only-formats ), PIL can only write PDF's, not read them. Remove references to reading PDF's via PIL from this page to avoid confusion. * mention PDF in doc examples using PIL Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com> * Be explicit: PDFs must be converted to images * fix formatting Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com>
-
- 27 Mar, 2022 1 commit
-
-
Shamima authored
-
- 25 Mar, 2022 8 commits
-
-
Steven Liu authored
*
✨ create concept guide section *🖍 make fixup *🖍 apply feedback Co-authored-by:Steven <stevhliu@gmail.com>
-
Daniel Stancl authored
* Initial commit * Add TFGPTJModel * Fix a forward pass * Add TFGPTJCausalLM * Add TFGPTJForSequenceClassification * Add TFGPTJForQuestionAnswering * Fix docs * Deal with TF dynamic shapes * Add Loss parents to models * Adjust split and merge heads to handle 4 and 5-dim tensors * Update outputs for @tooslow tests
-
Sanchit Gandhi authored
-
Sanchit Gandhi authored
-
lewtun authored
* Add ONNX support for Blenderbot * Add BlenderbotSmall ONNX configuration * Update serialization table
-
Sylvain Gugger authored
* Sharded checkpoint support * Handle distant sharded checkpoints * Add tests * TODO is done * Apply suggestions from code review Co-authored-by:
Stas Bekman <stas00@users.noreply.github.com> * Fix docstring * Add example and format * Address review comments * More review comments * End of merge * Revert unintentional change * VsCode what did you do? * Style * Changes * Address final comments * Quality * Moar tests * Move import beneath is_pt_available Co-authored-by:
Stas Bekman <stas00@users.noreply.github.com>
-
Matt authored
-
Sylvain Gugger authored
-