- 25 Sep, 2020 10 commits
-
-
Sylvain Gugger authored
-
Stas Bekman authored
* [code quality] merge style and quality targets Any reason why we don't run `flake8` in `make style`? I find myself needing to run `make style` and `make quality` all the time, but I need the latter just for the last 2 checks. Since we have no control over the source code why bother with separating checking and fixing - let's just have one target that fixes and then performs the remaining checks, as we know the first two have been done already. This PR suggests to merge the 2 targets into one efficient target. I will edit the docs if this change resonates with the team. * move checks into style, re-use target * better name * add fixup target * document new target
-
Sam Shleifer authored
-
Patrick von Platen authored
-
Quentin Lhoest authored
* Fix retrieval offset in RAG's HfIndex * update slow tests * style * fix new test * style * add better tests Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
Patrick von Platen authored
* fix_rag_sequence * add second bug fix
-
Suraj Patil authored
-
Patrick von Platen authored
* add docs * add missing docs and attention_mask in fine-tune
-
Lysandre Debut authored
* Check config type instead of instance Bad merge * Remove for loops * Style
-
Sam Shleifer authored
* Mbart passing * boom boom * cleaner assert * add assert * Fix tests
-
- 24 Sep, 2020 15 commits
-
-
Suraj Patil authored
Co-authored-by:Sam Shleifer <sshleifer@gmail.com>
-
Sam Shleifer authored
-
Patrick von Platen authored
-
Stas Bekman authored
Co-authored-by:Sam Shleifer <sshleifer@gmail.com>
-
Sylvain Gugger authored
* Remove mentions of RAG from the docs * Deactivate check
-
Stas Bekman authored
-
Lysandre Debut authored
* Formatter * Docs
-
Teven authored
* remote debugging * remote debugging * moved _store_flos call * moved _store_flos call * moved _store_flos call * removed debugging artefacts
-
Sylvain Gugger authored
* Clean RAG docs and template docs * Fix typo * Better doc
-
Sylvain Gugger authored
-
Julien Plu authored
* Refacto the models to remove their interdependencies * Fix Flaubert model * Fix Flaubert * Fix XLM * Fix Albert * Fix Roberta * Fix Albert * Fix Flaubert * Apply style + remove unused imports * Fix Distilbert * remove unused import * fix Distilbert * Fix Flaubert * Apply style * Fix Flaubert * Add the copy comments for the check_copies script * Fix MobileBert model name * Address Morgan's comments * Fix typo * Oops typo
-
Jabin Huang authored
Updata tokenization_auto.py to handle Inherited tokenizer
-
Daquan Lin authored
correct a very small mistake
-
Sylvain Gugger authored
* Check decorator order * Adapt for parametrized decorators * Fix typos
-
Sylvain Gugger authored
-
- 23 Sep, 2020 8 commits
-
-
Sam Shleifer authored
-
Theo Linnemann authored
Previously, the TFTrainingArguments object did a check to see if XLA was enabled, but did this by referencing `self.args.xla`, when it should be `self.xla`, because it is the args object. This can be verified a few lines above, where the XLA field is set.
-
Felipe Curti authored
* Changed name to all no_... arguments and all references to them, inverting the boolean condition * Change benchmark tests to use new Benchmark Args * Update src/transformers/benchmark/benchmark_args_utils.py Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> * Update src/transformers/benchmark/benchmark.py Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> * Fix Style. Add --no options in help * fix some part of tests * Update src/transformers/benchmark/benchmark_args_utils.py * Update src/transformers/benchmark/benchmark_args_utils.py * Update src/transformers/benchmark/benchmark_args_utils.py * fix all tests * make style * add backwards compability * make backwards compatible Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> Co-authored-by:
fmcurti <fcurti@DESKTOP-RRQURBM.localdomain>
-
Doug Blank authored
* Ensure that intergrations are imported before transformers or ml libs * Black reformatter wanted a newline * isort requests * black requests * flake8 requests
-
Sylvain Gugger authored
* Clean up model documentation * Formatting * Preparation work * Long lines * Main work on rst files * Cleanup all config files * Syntax fix * Clean all tokenizers * Work on first models * Models beginning * FaluBERT * All PyTorch models * All models * Long lines again * Fixes * More fixes * Update docs/source/model_doc/bert.rst Co-authored-by:
Lysandre Debut <lysandre@huggingface.co> * Update docs/source/model_doc/electra.rst Co-authored-by:
Lysandre Debut <lysandre@huggingface.co> * Last fixes Co-authored-by:
Lysandre Debut <lysandre@huggingface.co>
-
Wissam Antoun authored
* Fixed evaluation_strategy on epoch end bug move the evaluation script outside the the iteration loop * black formatting
-
Stas Bekman authored
* skip decorators: docs, tests, bugs * another important note * style * bloody style * add @pytest.mark.parametrize * add note * no idea what it wants :(
-
Stas Bekman authored
* fix confused flake We run `black --target-version py35 ...` but flake8 doesn't know that, so currently with py38 flake8 fails suggesting that black should have reformatted 63 files. Indeed if I run: ``` black --line-length 119 --target-version py38 examples templates tests src utils ``` it indeed reformats 63 files. The only solution I found is to create a black config file as explained at https://github.com/psf/black#configuration-format, which is what this PR adds. Now flake8 knows that py35 is the standard and no longer gets confused regardless of the user's python version. * adjust the other files that will now rely on black's config file
-
- 22 Sep, 2020 7 commits
-
-
Sam Shleifer authored
-
Sam Shleifer authored
-
blinovpd authored
-
Sylvain Gugger authored
-
Chady Kamar authored
* Add dataloader_num_workers to TrainingArguments This argument is meant to be used to set the number of workers for the PyTorch DataLoader. * Pass num_workers argument on DataLoader init
-
Sam Shleifer authored
-
Pavel Soriano authored
The score for the F1 metric was reported as the Exact Match and vice-versa.
-