1. 12 Apr, 2023 1 commit
  2. 27 Mar, 2023 1 commit
  3. 23 Mar, 2023 1 commit
  4. 22 Mar, 2023 1 commit
    • Nick Hill's avatar
      Fix position embeddings for GPT-J and CodeGen (#22069) · 4e94c6c0
      Nick Hill authored
      * Revert "[GPT-J] add deprecation warning (#21869)"
      
      This reverts commit fb76994c.
      
      * Fix position embeddings for GPT-J and CodeGen
      
      * Address review comments from @gante
      
      * Fix "Copied from" comment referencing wrong function
      
      * Fix copy/paste mistake
      
      * Fix training path
      
      * Hopefully make torch.fx happy
      
      * Move position_ids long cast
      
      * Revert "Hopefully make torch.fx happy"
      
      This reverts commit e41a6f4cad3ff441124c7457b19cfb630d4ca025.
      
      * Changes to help with torch.fx tracing
      
      * Linter fix
      
      * Correct position_ids tensor type hint
      
      * Work-around torch.fx tracing issue
      
      * Get the changes to work with torch.fx
      
      * Address review comment from @michaelbenayoun
      
      * Another small adjustment
      
      * Add explanatory comment; small code tidyup
      4e94c6c0
  5. 02 Mar, 2023 1 commit
  6. 28 Feb, 2023 1 commit
  7. 27 Feb, 2023 2 commits
  8. 22 Feb, 2023 1 commit
  9. 13 Feb, 2023 1 commit
  10. 07 Feb, 2023 2 commits
  11. 06 Feb, 2023 1 commit
    • Sylvain Gugger's avatar
      Update quality tooling for formatting (#21480) · 6f79d264
      Sylvain Gugger authored
      * Result of black 23.1
      
      * Update target to Python 3.7
      
      * Switch flake8 to ruff
      
      * Configure isort
      
      * Configure isort
      
      * Apply isort with line limit
      
      * Put the right black version
      
      * adapt black in check copies
      
      * Fix copies
      6f79d264
  12. 23 Jan, 2023 1 commit
  13. 20 Jan, 2023 1 commit
  14. 19 Jan, 2023 1 commit
  15. 08 Jan, 2023 1 commit
    • Arthur's avatar
      Replace `past` with `past_key_values` (#20944) · f0577df6
      Arthur authored
      * start cleanup
      
      * more updates
      
      * more models are affected
      
      * more updates
      
      * update generation utils
      
      * style
      
      * revert change that removed reorder cachce
      
      * update generation utils
      
      * style
      
      * style
      
      * remove reorder cache
      f0577df6
  16. 08 Dec, 2022 1 commit
  17. 23 Sep, 2022 1 commit
  18. 20 Jun, 2022 1 commit
  19. 15 Jun, 2022 1 commit
  20. 23 May, 2022 2 commits
  21. 12 May, 2022 1 commit
  22. 05 May, 2022 1 commit
  23. 21 Apr, 2022 1 commit
  24. 13 Apr, 2022 1 commit
    • Michael Chung's avatar
      Add Doc Test for GPT-J (#16507) · 06b4aac9
      Michael Chung authored
      
      
      * Required the values GPTJ unfortunately cannot run the model =)
      
      * Added the file to the doc tests
      
      * Run Fixup and Style
      
      * Fixed with the test versions of gptj. Ran Style and Fixup.
      
      * Trigger ci
      
      * A Minor Change to License
      
      * Fixed spacing added to the benchmark_utils. Then refactored tests to const variables.
      
      * Removed strings that were included as default parameters anyways.
      Co-authored-by: default avatarArEnSc <xx.mike.chung.xx@gmail.com>
      06b4aac9
  25. 12 Apr, 2022 1 commit
  26. 30 Mar, 2022 1 commit
  27. 25 Mar, 2022 1 commit
  28. 23 Mar, 2022 1 commit
    • Sylvain Gugger's avatar
      Reorganize file utils (#16264) · 4975002d
      Sylvain Gugger authored
      * Split file_utils in several submodules
      
      * Fixes
      
      * Add back more objects
      
      * More fixes
      
      * Who exactly decided to import that from there?
      
      * Second suggestion to code with code review
      
      * Revert wront move
      
      * Fix imports
      
      * Adapt all imports
      
      * Adapt all imports everywhere
      
      * Revert this import, will fix in a separate commit
      4975002d
  29. 08 Feb, 2022 1 commit
  30. 07 Feb, 2022 1 commit
    • Michael Benayoun's avatar
      FX tracing improvement (#14321) · 0fe17f37
      Michael Benayoun authored
      * Change the way tracing happens, enabling dynamic axes out of the box
      
      * Update the tests and modeling xlnet
      
      * Add the non recoding of leaf modules to avoid recording more values for the methods to record than what will be seen at tracing time (which would otherwise desynchronize the recorded values and the values that need to be given to the proxies during tracing, causing errors).
      
      * Comments and making tracing work for gpt-j and xlnet
      
      * Refactore things related to num_choices (and batch_size, sequence_length)
      
      * Update fx to work on PyTorch 1.10
      
      * Postpone autowrap_function feature usage for later
      
      * Add copyrights
      
      * Remove unnecessary file
      
      * Fix issue with add_new_model_like
      
      * Apply suggestions
      0fe17f37
  31. 28 Dec, 2021 1 commit
    • Sylvain Gugger's avatar
      Doc styler examples (#14953) · b5e2b183
      Sylvain Gugger authored
      * Fix bad examples
      
      * Add black formatting to style_doc
      
      * Use first nonempty line
      
      * Put it at the right place
      
      * Don't add spaces to empty lines
      
      * Better templates
      
      * Deal with triple quotes in docstrings
      
      * Result of style_doc
      
      * Enable mdx treatment and fix code examples in MDXs
      
      * Result of doc styler on doc source files
      
      * Last fixes
      
      * Break copy from
      b5e2b183
  32. 27 Dec, 2021 1 commit
    • Sylvain Gugger's avatar
      Doc styler v2 (#14950) · 87e6e4fe
      Sylvain Gugger authored
      * New doc styler
      
      * Fix issue with args at the start
      
      * Code sample fixes
      
      * Style code examples in MDX
      
      * Fix more patterns
      
      * Typo
      
      * Typo
      
      * More patterns
      
      * Do without black for now
      
      * Get more info in error
      
      * Docstring style
      
      * Re-enable check
      
      * Quality
      
      * Fix add_end_docstring decorator
      
      * Fix docstring
      87e6e4fe
  33. 21 Dec, 2021 2 commits
    • Sylvain Gugger's avatar
      Mass conversion of documentation from rst to Markdown (#14866) · 27b3031d
      Sylvain Gugger authored
      * Convert docstrings of all configurations and tokenizers
      
      * Processors and fixes
      
      * Last modeling files and fixes to models
      
      * Pipeline modules
      
      * Utils files
      
      * Data submodule
      
      * All the other files
      
      * Style
      
      * Missing examples
      
      * Style again
      
      * Fix copies
      
      * Say bye bye to rst docstrings forever
      27b3031d
    • Sylvain Gugger's avatar
      Convert docstrings of modeling files (#14850) · 7af80f66
      Sylvain Gugger authored
      * Convert file_utils docstrings to Markdown
      
      * Test on BERT
      
      * Return block indent
      
      * Temporarily disable doc styler
      
      * Remove from quality checks as well
      
      * Remove doc styler mess
      
      * Remove check from circleCI
      
      * Fix typo
      
      * Convert file_utils docstrings to Markdown
      
      * Test on BERT
      
      * Return block indent
      
      * Temporarily disable doc styler
      
      * Remove from quality checks as well
      
      * Remove doc styler mess
      
      * Remove check from circleCI
      
      * Fix typo
      
      * Let's go on all other model files
      
      * Add templates too
      
      * Styling and quality
      7af80f66
  34. 06 Dec, 2021 1 commit
  35. 30 Nov, 2021 1 commit
  36. 18 Nov, 2021 1 commit