1. 03 Nov, 2021 1 commit
  2. 25 May, 2021 1 commit
  3. 21 Apr, 2021 2 commits
  4. 12 Jan, 2021 1 commit
  5. 07 Dec, 2020 1 commit
  6. 29 Nov, 2020 1 commit
  7. 24 Nov, 2020 1 commit
  8. 10 Nov, 2020 1 commit
  9. 29 Oct, 2020 1 commit
  10. 29 Sep, 2020 2 commits
  11. 25 Sep, 2020 1 commit
    • Stas Bekman's avatar
      [code quality] new make target that combines style and quality targets (#7310) · 8859c4f8
      Stas Bekman authored
      * [code quality] merge style and quality targets
      
      Any reason why we don't run `flake8` in `make style`? I find myself needing to run `make style` and `make quality` all the time, but I need the latter just for the last 2 checks. Since we have no control over the source code why bother with separating checking and fixing - let's just have one target that fixes and then performs the remaining checks, as we know the first two have been done already.
      
      This PR suggests to merge the 2 targets into one efficient target.
      
      I will edit the docs if this change resonates with the team.
      
      * move checks into style, re-use target
      
      * better name
      
      * add fixup target
      
      * document new target
      8859c4f8
  12. 11 Sep, 2020 1 commit
  13. 27 Aug, 2020 1 commit
  14. 24 Aug, 2020 1 commit
  15. 20 Aug, 2020 1 commit
  16. 07 Aug, 2020 1 commit
  17. 22 Jul, 2020 1 commit
  18. 09 Jul, 2020 1 commit
  19. 17 Jun, 2020 1 commit
  20. 27 May, 2020 1 commit
  21. 19 May, 2020 1 commit
  22. 28 Apr, 2020 1 commit
  23. 11 Feb, 2020 3 commits
  24. 01 Feb, 2020 1 commit
    • Bram Vanroy's avatar
      CLI script to gather environment info (#2699) · 9773e5e0
      Bram Vanroy authored
      * add "info" command to CLI
      
      As a convenience, add the info directive to CLI. Running `python transformers-cli info` will return a string containing the transformers version, platform, python version, PT/TF version and GPU support
      
      * Swap f-strings for .format
      
      Still supporting 3.5 so can't use f-strings (sad face)
      
      * Add reference in issue to CLI
      
      * Add the expected fields to issue template
      
      This way, people can still add the information manually if they want. (Though I fear they'll just ignore it.)
      
      * Remove heading from output
      
      * black-ify
      
      * order of imports
      
      Should ensure isort test passes
      
      * use is_X_available over import..pass
      
      * style
      
      * fix copy-paste bug
      
      * Rename command info -> env
      
      Also adds the command to CONTRIBUTING.md in "Did you find a bug" section
      9773e5e0
  25. 06 Jan, 2020 2 commits
  26. 27 Dec, 2019 1 commit
  27. 24 Dec, 2019 1 commit
    • Aymeric Augustin's avatar
      Remove [--editable] in install instructions. · a8d34e53
      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.
      a8d34e53
  28. 23 Dec, 2019 2 commits
  29. 19 Dec, 2019 1 commit
    • Aidan Kierans's avatar
      Minor/basic text fixes (#2229) · 1718fb9e
      Aidan Kierans authored
      * Small clarification
      
      Matches line 431 to line 435 for additional clarity and consistency.
      
      * Fixed minor typo
      
      The letter "s" was previously omitted from the word "docstrings".
      1718fb9e
  30. 27 Nov, 2019 1 commit
  31. 30 Oct, 2019 3 commits
  32. 08 Oct, 2019 1 commit