1. 30 Nov, 2020 1 commit
  2. 17 Nov, 2020 2 commits
  3. 12 Nov, 2020 1 commit
  4. 09 Nov, 2020 1 commit
  5. 13 Aug, 2020 1 commit
  6. 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
  7. 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
  8. 19 May, 2020 1 commit
  9. 14 May, 2020 1 commit
  10. 08 May, 2020 1 commit
  11. 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
  12. 02 May, 2020 1 commit
  13. 24 Apr, 2020 1 commit
  14. 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
  15. 20 Apr, 2020 1 commit
  16. 01 Apr, 2020 1 commit
  17. 24 Mar, 2020 1 commit
  18. 20 Mar, 2020 1 commit
  19. 19 Mar, 2020 1 commit
  20. 17 Mar, 2020 1 commit
  21. 02 Mar, 2020 1 commit
  22. 26 Feb, 2020 2 commits
  23. 23 Feb, 2020 3 commits
  24. 21 Feb, 2020 1 commit
  25. 20 Feb, 2020 1 commit
  26. 14 Feb, 2020 1 commit
  27. 28 Jan, 2020 1 commit
  28. 06 Jan, 2020 2 commits
  29. 23 Dec, 2019 1 commit
  30. 22 Dec, 2019 5 commits
  31. 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