- 22 Dec, 2019 3 commits
-
-
Aymeric Augustin authored
-
Aymeric Augustin authored
Fixes flake8 warning W291 (x224).
-
Aymeric Augustin authored
This is the result of: $ isort --recursive examples templates transformers utils hubconf.py setup.py
-
- 21 Dec, 2019 2 commits
-
-
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. -
Aymeric Augustin authored
Caching models across test cases and across runs of the test suite makes slow tests somewhat more bearable. Use gettempdir() instead of /tmp in tests. This makes it easier to change the location of the cache with semi-standard TMPDIR/TEMP/TMP environment variables. Fix #2222.
-
- 18 Dec, 2019 1 commit
-
-
Julien Chaumond authored
-
- 13 Dec, 2019 1 commit
-
-
thomwolf authored
-
- 10 Dec, 2019 1 commit
-
-
LysandreJik authored
-
- 06 Dec, 2019 1 commit
-
-
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
-
- 29 Nov, 2019 1 commit
-
-
thomwolf authored
-
- 14 Nov, 2019 1 commit
-
-
R茅mi Louf authored
-
- 12 Nov, 2019 1 commit
-
-
Julien Chaumond authored
-
- 11 Nov, 2019 1 commit
-
-
Lysandre authored
-
- 08 Nov, 2019 1 commit
-
-
thomwolf authored
-
- 07 Nov, 2019 1 commit
-
-
thomwolf authored
-
- 06 Nov, 2019 3 commits
-
-
Julien Chaumond authored
-
thomwolf authored
-
Julien Chaumond authored
-
- 05 Nov, 2019 1 commit
-
-
Julien Chaumond authored
-
- 04 Nov, 2019 3 commits
- 30 Oct, 2019 1 commit
-
-
thomwolf authored
-