1. 24 Nov, 2020 1 commit
    • zhiheng-huang's avatar
      Support various BERT relative position embeddings (2nd) (#8276) · 2c83b3c3
      zhiheng-huang authored
      
      
      * Support BERT relative position embeddings
      
      * Fix typo in README.md
      
      * Address review comment
      
      * Fix failing tests
      
      * [tiny] Fix style_doc.py check by adding an empty line to configuration_bert.py
      
      * make fix copies
      
      * fix configs of electra and albert and fix longformer
      
      * remove copy statement from longformer
      
      * fix albert
      
      * fix electra
      
      * Add bert variants forward tests for various position embeddings
      
      * [tiny] Fix style for test_modeling_bert.py
      
      * improve docstring
      
      * [tiny] improve docstring and remove unnecessary dependency
      
      * [tiny] Remove unused import
      
      * re-add to ALBERT
      
      * make embeddings work for ALBERT
      
      * add test for albert
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      2c83b3c3
  2. 07 Jul, 2020 1 commit
  3. 08 Jun, 2020 1 commit
  4. 27 May, 2020 1 commit
    • Hao Tan's avatar
      Add back --do_lower_case to uncased models (#4245) · a9aa7456
      Hao Tan authored
      The option `--do_lower_case` is currently required by the uncased models (i.e., bert-base-uncased, bert-large-uncased).
      
      Results:
      BERT-BASE without --do_lower_case:  'exact': 73.83, 'f1': 82.22
      BERT-BASE with --do_lower_case:  'exact': 81.02, 'f1': 88.34
      a9aa7456
  5. 13 May, 2020 1 commit
    • Julien Plu's avatar
      Question Answering for TF trainer (#4320) · ca136186
      Julien Plu authored
      * Add QA trainer example for TF
      
      * Make data_dir optional
      
      * Fix parameter logic
      
      * Fix feature convert
      
      * Update the READMEs to add the question-answering task
      
      * Apply style
      
      * Change 'sequence-classification' to 'text-classification' and prefix with 'eval' all the metric names
      
      * Apply style
      
      * Apply style
      ca136186
  6. 07 May, 2020 2 commits