1. 01 Mar, 2023 2 commits
    • Arthur's avatar
      [ConvBert] Fix #21523 (#21849) · b599b192
      Arthur authored
      * fix reshaping
      Fixes #21523
      
      * add test
      
      * styling
      
      * last fixes
      
      * Update src/transformers/models/convbert/modeling_convbert.py
      
      * code quallity
      b599b192
    • Arthur's avatar
      prepare for "__floordiv__ is deprecated and its behavior will change in a... · 44e3e3fb
      Arthur authored
      prepare for "__floordiv__ is deprecated  and its behavior will change in a future version of pytorch" (#20211)
      
      * rounding_mode = "floor"  instead of // to prevent behavioral change
      
      * add other TODO
      
      * use `torch_int_div` from pytrch_utils
      
      * same for tests
      
      * fix copies
      
      * style
      
      * use relative imports when needed
      
      * Co-authored-by: sgugger <sylvain.gugger@gmail.com>
      44e3e3fb
  2. 28 Feb, 2023 17 commits
  3. 27 Feb, 2023 13 commits
  4. 25 Feb, 2023 1 commit
  5. 24 Feb, 2023 7 commits