1. 16 Oct, 2019 3 commits
    • Rémi Louf's avatar
      remove Bert2Rnd test · 33c01368
      Rémi Louf authored
      33c01368
    • Rémi Louf's avatar
      adapt attention masks for the decoder case · 07520696
      Rémi Louf authored
      The introduction of a decoder introduces 2 changes:
      - We need to be able to specify a separate mask in the cross
      attention to mask the positions corresponding to padding tokens in the
      encoder state.
      - The self-attention in the decoder needs to be causal on top of not
      attending to padding tokens.
      07520696
    • Rémi Louf's avatar
      fix function that defines masks in XLM · c5a94a61
      Rémi Louf authored
      the definition of `get_masks` would blow with the proper combination of
      arguments. It was just a matter of moving a definition outside of a
      control structure.
      c5a94a61
  2. 15 Oct, 2019 8 commits
  3. 14 Oct, 2019 8 commits
  4. 11 Oct, 2019 3 commits
  5. 10 Oct, 2019 13 commits
  6. 08 Oct, 2019 5 commits