1. 28 Oct, 2020 1 commit
  2. 18 Sep, 2020 1 commit
  3. 27 Aug, 2020 1 commit
  4. 26 Aug, 2020 1 commit
  5. 24 Aug, 2020 2 commits
  6. 17 Aug, 2020 1 commit
  7. 13 Aug, 2020 1 commit
  8. 11 Aug, 2020 1 commit
  9. 09 Aug, 2020 1 commit
  10. 07 Aug, 2020 1 commit
  11. 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
  12. 07 Jul, 2020 1 commit
  13. 01 Jul, 2020 1 commit
  14. 30 Jun, 2020 1 commit
    • Hong Xu's avatar
      In the run_ner.py example, give the optional label arg a default value (#5326) · 501040fd
      Hong Xu authored
      Otherwise, if label is not specified, the following error occurs:
      
      	Traceback (most recent call last):
      	  File "run_ner.py", line 303, in <module>
      	    main()
      	  File "run_ner.py", line 101, in main
      	    model_args, data_args, training_args = parser.parse_json_file(json_file=os.path.abspath(sys.argv[1]))
      	  File "/home/user/anaconda3/envs/bert/lib/python3.7/site-packages/transformers/hf_argparser.py", line 159, in parse_json_file
      	    obj = dtype(**inputs)
      	TypeError: __init__() missing 1 required positional argument: 'labels'
      501040fd
  15. 15 Jun, 2020 1 commit
  16. 04 Jun, 2020 1 commit
    • Stefan Schweter's avatar
      NER: Add new WNUT’17 example (#4681) · 2a4b9e09
      Stefan Schweter authored
      * ner: add preprocessing script for examples that splits longer sentences
      
      * ner: example shell scripts use local preprocessing now
      
      * ner: add new example section for WNUT’17 NER task. Remove old English CoNLL-03 results
      
      * ner: satisfy black and isort
      2a4b9e09
  17. 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
  18. 27 May, 2020 1 commit
  19. 19 May, 2020 1 commit
  20. 14 May, 2020 1 commit
  21. 13 May, 2020 1 commit
  22. 11 May, 2020 1 commit
  23. 08 May, 2020 1 commit
  24. 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