1. 03 Jul, 2020 10 commits
  2. 02 Jul, 2020 11 commits
  3. 01 Jul, 2020 17 commits
  4. 30 Jun, 2020 2 commits
    • Julien Plu's avatar
      Fix TensorFlow dataset generator (#4881) · fcf06524
      Julien Plu authored
      * fix TensorFlow generator
      
      * Better features handling
      
      * Apply style
      
      * Apply style
      
      * Fix squad as well
      
      * Apply style
      
      * Better factorization of TF Tensors creation
      fcf06524
    • 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