1. 06 Dec, 2022 1 commit
  2. 09 Nov, 2022 1 commit
    • Nicolas Patry's avatar
      Attempting to test automatically the `_keys_to_ignore`. (#20042) · bac2d29a
      Nicolas Patry authored
      
      
      * Attempting to test automatically the `_keys_to_ignore`.
      
      * Style.
      
      * First fix pass.
      
      * Moving test on its own.
      
      * Another batch.
      
      * Second round removing BatchNorm
      
      * Fixing layoutlmv{2,3} + support older Python.
      
      * Disable miss missing warning.
      
      * Removing dodgy additions.
      
      * Big pass.
      
      * mbart.
      
      * More corrections.
      
      * Fixup.
      
      * Updating test_correct_missing_keys
      
      * Add escape hatch for when the head has no extra params so doesn't need
      
      the missing keys check.
      
      * Fixing test.
      
      * Greener.
      
      * Green ! (except for weird splinter bug).
      
      * Adding a test about `named_parameters` usage.
      
      * Shorten message.
      
      * Apply suggestions from code review
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      
      * After rebase modifications.
      
      * More explicit condition checking.
      
      * Fixing slow tests issues.
      
      * Remove extra pdb.
      
      * Remove print.
      
      * Attempt to make failure consistent + fixing roc_bert.
      
      * Removing the seed  (all tests passing with it).
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      bac2d29a
  3. 18 Oct, 2022 1 commit
  4. 09 Aug, 2022 1 commit
  5. 20 Jun, 2022 1 commit
  6. 15 Jun, 2022 1 commit
  7. 31 May, 2022 1 commit
  8. 12 May, 2022 1 commit
  9. 12 Apr, 2022 1 commit
  10. 01 Apr, 2022 1 commit
    • Rishav Chandra Varma's avatar
      Adding missing type hints for mBART model (PyTorch) (#16429) · 5fe06b9b
      Rishav Chandra Varma authored
      
      
      * added type hints for mbart tensorflow tf implementation
      
      * Adding missing type hints for mBART model 
      
      Tensorflow Implementation model added with missing type hints
      
      * Missing Type hints - correction
      
      For TF model
      
      * Code fixup using make quality tests
      
      * Hint types - typo error
      
      * make fix-copies and make fixup
      
      * type hints
      
      * updated files
      
      * type hints update
      
      * making dependent modesls coherent
      Co-authored-by: default avatarmatt <rocketknight1@gmail.com>
      5fe06b9b
  11. 25 Mar, 2022 1 commit
  12. 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
  13. 22 Mar, 2022 2 commits
  14. 21 Mar, 2022 1 commit
  15. 09 Mar, 2022 1 commit
  16. 09 Feb, 2022 1 commit
  17. 08 Feb, 2022 1 commit
  18. 18 Jan, 2022 1 commit
  19. 10 Jan, 2022 1 commit
  20. 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
  21. 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
  22. 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
  23. 13 Dec, 2021 1 commit
  24. 10 Dec, 2021 1 commit
  25. 18 Nov, 2021 1 commit
  26. 09 Nov, 2021 1 commit
  27. 01 Nov, 2021 1 commit
  28. 26 Oct, 2021 1 commit
  29. 22 Sep, 2021 1 commit
  30. 16 Sep, 2021 1 commit
  31. 15 Sep, 2021 1 commit
  32. 29 Jul, 2021 1 commit
  33. 14 Jun, 2021 1 commit
  34. 07 Jun, 2021 1 commit
  35. 18 May, 2021 1 commit
    • Daniel Stancl's avatar
      Fix usage of head masks by PT encoder-decoder models' `generate()` function (#11621) · 680d181c
      Daniel Stancl authored
      * Add missing head masking for generate() function
      
      * Add head_mask, decoder_head_mask and cross_attn_head_mask
      into prepare_inputs_for_generation for generate() function
      for multiple encoder-decoder models.
      
      * Add test_genereate_with_head_masking
      
      * [WIP] Update the new test and handle special cases
      
      * make style
      
      * Omit ProphetNet test so far
      
      * make fix-copies
      680d181c
  36. 06 May, 2021 1 commit
  37. 27 Apr, 2021 1 commit
  38. 26 Apr, 2021 1 commit