"tests/test_modeling_tf_albert.py" did not exist on "68a3e0223a79e1cc2de02b01527b095e3a627e64"
  1. 26 Aug, 2020 1 commit
  2. 29 Jul, 2020 1 commit
    • Julien Plu's avatar
      Rework TF trainer (#6038) · 54f9fbef
      Julien Plu authored
      * Fully rework training/prediction loops
      
      * fix method name
      
      * Fix variable name
      
      * Fix property name
      
      * Fix scope
      
      * Fix method name
      
      * Fix tuple index
      
      * Fix tuple index
      
      * Fix indentation
      
      * Fix variable name
      
      * fix eval before log
      
      * Add drop remainder for test dataset
      
      * Fix step number + fix logging datetime
      
      * fix eval loss value
      
      * use global step instead of step + fix logging at step 0
      
      * Fix logging datetime
      
      * Fix global_step usage
      
      * Fix breaking loop + logging datetime
      
      * Fix step in prediction loop
      
      * Fix step breaking
      
      * Fix train/test loops
      
      * Force TF at least 2.2 for the trainer
      
      * Use assert_cardinality to facilitate the dataset size computation
      
      * Log steps per epoch
      
      * Make tfds compliant with TPU
      
      * Make tfds compliant with TPU
      
      * Use TF dataset enumerate instead of the Python one
      
      * revert previous commit
      
      * Fix data_dir
      
      * Apply style
      
      * rebase on master
      
      * Address Sylvain's comments
      
      * Address Sylvain's and Lysandre comments
      
      * Trigger CI
      
      * Remove unused import
      54f9fbef
  3. 01 Jul, 2020 1 commit
  4. 13 May, 2020 1 commit
    • Julien Plu's avatar
      Question Answering for TF trainer (#4320) · ca136186
      Julien Plu authored
      * Add QA trainer example for TF
      
      * Make data_dir optional
      
      * Fix parameter logic
      
      * Fix feature convert
      
      * Update the READMEs to add the question-answering task
      
      * Apply style
      
      * Change 'sequence-classification' to 'text-classification' and prefix with 'eval' all the metric names
      
      * Apply style
      
      * Apply style
      ca136186
  5. 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
  6. 08 May, 2020 1 commit
  7. 07 May, 2020 1 commit
    • Julien Chaumond's avatar
      BIG Reorganize examples (#4213) · 0ae96ff8
      Julien Chaumond authored
      * Created using Colaboratory
      
      * [examples] reorganize files
      
      * remove run_tpu_glue.py as superseded by TPU support in Trainer
      
      * Bugfix: int, not tuple
      
      * move files around
      0ae96ff8
  8. 24 Apr, 2020 1 commit
  9. 22 Apr, 2020 1 commit
    • Julien Chaumond's avatar
      Trainer (#3800) · dd9d483d
      Julien Chaumond authored
      * doc
      
      * [tests] Add sample files for a regression task
      
      * [HUGE] Trainer
      
      * Feedback from @sshleifer
      
      * Feedback from @thomwolf + logging tweak
      
      * [file_utils] when downloading concurrently, get_from_cache will use the cached file for subsequent processes
      
      * [glue] Use default max_seq_length of 128 like before
      
      * [glue] move DataTrainingArguments around
      
      * [ner] Change interface of InputExample, and align run_{tf,pl}
      
      * Re-align the pl scripts a little bit
      
      * ner
      
      * [ner] Add integration test
      
      * Fix language_modeling with API tweak
      
      * [ci] Tweak loss target
      
      * Don't break console output
      
      * amp.initialize: model must be on right device before
      
      * [multiple-choice] update for Trainer
      
      * Re-align to 827d6d6e
      dd9d483d
  10. 20 Apr, 2020 1 commit
  11. 06 Apr, 2020 1 commit
    • Ethan Perez's avatar
      Fix RoBERTa/XLNet Pad Token in run_multiple_choice.py (#3631) · e52d1258
      Ethan Perez authored
      * Fix RoBERTa/XLNet Pad Token in run_multiple_choice.py
      
      `convert_examples_to_fes atures` sets `pad_token=0` by default, which is correct for BERT but incorrect for RoBERTa (`pad_token=1`) and XLNet (`pad_token=5`). I think the other arguments to `convert_examples_to_features` are correct, but it might be helpful if someone checked who is more familiar with this part of the codebase.
      
      * Simplifying change to match recent commits
      e52d1258
  12. 01 Apr, 2020 1 commit
  13. 02 Mar, 2020 1 commit
  14. 28 Jan, 2020 1 commit
  15. 06 Jan, 2020 2 commits
  16. 23 Dec, 2019 1 commit
  17. 22 Dec, 2019 6 commits
  18. 21 Dec, 2019 1 commit
    • Aymeric Augustin's avatar
      Reformat source code with black. · fa84ae26
      Aymeric Augustin authored
      This is the result of:
      
          $ black --line-length 119 examples templates transformers utils hubconf.py setup.py
      
      There's a lot of fairly long lines in the project. As a consequence, I'm
      picking the longest widely accepted line length, 119 characters.
      
      This is also Thomas' preference, because it allows for explicit variable
      names, to make the code easier to understand.
      fa84ae26
  19. 03 Dec, 2019 1 commit
  20. 14 Nov, 2019 1 commit
  21. 12 Nov, 2019 1 commit
  22. 04 Nov, 2019 1 commit
  23. 08 Oct, 2019 1 commit
  24. 04 Oct, 2019 1 commit
  25. 03 Oct, 2019 1 commit
  26. 30 Sep, 2019 1 commit
  27. 26 Sep, 2019 1 commit
  28. 18 Sep, 2019 2 commits