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