- 26 Dec, 2019 2 commits
-
-
Thomas Wolf authored
Typo in serving.py
-
Kashif Rasul authored
-
- 25 Dec, 2019 9 commits
-
-
Thomas Wolf authored
fix repetition penalty error in modeling_utils.py
-
Thomas Wolf authored
Fix F841 flake8 warning
-
Thomas Wolf authored
fix bug in prepare inputs for language generation for xlm for effective batch_size > 1
-
Thomas Wolf authored
Correct tokenization for special and added tokens
-
vitaliyradchenko authored
-
vitaliyradchenko authored
-
Thomas Wolf authored
revert erroneous fix #2276
-
James Noeckel authored
-
James Noeckel authored
-
- 24 Dec, 2019 9 commits
-
-
patrickvonplaten authored
-
patrickvonplaten authored
-
patrickvonplaten authored
-
patrickvonplaten authored
-
thomwolf authored
-
thomwolf authored
-
Thomas Wolf authored
Improve setup and requirements
-
Aymeric Augustin authored
-
Aymeric Augustin authored
Use -e only in docs targeted at contributors. If a user copy-pastes command line with [--editable], they will hit an error. If they don't know the --editable option, we're giving them a choice to make before they can move forwards, but this isn't a choice they need to make right now.
-
- 23 Dec, 2019 20 commits
-
-
Aymeric Augustin authored
-
Aymeric Augustin authored
-
Aymeric Augustin authored
-
Aymeric Augustin authored
-
Aymeric Augustin authored
-
Aymeric Augustin authored
Improve handling of optional imports
-
Aymeric Augustin authored
This is really just for consistency.
-
Aymeric Augustin authored
Else, the next line fails with a confusion exception because the spm variable isn't defined.
-
Aymeric Augustin authored
ImportError isn't really appropriate when there's no import involved.
-
Aymeric Augustin authored
Most module use the simpler `raise` version. Normalize those that don't.
-
Aymeric Augustin authored
Most users don't need it.
-
Aymeric Augustin authored
This will improve version coverage.
-
Aymeric Augustin authored
If a user or contributor ran `pip install -e .` on transformers < 3.0, pip created a transformers.egg-info directory next to the transformers directory at the root of the repository. In transformers 3.0, the source is in a `src` subdirectory. `pip install -e .` creates a transformers.egg-info directory there. However, pip will still pick transformers.egg-info from the previous location. This is a bug: https://github.com/pypa/pip/issues/5466 Users and contributors are likely to hit this problem because the documentation for transformers 3.0 relies heavily on extra_requires which didn't exist in earlier versions, so aren't defined in a stale transformers.egg-info directory. If such a directory exists, remove it. It's autogenerated, gitignored and not supposed to contain anything of value.
-
Aymeric Augustin authored
Also provide shortcuts in a Makefile.
-
Aymeric Augustin authored
-
Aymeric Augustin authored
It's superseded by the "docs" extras.
-
Aymeric Augustin authored
It's redundant with setup.py and, also, incomplete (e.g. numpy).
-
Aymeric Augustin authored
It was generated once, likely in a non-reproducible way (pip freeze in a contributor's local environment), and never updated.
-
Aymeric Augustin authored
Take advantage of this to simplify the Circle CI configuration. Don't bother with tensorboardX: it's a fallback for PyTorch < 1.1.0.
-
Aymeric Augustin authored
Every other file uses this pattern.
-