1. 27 Aug, 2020 1 commit
  2. 30 Jul, 2020 1 commit
    • Sylvain Gugger's avatar
      Switch from return_tuple to return_dict (#6138) · 91cb9546
      Sylvain Gugger authored
      
      
      * Switch from return_tuple to return_dict
      
      * Fix test
      
      * [WIP] Test TF Flaubert + Add {XLM, Flaubert}{TokenClassification, MultipleC… (#5614)
      
      * Test TF Flaubert + Add {XLM, Flaubert}{TokenClassification, MultipleChoice} models and tests
      
      * AutoModels
      
      
      Tiny tweaks
      
      * Style
      
      * Final changes before merge
      
      * Re-order for simpler review
      
      * Final fixes
      
      * Addressing @sgugger's comments
      
      * Test MultipleChoice
      
      * Rework TF trainer (#6038)
      
      * 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
      
      * Switch from return_tuple to return_dict
      
      * Fix test
      
      * Add recent model
      Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
      Co-authored-by: default avatarJulien Plu <plu.julien@gmail.com>
      91cb9546
  3. 20 Jul, 2020 2 commits
  4. 28 Jun, 2020 1 commit
  5. 17 Jun, 2020 1 commit
  6. 02 Jun, 2020 1 commit
    • Julien Chaumond's avatar
      Kill model archive maps (#4636) · d4c2cb40
      Julien Chaumond authored
      * Kill model archive maps
      
      * Fixup
      
      * Also kill model_archive_map for MaskedBertPreTrainedModel
      
      * Unhook config_archive_map
      
      * Tokenizers: align with model id changes
      
      * make style && make quality
      
      * Fix CI
      d4c2cb40
  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. 20 Apr, 2020 1 commit
  9. 24 Mar, 2020 1 commit
  10. 02 Mar, 2020 1 commit
  11. 21 Feb, 2020 1 commit
  12. 04 Feb, 2020 1 commit
    • Yuval Pinter's avatar
      pass langs parameter to certain XLM models (#2734) · d1ab1fab
      Yuval Pinter authored
      * pass langs parameter to certain XLM models
      
      Adding an argument that specifies the language the SQuAD dataset is in so language-sensitive XLMs (e.g. `xlm-mlm-tlm-xnli15-1024`) don't default to language `0`.
      Allows resolution of issue #1799 .
      
      * fixing from `make style`
      
      * fixing style (again)
      d1ab1fab
  13. 28 Jan, 2020 1 commit
  14. 17 Jan, 2020 1 commit
  15. 16 Jan, 2020 1 commit
  16. 08 Jan, 2020 2 commits
  17. 06 Jan, 2020 2 commits
  18. 22 Dec, 2019 5 commits
  19. 21 Dec, 2019 3 commits
    • 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
    • thomwolf's avatar
      fix merge · b03872aa
      thomwolf authored
      b03872aa
    • thomwolf's avatar
      fix merge · 8a2be93b
      thomwolf authored
      8a2be93b
  20. 19 Dec, 2019 1 commit
  21. 16 Dec, 2019 1 commit
  22. 14 Dec, 2019 1 commit
  23. 13 Dec, 2019 2 commits
  24. 12 Dec, 2019 1 commit
  25. 11 Dec, 2019 1 commit
  26. 10 Dec, 2019 2 commits
  27. 09 Dec, 2019 1 commit
  28. 05 Dec, 2019 2 commits