1. 07 Aug, 2020 2 commits
  2. 04 Aug, 2020 2 commits
  3. 31 Jul, 2020 1 commit
    • Paul O'Leary McCann's avatar
      Replace mecab-python3 with fugashi for Japanese tokenization (#6086) · cf3cf304
      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: default avatarsgugger <sylvain.gugger@gmail.com>
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      cf3cf304
  4. 26 Jul, 2020 1 commit
    • Stas Bekman's avatar
      add a summary report flag for run_examples on CI (#6035) · daa5dd12
      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.
      daa5dd12
  5. 30 Jun, 2020 1 commit
  6. 26 Jun, 2020 1 commit
  7. 22 Jun, 2020 1 commit
  8. 17 Apr, 2020 1 commit
  9. 24 Mar, 2020 1 commit
  10. 23 Mar, 2020 1 commit
  11. 17 Mar, 2020 1 commit
  12. 29 Feb, 2020 2 commits
    • Julien Chaumond's avatar
      [ci] Fixup e36bd943 · d6ef587a
      Julien Chaumond authored
      d6ef587a
    • Julien Chaumond's avatar
      [ci] Run all tests on (self-hosted) GPU (#3020) · e36bd943
      Julien Chaumond authored
      * Create self-hosted.yml
      
      * Update self-hosted.yml
      
      * Update self-hosted.yml
      
      * Update self-hosted.yml
      
      * Update self-hosted.yml
      
      * Update self-hosted.yml
      
      * do not run slow tests, for now
      
      * [ci] For comparison with circleci, let's also run CPU-tests
      
      * [ci] reorganize
      
      * clearer filenames
      
      * [ci] Final tweaks before merging
      
      * rm slow tests on circle ci
      
      * Trigger CI
      
      * On GPU this concurrency was way too high
      e36bd943
  13. 25 Feb, 2020 2 commits
  14. 13 Feb, 2020 1 commit
  15. 10 Feb, 2020 1 commit
  16. 06 Jan, 2020 2 commits
  17. 05 Jan, 2020 1 commit
  18. 24 Dec, 2019 1 commit
  19. 23 Dec, 2019 3 commits
  20. 22 Dec, 2019 7 commits
  21. 21 Dec, 2019 5 commits
  22. 20 Dec, 2019 1 commit
  23. 19 Dec, 2019 1 commit