1. 20 May, 2020 1 commit
  2. 26 Mar, 2020 1 commit
    • sakares saengkaew's avatar
      Add missing token classification for XLM (#3277) · 1a6c546c
      sakares saengkaew authored
      
      
      * Add the missing token classification for XLM
      
      * fix styling
      
      * Add XLMForTokenClassification to AutoModelForTokenClassification class
      
      * Fix docstring typo for non-existing class
      
      * Add the missing token classification for XLM
      
      * fix styling
      
      * fix styling
      
      * Add XLMForTokenClassification to AutoModelForTokenClassification class
      
      * Fix docstring typo for non-existing class
      
      * Add missing description for AlbertForTokenClassification
      
      * fix styling
      
      * Add missing docstring for AlBert
      
      * Slow tests should be slow
      Co-authored-by: default avatarSakares Saengkaew <s.sakares@gmail.com>
      Co-authored-by: default avatarLysandreJik <lysandre.debut@reseau.eseo.fr>
      1a6c546c
  3. 31 Jan, 2020 1 commit
  4. 27 Jan, 2020 1 commit
  5. 11 Jan, 2020 2 commits
  6. 10 Jan, 2020 1 commit
  7. 06 Jan, 2020 2 commits
  8. 22 Dec, 2019 7 commits
  9. 21 Dec, 2019 1 commit
    • Aymeric Augustin's avatar
      Reformat source code with black. · fa84ae26
      Aymeric Augustin authored
      This is the result of:
      
          $ black --line-length 119 examples templates transformers utils hubconf.py setup.py
      
      There's a lot of fairly long lines in the project. As a consequence, I'm
      picking the longest widely accepted line length, 119 characters.
      
      This is also Thomas' preference, because it allows for explicit variable
      names, to make the code easier to understand.
      fa84ae26
  10. 11 Dec, 2019 1 commit
    • Julien Chaumond's avatar
      Add tests. · 4f15e5a2
      Julien Chaumond authored
      Maybe not the best possible place for the tests, lmk.
      4f15e5a2
  11. 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
  12. 04 Nov, 2019 1 commit
  13. 26 Sep, 2019 1 commit
  14. 09 Sep, 2019 1 commit
  15. 08 Sep, 2019 2 commits
  16. 05 Sep, 2019 1 commit
  17. 04 Sep, 2019 1 commit
  18. 30 Aug, 2019 1 commit
  19. 26 Aug, 2019 1 commit
  20. 05 Aug, 2019 2 commits