- 12 Oct, 2021 4 commits
-
-
Patrick von Platen authored
* correct long to bool * up * correct code
-
Mishig Davaadorj authored
-
Hardian Lawi authored
-
Lysandre Debut authored
-
- 11 Oct, 2021 10 commits
-
-
Patrick von Platen authored
* adapt wav2vec2 * add example * add files * adapt * remove bogus file * Apply suggestions from code review * adapt files more * upload changes * del old files * up * up * up * up * up * correct gradient checkpoitning * add readme * finish * finish * up * more fixes * up * up * add demo run to readme * up
-
Lahfa Samy authored
Replace assert by ValueError of src/transformers/models/electra/modeling_{electra,tf_electra}.py and all other models that had copies (#13955) * Replace all assert by ValueError in src/transformers/models/electra * Reformat with black to pass check_code_quality test * Change some assert to ValueError of modeling_bert & modeling_tf_albert * Change some assert in multiples models * Change multiples models assertion to ValueError in order to validate check_code_style test and models template test. * Black reformat * Change some more asserts in multiples models * Change assert to ValueError in modeling_layoutlm.py to fix copy error in code_style_check * Add proper message to ValueError in modeling_tf_albert.py Co-authored-by:Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Simplify logic in models/bert/modeling_bert.py Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Add ValueError message to models/convbert/modeling_tf_convbert.py Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Add error message for ValueError to modeling_tf_electra.py Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Simplify logic in models/tapas/modeling_tapas.py Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Simplify logic in models/electra/modeling_electra.py Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Add ValueError message in src/transformers/models/bert/modeling_tf_bert.py Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Simplify logic in src/transformers/models/rembert/modeling_rembert.py Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Simplify logic in src/transformers/models/albert/modeling_albert.py Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
Lukas Weiner authored
-
Sylvain Gugger authored
-
Midhun R Nair authored
-
Luis F. Talavera R authored
-
Jungwoo Park authored
-
Patrick von Platen authored
[Gradient checkpoining] Correct disabling `find_unused_parameters` in Trainer when gradient checkpointing is enabled (#13961) * up * correct test
-
Sylvain Gugger authored
* Honor existing attention mask in tokenzier.pad * Fix initialization of attention mask * Roll the implem on all subclasses * Fix tests
-
Lahfa Samy authored
* Raise ValueError exception instead of assert * Remove f unnecessary f-strings * Remove unused f-strings
-
- 09 Oct, 2021 1 commit
-
-
oraby8 authored
-
- 08 Oct, 2021 11 commits
-
-
Lysandre Debut authored
* Update bug-report.md * Update .github/ISSUE_TEMPLATE/bug-report.md Co-authored-by:
Suraj Patil <surajp815@gmail.com> * Update .github/ISSUE_TEMPLATE/bug-report.md Co-authored-by:
Suraj Patil <surajp815@gmail.com> * Update .github/ISSUE_TEMPLATE/bug-report.md Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com> * Update .github/ISSUE_TEMPLATE/bug-report.md Co-authored-by:
Anton Lozhkov <aglozhkov@gmail.com> Co-authored-by:
Suraj Patil <surajp815@gmail.com> Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com> Co-authored-by:
Anton Lozhkov <aglozhkov@gmail.com>
-
Chungman Lee authored
-
Sylvain Gugger authored
-
Sylvain Gugger authored
-
Sylvain Gugger authored
-
Patrick von Platen authored
* up * Update src/transformers/generation_stopping_criteria.py * finish
-
Sylvain Gugger authored
-
Adam Kaczmarek authored
-
Stella Biderman authored
* Added `framework` attribute * Update modeling_utils.py * Update modeling_flax_utils.py * Update modeling_tf_utils.py * Update modeling_utils.py * Update modeling_tf_utils.py * Update modeling_tf_utils.py * Update modeling_flax_utils.py * Update modeling_tf_utils.py * Update modeling_utils.py * Update modeling_utils.py * Update modeling_tf_utils.py * Update modeling_flax_utils.py * string -> str * Update modeling_tf_utils.py * string -> str * fixup * make flake happy Co-authored-by:patil-suraj <surajp815@gmail.com>
-
Nicolas Patry authored
* Adding support for tokens being suffixes or part of each other. * Better test name.
-
Mishig Davaadorj authored
* Implement img seg pipeline * Update src/transformers/pipelines/image_segmentation.py Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com> * Update src/transformers/pipelines/image_segmentation.py Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com> * Update output shape with individual masks * Rm dev change * Remove loops in test Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com>
-
- 07 Oct, 2021 8 commits
-
-
Stas Bekman authored
* [trainer] memory metrics: add memory at start * fix for no-gpu
-
Matt authored
* Fix issues with LED model * Style pass * Bugfixes * correct attentions as well Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
Mishig Davaadorj authored
-
Patrick von Platen authored
* up * overwrite hubert
-
Alex Hedges authored
-
Dhananjay Shettigar authored
* #12789 Replace assert statements with exceptions * fix-copies: made copy changes to utils_qa.py in examples/pytorch/question-answering and examples/tensorflow/question-answering * minor refactor for clarity
-
Jay Zhang authored
* Add all example files. * Reformat files by black. * Style. * Remove unused imports. Co-authored-by:Morgan Funtowicz <funtowiczmo@gmail.com>
-
Максим Заякин authored
-
- 06 Oct, 2021 6 commits
-
-
Lysandre authored
-
Anton Lozhkov authored
-
Sylvain Gugger authored
-
Yanming Wang authored
* Fix logging_nan_inf_filter in torch_xla mode * Update src/transformers/trainer.py Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Fix format Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
yssjtu authored
* enabling using past_key_values together with labels when training in T5ForConditionalGeneration * test * Enable past_key_values in T5ForconditionalGeneration while training. * delete comments
-
Akul Agrawal authored
-