"tests/models/udop/test_tokenization_udop.py" did not exist on "1bfa34770706298feb9a40e3fe02c39ffae1db51"
  1. 04 May, 2022 1 commit
  2. 03 May, 2022 2 commits
  3. 27 Apr, 2022 1 commit
  4. 18 Apr, 2022 1 commit
  5. 13 Apr, 2022 1 commit
  6. 23 Mar, 2022 1 commit
  7. 23 Feb, 2022 1 commit
  8. 14 Jan, 2022 1 commit
  9. 12 Oct, 2021 1 commit
  10. 01 Sep, 2021 1 commit
    • Jonathan Chang's avatar
      Add template for adding flax models (#12441) · d160782a
      Jonathan Chang authored
      
      
      * Add option to add flax
      
      * Add flax template for __init__.py
      
      * Add flax template for .rst
      
      * Copy TF modeling template
      
      * Add a missing line in modeling_tf_... template
      
      * Update first half of modeling_flax_..
      
      * Update encoder flax template
      
      * Copy test_modeling_tf... as test_modeling_flax...
      
      * Replace some TF to Flax in test_modeling_flax_...
      
      * Replace tf to np
      
      some function might not work, like _assert_tensors_equal
      
      * Replace remaining tf to np (might not work)
      
      * Fix cookiecutter
      
      * Add Flax in to_replace_... template
      
      * Update transformers-cli add-new-model
      
      * Save generate_flax in configuration.json
      
      This will be read by transformers-cli
      
      * Fix to_replace_... and cli
      
      * Fix replace cli
      
      * Fix cookiecutter name
      
      * Move docstring earlier to avoid not defined error
      
      * Fix a missing Module
      
      * Add encoder-decoder flax template from bart
      
      * Fix flax test
      
      * Make style
      
      * Fix endif
      
      * Fix replace all "utf-8 -> unp-8"
      
      * Update comment
      
      * Fix flax template (add missing ..._DOCSTRING)
      
      * Use flax_bart imports in template (was t5)
      
      * Fix unp
      
      * Update templates/adding_a_new_model/tests
      
      * Revert "Fix unp"
      
      This reverts commit dc9002a41d902c4f9b07343eab1cb350c8b7fd57.
      
      * Remove one line of copied from to suppress CI error
      
      * Use generate_tensorflow_pytorch_and_flax
      
      * Add a missing part
      
      * fix typo
      
      * fix flax config
      
      * add examples for flax
      
      * small rename
      
      * correct modeling imports
      
      * correct auto loading
      
      * corrects some flax tests
      
      * correct small typo
      
      * correct as type
      
      * finish modif
      
      * correct more templates
      
      * final fixes
      
      * add file testers
      
      * up
      
      * make sure tests match template regex
      
      * correct pytorch
      
      * correct tf
      
      * correct more tf
      
      * correct imports
      
      * minor error
      
      * minor error
      
      * correct init
      
      * more fixes
      
      * correct more flax tests
      
      * correct flax test
      
      * more fixes
      
      * correct docs
      
      * update
      
      * fix
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      d160782a
  11. 06 Aug, 2021 1 commit
    • Sylvain Gugger's avatar
      [WIP] Disentangle auto modules from other modeling files (#13023) · 9870093f
      Sylvain Gugger authored
      * Initial work
      
      * All auto models
      
      * All tf auto models
      
      * All flax auto models
      
      * Tokenizers
      
      * Add feature extractors
      
      * Fix typos
      
      * Fix other typo
      
      * Use the right config
      
      * Remove old mapping names and update logic in AutoTokenizer
      
      * Update check_table
      
      * Fix copies and check_repo script
      
      * Fix last test
      
      * Add back name
      
      * clean up
      
      * Update template
      
      * Update template
      
      * Forgot a )
      
      * Use alternative to fixup
      
      * Fix TF model template
      
      * Address review comments
      
      * Address review comments
      
      * Style
      9870093f
  12. 07 May, 2021 1 commit
  13. 05 May, 2021 1 commit
  14. 30 Apr, 2021 1 commit
  15. 25 Feb, 2021 2 commits
  16. 27 Jan, 2021 2 commits
  17. 22 Dec, 2020 1 commit
    • Patrick von Platen's avatar
      Model Templates for Seq2Seq (#9251) · cbe63949
      Patrick von Platen authored
      * adapt cookie cutter
      
      * fix copy past statement
      
      * delete copy statements for now
      
      * remove unused import from template
      
      * make doc rst
      
      * correct config docstring
      
      * correct training
      
      * correct inputs processing tf enc dec
      
      * make style
      
      * adapt templates
      
      * clean tabs
      
      * correct tensor -> Tensor naming
      
      * correct indent
      
      * correct templates
      
      * fix the test
      
      * break lines to avoid > 119
      
      * Apply suggestions from code review
      cbe63949
  18. 08 Dec, 2020 1 commit