1. 13 Sep, 2021 2 commits
  2. 10 Sep, 2021 7 commits
    • Suraj Patil's avatar
      [GPT-Neo] Simplify local attention (#13491) · 010965dc
      Suraj Patil authored
      * simplify local attention
      
      * update tests
      
      * add a comment and use torch.bitwise_xor
      010965dc
    • Patrick von Platen's avatar
      [Wav2Vec2] Fix dtype 64 bug (#13517) · a57d784d
      Patrick von Platen authored
      * fix
      
      * 2nd fix
      a57d784d
    • patrickvonplaten's avatar
      Docs for v4.10.1 · 72ec2f3e
      patrickvonplaten authored
      72ec2f3e
    • Matt's avatar
      TF multiple choice loss fix (#13513) · 26d9212e
      Matt authored
      Fix issues with `TFMultipleChoiceLoss` if the choices dimension is None when `build()` is called.
      26d9212e
    • Patrick von Platen's avatar
      [Wav2Vec2] Fix normalization for non-padded tensors (#13512) · d7b3b709
      Patrick von Platen authored
      * finalize
      
      * Apply suggestions from code review
      
      * finish cleaner implementation
      
      * more tests
      
      * small fix
      
      * finish
      
      * up
      d7b3b709
    • Nicolas Patry's avatar
      [Large PR] Entire rework of pipelines. (#13308) · c63fcabf
      Nicolas Patry authored
      
      
      * Enabling dataset iteration on pipelines.
      
      Enabling dataset iteration on pipelines.
      
      Unifying parameters under `set_parameters` function.
      
      Small fix.
      
      Last fixes after rebase
      
      Remove print.
      
      Fixing text2text `generate_kwargs`
      
      No more `self.max_length`.
      
      Fixing tf only conversational.
      
      Consistency in start/stop index over TF/PT.
      
      Speeding up drastically on TF (nasty bug where max_length would increase
      a ton.)
      
      Adding test for support for non fast tokenizers.
      
      Fixign GPU usage on zero-shot.
      
      Fix working on Tf.
      
      Update src/transformers/pipelines/base.py
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      
      Update src/transformers/pipelines/base.py
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      
      Small cleanup.
      
      Remove all asserts + simple format.
      
      * Fixing audio-classification for large PR.
      
      * Overly explicity null checking.
      
      * Encapsulating GPU/CPU pytorch manipulation directly within `base.py`.
      
      * Removed internal state for parameters of the  pipeline.
      
      Instead of overriding implicitly internal state, we moved
      to real named arguments on every `preprocess`, `_forward`,
      `postprocess` function.
      
      Instead `_sanitize_parameters` will be used to split all kwargs
      of both __init__ and __call__ into the 3 kinds of named parameters.
      
      * Move import warnings.
      
      * Small fixes.
      
      * Quality.
      
      * Another small fix, using the CI to debug faster.
      
      * Last fixes.
      
      * Last fix.
      
      * Small cleanup of tensor moving.
      
      * is not None.
      
      * Adding a bunch of docs + a iteration test.
      
      * Fixing doc style.
      
      * KeyDataset = None guard.
      
      * RRemoving the Cuda test for pipelines (was testing).
      
      * Even more simple iteration test.
      
      * Correct import .
      
      * Long day.
      
      * Fixes in docs.
      
      * [WIP] migrating object detection.
      
      * Fixed the target_size bug.
      
      * Fixup.
      
      * Bad variable name.
      
      * Fixing `ensure_on_device` respects original ModelOutput.
      c63fcabf
    • Stefan Schweter's avatar
      09549aa1
  3. 09 Sep, 2021 7 commits
  4. 08 Sep, 2021 13 commits
  5. 07 Sep, 2021 5 commits
  6. 06 Sep, 2021 6 commits
    • Anurag Kumar's avatar
      Update setup.py (#13421) · 92d4ef9a
      Anurag Kumar authored
      92d4ef9a
    • Shiv Dhar's avatar
      Update version of `packaging` package (#13454) · 75858ca1
      Shiv Dhar authored
      75858ca1
    • Anton Lozhkov's avatar
      Install libsndfile (#13403) · f8363e49
      Anton Lozhkov authored
      f8363e49
    • NielsRogge's avatar
      Add TAPAS MLM-only models (#13408) · 5642a555
      NielsRogge authored
      * Add conversion of TapasForMaskedLM
      
      * Add copied from statements
      5642a555
    • Suraj Patil's avatar
      skip image classification test (#13451) · 2dd975b2
      Suraj Patil authored
      2dd975b2
    • Nils Reimers's avatar
      Update model configs - Allow setters for common properties (#13026) · c8be8a9a
      Nils Reimers authored
      * refactor GPT Config to allow dyn. properties
      
      * make attribute_map a class attribute
      
      * remove old code
      
      * update unit test to test config: Add test for common properties setter
      
      * update unit test to test config: Add test for common properties passed as parameters to __init__
      
      * update to black code format
      
      * Allow that setters are not defined for certain config classes
      
      * update config classes to implement attribute_map
      
      * bugfix lxmert config - id2labels was not defined when num_labels was set
      
      * update broken configs - add attribute_maps
      
      * update bart config
      
      * update black codestyle
      
      * update documentation on common config attributes
      
      * update GPTJ config to new attribute map
      
      * update docs on common attributes
      
      * gptj config: add max_position_embeddings
      
      * gptj config: format with black
      
      * update speech to text 2 config
      
      * format doc file to max_len 119
      
      * update config template
      c8be8a9a