- 10 Jun, 2020 13 commits
-
-
Sylvain Gugger authored
-
Sylvain Gugger authored
* Split LMBert model in two * Fix example * Remove lm_labels * Adapt tests, refactor prepare_for_generation * Fix merge * Hide BeartLMHeadModel
-
Matthew Goldey authored
* check type before logging to ensure it's a scalar * log when Trainer attempts to add a non-scalar value using TensorboardX's writer.add_scalar so we know what kinds of fixes are appropriate * black it * rephrase log message to clarify attribute was dropped Co-authored-by:
Julien Chaumond <chaumond@gmail.com> Co-authored-by:
Julien Chaumond <chaumond@gmail.com>
-
Yannis Papanikolaou authored
-
Lysandre Debut authored
* Run a single wandb instance per TPU run * wandb: self.is_world_master * make style Co-authored-by:Julien Chaumond <chaumond@gmail.com>
-
Lysandre Debut authored
-
Suraj Patil authored
* ElectraForQuestionAnswering * udate __init__ * add test for electra qa model * add ElectraForQuestionAnswering in auto models * add ElectraForQuestionAnswering in all_model_classes * fix outputs, input_ids defaults to None * add ElectraForQuestionAnswering in docs * remove commented line
-
Amil Khare authored
-
Sylvain Gugger authored
-
Patrick von Platen authored
* fix doc * add format file * add output attentions to all docs * add also for bart * fix naming * re-add doc to config
-
Sylvain Gugger authored
* Fix CI
-
Sylvain Gugger authored
* Deal with multiple choice in common tests
-
Sylvain Gugger authored
* Remove unused arguments * Formatting * Remove second todo comment
-
- 09 Jun, 2020 9 commits
-
-
songyouwei authored
`is_leaf` may become `False` after `.to(device=device)` function call.
-
Lysandre authored
-
Bharat Raghunathan authored
* DOC: Replace instances of ``config.output_attentions`` with function argument ``output_attentions`` * DOC: Apply Black Formatting * Fix errors where output_attentions was undefined * Remove output_attentions in classes per review * Fix regressions on tests having `output_attention` * Fix further regressions in tests relating to `output_attentions` Ensure proper propagation of `output_attentions` as a function parameter to all model subclasses * Fix more regressions in `test_output_attentions` * Fix issues with BertEncoder * Rename related variables to `output_attentions` * fix pytorch tests * fix bert and gpt2 tf * Fix most TF tests for `test_output_attentions` * Fix linter errors and more TF tests * fix conflicts * DOC: Apply Black Formatting * Fix errors where output_attentions was undefined * Remove output_attentions in classes per review * Fix regressions on tests having `output_attention` * fix conflicts * fix conflicts * fix conflicts * fix conflicts * fix pytorch tests * fix conflicts * fix conflicts * Fix linter errors and more TF tests * fix tf tests * make style * fix isort * improve output_attentions * improve tensorflow Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
Sam Shleifer authored
-
Patrick von Platen authored
* add tpu and torchscipt for benchmark * fix name in tests * "fix email" * make style * better log message for tpu * add more print and info for tpu * allow possibility to print tpu metrics * correct cpu usage * fix test for non-install * remove bugus file * include psutil in testing * run a couple of times before tracing in torchscript * do not allow tpu memory tracing for now * make style * add torchscript to env * better name for torch tpu Co-authored-by:Patrick von Platen <patrick@huggingface.co>
-
Hamza Harkous authored
Co-authored-by:Hamza Harkous <harkous@google.com>
-
Amil Khare authored
-
Julien Plu authored
-
Sylvain Gugger authored
* Add XLMRobertaForQuestionAnswering * Formatting * Make test happy
-
- 08 Jun, 2020 9 commits
-
-
Sam Shleifer authored
-
ZhuBaohe authored
-
Sylvain Gugger authored
* Clean documentation
-
Lysandre authored
-
Julien Plu authored
* Align checkpoint dir with the PT trainer * Use args for max to keep checkpoints
-
Patrick von Platen authored
* fix flaky beam search * fix typo
-
Patrick von Platen authored
-
Sylvain Gugger authored
* Expose classes used in documentation * Format code
-
daniel-shan authored
Co-authored-by:Daniel Shan <daniel.shan@workday.com>
-
- 07 Jun, 2020 1 commit
-
-
Bram Vanroy authored
-
- 06 Jun, 2020 3 commits
-
-
Sam Shleifer authored
-
-
Sylvain Gugger authored
-
- 05 Jun, 2020 5 commits
-
-
Sylvain Gugger authored
* Add badges for models and docs
-
Sam Shleifer authored
-
Sam Shleifer authored
-
Patrick von Platen authored
* automatically set decoder config to decoder * add more tests
-
Sylvain Gugger authored
-