1. 04 Jun, 2020 2 commits
  2. 02 Jun, 2020 4 commits
  3. 01 Jun, 2020 15 commits
  4. 27 May, 2020 3 commits
    • Patrick von Platen's avatar
      [Benchmark] Memory benchmark utils (#4198) · 96f57c9c
      Patrick von Platen authored
      
      
      * improve memory benchmarking
      
      * correct typo
      
      * fix current memory
      
      * check torch memory allocated
      
      * better pytorch function
      
      * add total cached gpu memory
      
      * add total gpu required
      
      * improve torch gpu usage
      
      * update memory usage
      
      * finalize memory tracing
      
      * save intermediate benchmark class
      
      * fix conflict
      
      * improve benchmark
      
      * improve benchmark
      
      * finalize
      
      * make style
      
      * improve benchmarking
      
      * correct typo
      
      * make train function more flexible
      
      * fix csv save
      
      * better repr of bytes
      
      * better print
      
      * fix __repr__ bug
      
      * finish plot script
      
      * rename plot file
      
      * delete csv and small improvements
      
      * fix in plot
      
      * fix in plot
      
      * correct usage of timeit
      
      * remove redundant line
      
      * remove redundant line
      
      * fix bug
      
      * add hf parser tests
      
      * add versioning and platform info
      
      * make style
      
      * add gpu information
      
      * ensure backward compatibility
      
      * finish adding all tests
      
      * Update src/transformers/benchmark/benchmark_args.py
      Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
      
      * Update src/transformers/benchmark/benchmark_args_utils.py
      Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
      
      * delete csv files
      
      * fix isort ordering
      
      * add out of memory handling
      
      * add better train memory handling
      Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
      96f57c9c
    • Lysandre Debut's avatar
      per_device instead of per_gpu/error thrown when argument unknown (#4618) · 6a176880
      Lysandre Debut authored
      
      
      * per_device instead of per_gpu/error thrown when argument unknown
      
      * [docs] Restore examples.md symlink
      
      * Correct absolute links so that symlink to the doc works correctly
      
      * Update src/transformers/hf_argparser.py
      Co-authored-by: default avatarJulien Chaumond <chaumond@gmail.com>
      
      * Warning + reorder
      
      * Docs
      
      * Style
      
      * not for squad
      Co-authored-by: default avatarJulien Chaumond <chaumond@gmail.com>
      6a176880
    • Hao Tan's avatar
      Add back --do_lower_case to uncased models (#4245) · a9aa7456
      Hao Tan authored
      The option `--do_lower_case` is currently required by the uncased models (i.e., bert-base-uncased, bert-large-uncased).
      
      Results:
      BERT-BASE without --do_lower_case:  'exact': 73.83, 'f1': 82.22
      BERT-BASE with --do_lower_case:  'exact': 81.02, 'f1': 88.34
      a9aa7456
  5. 25 May, 2020 1 commit
  6. 21 May, 2020 2 commits
  7. 19 May, 2020 2 commits
  8. 18 May, 2020 2 commits
  9. 15 May, 2020 3 commits
  10. 14 May, 2020 2 commits
  11. 13 May, 2020 2 commits
  12. 12 May, 2020 1 commit
    • Viktor Alm's avatar
      Add MultipleChoice to TFTrainer [WIP] (#4270) · e4512aab
      Viktor Alm authored
      
      
      * catch gpu len 1 set to gpu0
      
      * Add mpc to trainer
      
      * Add MPC for TF
      
      * fix TF automodel for MPC and add Albert
      
      * Apply style
      
      * Fix import
      
      * Note to self: double check
      
      * Make shape None, None for datasetgenerator output shapes
      
      * Add from_pt bool which doesnt seem to work
      
      * Original checkpoint dir
      
      * Fix docstrings for automodel
      
      * Update readme and apply style
      
      * Colab should probably not be from users
      
      * Colabs should probably not be from users
      
      * Add colab
      
      * Update README.md
      
      * Update README.md
      
      * Cleanup __intit__
      
      * Cleanup flake8 trailing comma
      
      * Update src/transformers/training_args_tf.py
      
      * Update src/transformers/modeling_tf_auto.py
      Co-authored-by: default avatarViktor Alm <viktoralm@pop-os.localdomain>
      Co-authored-by: default avatarJulien Chaumond <chaumond@gmail.com>
      e4512aab
  13. 11 May, 2020 1 commit