1. 15 Jun, 2020 5 commits
  2. 14 Jun, 2020 2 commits
  3. 13 Jun, 2020 1 commit
    • Sylvain Gugger's avatar
      Hans data (#4854) · 403d3098
      Sylvain Gugger authored
      * Update hans data to be able to use Trainer
      
      * Fixes
      
      * Deal with tokenizer that don't have token_ids
      
      * Clean up things
      
      * Simplify data use
      
      * Fix the input dict
      
      * Formatting + proper path in README
      403d3098
  4. 12 Jun, 2020 7 commits
  5. 11 Jun, 2020 6 commits
  6. 10 Jun, 2020 14 commits
  7. 09 Jun, 2020 5 commits
    • songyouwei's avatar
      run_pplm.py bug fix (#4867) · 29c36e9f
      songyouwei authored
      `is_leaf` may become `False` after `.to(device=device)` function call.
      29c36e9f
    • Lysandre's avatar
      uninstalled wandb raises AttributeError · 13aa1741
      Lysandre authored
      13aa1741
    • Bharat Raghunathan's avatar
      [All models] Extend config.output_attentions with output_attentions function arguments (#4538) · 6e603cb7
      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: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      6e603cb7
    • Sam Shleifer's avatar
      f90bc44d
    • Patrick von Platen's avatar
      [Benchmark] add tpu and torchscipt for benchmark (#4850) · 2cfb947f
      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: default avatarPatrick von Platen <patrick@huggingface.co>
      2cfb947f