- 28 Sep, 2020 1 commit
-
-
Lysandre authored
-
- 23 Sep, 2020 1 commit
-
-
Stas Bekman authored
* fix confused flake We run `black --target-version py35 ...` but flake8 doesn't know that, so currently with py38 flake8 fails suggesting that black should have reformatted 63 files. Indeed if I run: ``` black --line-length 119 --target-version py38 examples templates tests src utils ``` it indeed reformats 63 files. The only solution I found is to create a black config file as explained at https://github.com/psf/black#configuration-format, which is what this PR adds. Now flake8 knows that py35 is the standard and no longer gets confused regardless of the user's python version. * adjust the other files that will now rely on black's config file
-
- 22 Sep, 2020 2 commits
-
-
Lysandre authored
-
Sylvain Gugger authored
* Copy code from Bert to Roberta and add safeguard script * Fix docstring * Comment code * Formatting * Update src/transformers/modeling_roberta.py Co-authored-by:
Lysandre Debut <lysandre@huggingface.co> * Add test and fix bugs * Fix style and make new comand Co-authored-by:
Lysandre Debut <lysandre@huggingface.co>
-
- 17 Sep, 2020 1 commit
-
-
Stas Bekman authored
``` /home/circleci/.local/lib/python3.6/site-packages/isort/main.py:915: UserWarning: W0501: The following deprecated CLI flags were used and ignored: --recursive! "W0501: The following deprecated CLI flags were used and ignored: " ```
-
- 10 Sep, 2020 1 commit
-
-
Sylvain Gugger authored
* nlp -> datasets * More nlp -> datasets * Woopsie * More nlp -> datasets * One last
-
- 01 Sep, 2020 2 commits
-
-
Lysandre authored
-
Stas Bekman authored
we had it added for one job, please add it to all pytest jobs - we need the output of what tests were run to debug the codecov issue. thank you!
-
- 25 Aug, 2020 1 commit
-
-
Sylvain Gugger authored
* More tests to Trainer * Add warning in the doc
-
- 24 Aug, 2020 1 commit
-
-
Sylvain Gugger authored
* Run new isort * More changes * Update CI, CONTRIBUTING and benchmarks
-
- 17 Aug, 2020 1 commit
-
-
Masatoshi Suzuki authored
* Update BERT Japanese tokenizers * Update CircleCI config to download unidic * Specify to use the latest dictionary packages
-
- 12 Aug, 2020 2 commits
-
-
zcain117 authored
-
Sylvain Gugger authored
* Activate check on the CI * Fix repo inconsistencies * Don't document too much
-
- 11 Aug, 2020 2 commits
- 10 Aug, 2020 1 commit
-
-
Lysandre authored
-
- 07 Aug, 2020 2 commits
-
-
zcain117 authored
* Add setup for TPU CI to run every hour. * Re-organize config.yml Co-authored-by:Lysandre <lysandre.debut@reseau.eseo.fr>
-
Lysandre Debut authored
* Single workflow cache test Remove cache dir, re-trigger cache Only pip archives Not sudo when pip * All workflow cache Remove no-cache-dir instruction Remove last sudo occurrences v0.3
-
- 04 Aug, 2020 2 commits
-
-
Lysandre Debut authored
-
Lysandre Debut authored
* Upgrade pip when doing CI * Don't forget Github CI
-
- 31 Jul, 2020 1 commit
-
-
Paul O'Leary McCann authored
* Replace mecab-python3 with fugashi This replaces mecab-python3 with fugashi for Japanese tokenization. I am the maintainer of both projects. Both projects are MeCab wrappers, so the underlying C++ code is the same. fugashi is the newer wrapper and doesn't use SWIG, so for basic use of the MeCab API it's easier to use. This code insures the use of a version of ipadic installed via pip, which should make versioning and tracking down issues easier. fugashi has wheels for Windows, OSX, and Linux, which will help with issues with installing old versions of mecab-python3 on Windows. Compared to mecab-python3, because fugashi doesn't use SWIG, it doesn't require a C++ runtime to be installed on Windows. In adding this change I removed some code dealing with `cursor`, `token_start`, and `token_end` variables. These variables didn't seem to be used for anything, it is unclear to me why they were there. I ran the tests and they passed, though I couldn't figure out how to run the slow tests (`--runslow` gave an error) and didn't try testing with Tensorflow. * Style fix * Remove unused variable Forgot to delete this... * Adapt doc with install instructions * Fix typo Co-authored-by:
sgugger <sylvain.gugger@gmail.com> Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
- 26 Jul, 2020 1 commit
-
-
Stas Bekman authored
Currently, it's hard to derive which example tests were run on CI, and which weren't. Adding `-rA` flag to `pytest`, will now include a summary like: ``` ==================================================================== short test summary info ===================================================================== PASSED examples/test_examples.py::ExamplesTests::test_generation PASSED examples/test_examples.py::ExamplesTests::test_run_glue PASSED examples/test_examples.py::ExamplesTests::test_run_language_modeling PASSED examples/test_examples.py::ExamplesTests::test_run_squad FAILED examples/test_examples.py::ExamplesTests::test_run_pl_glue - AttributeError: 'Namespace' object has no attribute 'gpus' ============================================================ 1 failed, 4 passed, 8 warnings in 42.96s ============================================================ ``` which makes it easier to validate whether some example is being covered by CI or not.
-
- 24 Jul, 2020 1 commit
-
-
sgugger authored
-
- 09 Jul, 2020 2 commits
- 06 Jul, 2020 1 commit
-
-
Lysandre authored
-
- 30 Jun, 2020 1 commit
-
-
Sam Shleifer authored
-
- 29 Jun, 2020 1 commit
-
-
Lysandre Debut authored
* Doc for v3.0.0 * Update docs/source/_static/js/custom.js Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Update docs/source/_static/js/custom.js Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
- 26 Jun, 2020 1 commit
-
-
Sam Shleifer authored
-
- 24 Jun, 2020 5 commits
-
-
Sylvain Gugger authored
-
Sylvain Gugger authored
* Use _static from master everywhere * Copy to existing too
-
Sylvain Gugger authored
* Try with the same command * Try like this
-
Sylvain Gugger authored
-
Sylvain Gugger authored
-
- 22 Jun, 2020 2 commits
-
-
Sylvain Gugger authored
-
Lysandre Debut authored
* Have documentation fail on warning * Force ci failure * Revert "Force ci failure" This reverts commit f0a4666ec2eb4cd00a4da48af3357defc63324a0.
-
- 17 Apr, 2020 1 commit
-
-
Harutaka Kawamura authored
-
- 24 Mar, 2020 1 commit
-
-
Julien Chaumond authored
-
- 23 Mar, 2020 1 commit
-
-
Julien Chaumond authored
hat/tip @bramvanroy
-
- 17 Mar, 2020 1 commit
-
-
Thomas Wolf authored
* memory benchmark rss * have both forward pass and line-by-line mem tracing * cleaned up tracing * refactored and cleaning up API * no f-strings yet... * add GPU mem logging * fix GPU memory monitoring * style and quality * clean up and doc * update with comments * Switching to python 3.6+ * fix quality
-