1. 04 Feb, 2020 1 commit
  2. 16 Jan, 2020 1 commit
  3. 14 Jan, 2020 1 commit
    • Lysandre's avatar
      Bias should be resized with the weights · 100e3b6f
      Lysandre authored
      Created a link between the linear layer bias and the model attribute bias. This does not change anything for the user nor for the conversion scripts, but allows the `resize_token_embeddings` method to resize the bias as well as the weights of the decoder.
      
      Added a test.
      100e3b6f
  4. 11 Jan, 2020 2 commits
  5. 10 Jan, 2020 1 commit
  6. 06 Jan, 2020 2 commits
  7. 23 Dec, 2019 1 commit
  8. 22 Dec, 2019 10 commits
  9. 21 Dec, 2019 5 commits
  10. 14 Dec, 2019 1 commit
  11. 13 Dec, 2019 1 commit
  12. 10 Dec, 2019 4 commits
  13. 09 Dec, 2019 2 commits
  14. 06 Dec, 2019 1 commit
    • Aymeric Augustin's avatar
      Remove dependency on pytest for running tests (#2055) · 35401fe5
      Aymeric Augustin authored
      * Switch to plain unittest for skipping slow tests.
      
      Add a RUN_SLOW environment variable for running them.
      
      * Switch to plain unittest for PyTorch dependency.
      
      * Switch to plain unittest for TensorFlow dependency.
      
      * Avoid leaking open files in the test suite.
      
      This prevents spurious warnings when running tests.
      
      * Fix unicode warning on Python 2 when running tests.
      
      The warning was:
      
          UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
      
      * Support running PyTorch tests on a GPU.
      
      Reverts 27e015bd.
      
      * Tests no longer require pytest.
      
      * Make tests pass on cuda
      35401fe5
  15. 12 Nov, 2019 2 commits
  16. 07 Nov, 2019 1 commit
  17. 06 Nov, 2019 1 commit
  18. 05 Nov, 2019 1 commit
  19. 04 Nov, 2019 2 commits