1. 17 Oct, 2022 3 commits
    • Ankur Goyal's avatar
      A few CI fixes for `DocumentQuestionAnsweringPipeline` (#19584) · cbc1abc4
      Ankur Goyal authored
      
      
      * Fixes
      
      * update expected values
      
      * style
      
      * fix
      Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
      cbc1abc4
    • Matt's avatar
      TF port of ESM (#19587) · 3b3024da
      Matt authored
      
      
      * Partial TF port for ESM model
      
      * Add ESM-TF tests
      
      * Add the various imports for TF-ESM
      
      * TF weight conversion almost ready
      
      * Stop ignoring the decoder weights in PT
      
      * Add tests and lots of fixes
      
      * fix-copies
      
      * Fix imports, add model docs
      
      * Add get_vocab() to tokenizer
      
      * Fix vocab links for pretrained files
      
      * Allow multiple inputs with a sep
      
      * Use EOS as SEP token because ESM vocab lacks SEP
      
      * Correctly return special tokens mask from ESM tokenizer
      
      * make fixup
      
      * Stop testing unsupported embedding resizing
      
      * Handle TF bias correctly
      
      * Skip all models with slow tokenizers in the token classification test
      
      * Fixing the batch/unbatcher of pipelines to accomodate the `None` being
      
      passed around.
      
      * Fixing pipeline bug caused by slow tokenizer  being different.
      
      * Update src/transformers/models/esm/modeling_tf_esm.py
      Co-authored-by: default avatarJoao Gante <joaofranciscocardosogante@gmail.com>
      
      * Update src/transformers/models/esm/modeling_tf_esm.py
      Co-authored-by: default avatarJoao Gante <joaofranciscocardosogante@gmail.com>
      
      * Update src/transformers/models/esm/modeling_tf_esm.py
      Co-authored-by: default avatarJoao Gante <joaofranciscocardosogante@gmail.com>
      
      * Update set_input_embeddings and the copyright notices
      Co-authored-by: default avatarYour Name <you@example.com>
      Co-authored-by: default avatarNicolas Patry <patry.nicolas@protonmail.com>
      Co-authored-by: default avatarJoao Gante <joaofranciscocardosogante@gmail.com>
      3b3024da
    • Sivaudha's avatar
      Fix pipeline predict transform methods (#19657) · 8aad4363
      Sivaudha authored
      * Remove key word argument X from pipeline predict and transform methods
      
      As __call__ of pipeline clasees require one positional argument, passing
      the input as a keyword argument inside predict, transform methods, causing
      __call__ to fail. Hence in this commit the keyword argument is modified
      into positional argument.
      
      * Implement basic tests for scikitcompat pipeline interface
      
      * Seperate tests instead of running with parameterized based on framework as both frameworks will not be active at the same time
      8aad4363
  2. 14 Oct, 2022 8 commits
  3. 13 Oct, 2022 1 commit
  4. 12 Oct, 2022 6 commits
  5. 11 Oct, 2022 9 commits
  6. 10 Oct, 2022 11 commits
  7. 08 Oct, 2022 1 commit
  8. 07 Oct, 2022 1 commit
    • Sylvain Gugger's avatar
      Rework pipeline tests (#19366) · 9ac586b3
      Sylvain Gugger authored
      * Rework pipeline tests
      
      * Try to fix Flax tests
      
      * Try to put it before
      
      * Use a new decorator instead
      
      * Remove ignore marker since it doesn't work
      
      * Filter pipeline tests
      
      * Woopsie
      
      * Use the fitlered list
      
      * Clean up and fake modif
      
      * Remove init
      
      * Revert fake modif
      9ac586b3