- 04 Feb, 2020 1 commit
-
-
Lysandre authored
-
- 03 Feb, 2020 1 commit
-
-
Lysandre authored
Masked indices should have -1 and not -100. Updating documentation + scripts that were forgotten
-
- 23 Jan, 2020 5 commits
- 15 Jan, 2020 1 commit
-
-
Julien Chaumond authored
-
- 07 Jan, 2020 2 commits
-
-
Romain Keramitas authored
Signed-off-by:Romain Keramitas <r.keramitas@gmail.com>
-
Genta Indra Winata authored
-
- 06 Jan, 2020 2 commits
-
-
alberduris authored
-
alberduris authored
-
- 22 Dec, 2019 7 commits
-
-
Aymeric Augustin authored
On Python 3, `open is io.open`.
-
Aymeric Augustin authored
-
Aymeric Augustin authored
This prevents transformers from being importable simply because the CWD is the root of the git repository, while not being importable from other directories. That led to inconsistent behavior, especially in examples. Once you fetch this commit, in your dev environment, you must run: $ pip uninstall transformers $ pip install -e . -
Aymeric Augustin authored
This change is mostly autogenerated with: $ python -m autoflake --in-place --recursive --remove-all-unused-imports --ignore-init-module-imports examples templates transformers utils hubconf.py setup.py I made minor changes in the generated diff. -
Aymeric Augustin authored
This change is mostly autogenerated with: $ python -m autoflake --in-place --recursive examples templates transformers utils hubconf.py setup.py I made minor changes in the generated diff. -
Aymeric Augustin authored
-
Aymeric Augustin authored
This is the result of: $ isort --recursive examples templates transformers utils hubconf.py setup.py
-
- 21 Dec, 2019 1 commit
-
-
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.
-
- 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
-
- 05 Nov, 2019 2 commits
-
-
thomwolf authored
-
Julien Chaumond authored
-
- 04 Nov, 2019 2 commits
- 27 Oct, 2019 1 commit
-
-
Lorenzo Ampil authored
-
- 09 Oct, 2019 1 commit
-
-
thomwolf authored
-
- 26 Sep, 2019 1 commit
-
-
thomwolf authored
-
- 17 Sep, 2019 1 commit
-
-
Julien Chaumond authored
-
- 08 Sep, 2019 1 commit
-
-
thomwolf authored
-
- 04 Sep, 2019 3 commits
- 31 Aug, 2019 4 commits
-
-
LysandreJik authored
-
LysandreJik authored
-
LysandreJik authored
Now raises a warning when a head to be deleted already has been deleted. An integration test verifying the total pipeline (-> from config -> save model -> load model -> additional head pruning) has been added.
-
LysandreJik authored
-
- 21 Aug, 2019 1 commit
-
-
Lysandre authored
Removed `attention_mask` from GPT-2 and GPT documentation. Corrected `multiple_choice_labels` to actual name `mc_labels`
-