- 12 Jun, 2020 6 commits
-
-
Suraj Patil authored
-
Sylvain Gugger authored
* Add AlbertForMultipleChoice * Make up to date and add all models to common tests
-
Manuel Romero authored
-
Yannis Papanikolaou authored
-
Patrick von Platen authored
* first commit * add new auto models * better naming * fix bert automodel * fix automodel for pretraining * add models to init * fix name typo * fix typo * better naming * future warning instead of depreciation warning
-
Sam Shleifer authored
-
- 11 Jun, 2020 6 commits
-
-
VictorSanh authored
-
Patrick von Platen authored
-
Suraj Patil authored
-
Sam Shleifer authored
-
Sylvain Gugger authored
* Support multiple choice in tf common model tests * Add the input_embeds test
-
Setu Shah authored
-
- 10 Jun, 2020 14 commits
-
-
RafaelWO authored
* Fixed resize_token_embeddings for transfo_xl model * Fixed resize_token_embeddings for transfo_xl. Added custom methods to TransfoXLPreTrainedModel for resizing layers of the AdaptiveEmbedding. * Updated docstring * Fixed resizinhg cutoffs; added check for new size of embedding layer. * Added test for resize_token_embeddings * Fixed code quality * Fixed unchanged cutoffs in model.config Co-authored-by:Rafael Weingartner <rweingartner.its-b2015@fh-salzburg.ac.at>
-
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 5 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
-