1. 04 Jan, 2021 7 commits
  2. 03 Jan, 2021 1 commit
  3. 02 Jan, 2021 3 commits
  4. 30 Dec, 2020 1 commit
  5. 29 Dec, 2020 3 commits
  6. 28 Dec, 2020 3 commits
  7. 27 Dec, 2020 1 commit
  8. 25 Dec, 2020 2 commits
  9. 24 Dec, 2020 8 commits
  10. 23 Dec, 2020 6 commits
    • Suraj Patil's avatar
      Add caching mechanism to BERT, RoBERTa (#9183) · 88ef8893
      Suraj Patil authored
      * add past_key_values
      
      * add use_cache option
      
      * make mask before cutting ids
      
      * adjust position_ids according to past_key_values
      
      * flatten past_key_values
      
      * fix positional embeds
      
      * fix _reorder_cache
      
      * set use_cache to false when not decoder, fix attention mask init
      
      * add test for caching
      
      * add past_key_values for Roberta
      
      * fix position embeds
      
      * add caching test for roberta
      
      * add doc
      
      * make style
      
      * doc, fix attention mask, test
      
      * small fixes
      
      * adress patrick's comments
      
      * input_ids shouldn't start with pad token
      
      * use_cache only when decoder
      
      * make consistent with bert
      
      * make copies consistent
      
      * add use_cache to encoder
      
      * add past_key_values to tapas attention
      
      * apply suggestions from code review
      
      * make coppies consistent
      
      * add attn mask in tests
      
      * remove copied from longformer
      
      * apply suggestions from code review
      
      * fix bart test
      
      * nit
      
      * simplify model outputs
      
      * fix doc
      
      * fix output ordering
      88ef8893
    • Sylvain Gugger's avatar
    • Connor Brinton's avatar
      Minor documentation revisions from copyediting (#9266) · bcc87c63
      Connor Brinton authored
      * typo: Revise "checkout" to "check out"
      
      * typo: Change "seemlessly" to "seamlessly"
      
      * typo: Close parentheses in "Using the tokenizer"
      
      * typo: Add closing parenthesis to supported models aside
      
      * docs: Treat ``position_ids`` as plural
      
      Alternatively, the word "argument" could be added to make the subject singular.
      
      * docs: Remove comma, making subordinate clause
      
      * docs: Remove comma separating verb and direct object
      
      * docs: Fix typo ("next" -> "text")
      
      * docs: Reverse phrase order to simplify sentence
      
      * docs: "quicktour" -> "quick tour"
      
      * docs: "to throw" -> "from throwing"
      
      * docs: Remove disruptive newline in padding/truncation section
      
      * docs: "show exemplary" -> "show examples of"
      
      * docs: "much harder as" -> "much harder than"
      
      * docs: Fix typo "seach" -> "search"
      
      * docs: Fix subject-verb disagreement in WordPiece description
      
      * docs: Fix style in preprocessing.rst
      bcc87c63
    • Patrick von Platen's avatar
      [Seq2Seq Templates] Fix check_repo.py templates file (#9277) · d5db6c37
      Patrick von Platen authored
      * add enc dec pt model to check repo
      
      * fix indent
      d5db6c37
    • Xu Song's avatar
      Fix param error (#9273) · 4bafc43b
      Xu Song authored
      TypeError: forward() got an unexpected keyword argument 'token_type_ids'
      4bafc43b
    • Xu Song's avatar
      Fix gpt2 document (#9272) · 58e8a761
      Xu Song authored
      58e8a761
  11. 22 Dec, 2020 5 commits