1. 23 Dec, 2022 1 commit
  2. 22 Dec, 2022 1 commit
  3. 21 Dec, 2022 4 commits
  4. 20 Dec, 2022 3 commits
  5. 19 Dec, 2022 1 commit
  6. 16 Dec, 2022 3 commits
    • NielsRogge's avatar
      Add Swin2SR (#19784) · 26dd041c
      NielsRogge authored
      
      
      * First draft
      
      * Add more improvements
      
      * Improve forward pass
      
      * Fix layernorm
      
      * Add upscaler
      
      * More improvements
      
      * More improvements
      
      * More improvements
      
      * Improve conversion script
      
      * Add preprocessing
      
      * Make output match original implementation
      
      * Add additional attributes
      
      * Add support for more models
      
      * Support more models
      
      * Add support for real world sr
      
      * Add initial Swin2SRFeatureExtractor
      
      * Add ImageSuperResolutionOutput
      
      * Make more tests pass
      
      * Use BaseModelOutput
      
      * Fix one more test
      
      * Fix more tests
      
      * Fix another test
      
      * Fix all tests
      
      * Rename to Swin2SRImageProcessor
      
      * Fix toctree
      
      * Fix toctree
      
      * Fix rebase
      
      * Improve Swin2SRImageProcessor
      
      * Remove feature extractor file
      
      * Improve model
      
      * Improve conversion script
      
      * Fix integration test
      
      * Fix init
      
      * Fix conversion script
      
      * Address comments
      
      * Improve upsampler
      
      * Add NearestConvUpsampler
      
      * Improve pixel shuffle upsampler
      
      * Improve auxiliary upsampler
      
      * Improve conversion script
      
      * Rename conv_last to final_convolution
      
      * Fix rebase
      
      * Improve upsample module
      
      * Add padding to image processor
      
      * Fix bug
      
      * Update padding
      
      * Remove print statement and fix integration test
      
      * Improve docs
      
      * Add image processor tests
      
      * Convert all checkpoints, fix testsé
      
      * Remove print statements
      
      * Fix import
      Co-authored-by: default avatarNiels Rogge <nielsrogge@Nielss-MacBook-Pro.local>
      26dd041c
    • Nicolas Patry's avatar
      Fix object detection2 (#20798) · 3ee95820
      Nicolas Patry authored
      * Revert "Fixing object detection with `layoutlm` (#20776)"
      
      This reverts commit fca66abe.
      
      * Better fix for layoutlm object detection.
      
      * Style.
      3ee95820
    • Younes Belkada's avatar
      [Pipeline] skip feature extraction test if in `IMAGE_PROCESSOR_MAPPING` (#20790) · 4341f4e2
      Younes Belkada authored
      skip feature extraction test if in `IMAGE_PROCESSOR_MAPPING`
      4341f4e2
  7. 15 Dec, 2022 5 commits
  8. 14 Dec, 2022 4 commits
  9. 13 Dec, 2022 3 commits
  10. 12 Dec, 2022 4 commits
  11. 09 Dec, 2022 3 commits
  12. 08 Dec, 2022 5 commits
    • Nathan Raw's avatar
      Add video classification pipeline (#20151) · 9e56aff5
      Nathan Raw authored
      * 🚧 wip video classification pipeline
      
      * 🚧 wip - add is_decord_available check
      
      * 🐛 add missing import
      
      *  add tests
      
      * 🔧 add decord to setup extras
      
      * 🚧 add is_decord_available
      
      *  add video-classification pipeline
      
      * 📝 add video classification pipe to docs
      
      * 🐛 add missing VideoClassificationPipeline import
      
      * 📌 add decord install in test runner
      
      *  fix url inputs to video-classification pipeline
      
      *  updates from review
      
      * 📝 add video cls pipeline to docs
      
      * 📝 add docstring
      
      * 🔥 remove unused import
      
      * 🔥 remove some code
      
      * 📝 docfix
      9e56aff5
    • IMvision12's avatar
      Added missing `test_tokenization_led` (#20568) · 183af58b
      IMvision12 authored
      * Create test_tokenization_led.py
      
      * Update test_tokenization_led.py
      
      * Update test_tokenization_led.py
      
      * Update test_tokenization_led.py
      
      * Update test_tokenization_led.py
      
      * Update test_tokenization_led.py
      
      * Update test_tokenization_led.py
      
      * Update test_tokenization_led.py
      
      * Update test_tokenization_led.py
      183af58b
    • amyeroberts's avatar
      Fix donut image processor (#20625) · cf1b8c34
      amyeroberts authored
      * fix donut image processor
      
      * Update test values
      
      * Apply lower bound on resizing size
      
      * Add in missing size param
      
      * Resolve resize channel_dimension bug
      
      * Update src/transformers/image_transforms.py
      cf1b8c34
    • Younes Belkada's avatar
      [`ViTHybrid`] Fix `accelerate` slow tests (#20679) · 9858ecd7
      Younes Belkada authored
      * fix failing `accelerate` tests
      
      * make fixup
      
      * smaller values
      
      * even lower
      9858ecd7
    • Matt's avatar
      Fix expected values for TF-ESM tests (#20680) · be3d6c84
      Matt authored
      be3d6c84
  13. 07 Dec, 2022 3 commits
    • Cole Howard's avatar
      Add TFBartForSequenceClassification (#20570) · fc95386e
      Cole Howard authored
      * read to load
      
      * base functionality
      
      * revert init
      
      * fix dummy data
      
      * moving right along
      
      * moving right along
      
      * finally
      
      * cleanup
      
      * pull out comment
      
      * add test
      
      * update docstring for main class
      
      * flake comments and rewriting copies from make repo-consistency`
      
      * remove irrelevant differences/accidental spaces
      
      * put copies back after space removals
      
      * mid
      
      * final test pass
      
      * stray comment
      
      * update test file
      
      * update test file
      
      * fixup
      
      * black
      
      * missed
      
      * black missed one more
      
      * sytle
      
      * add doc update
      
      * fix order of output class
      
      * comment
      
      * Revert "comment"
      
      This reverts commit 03f86b6948808461939cc8ad4ad74305dfb67700.
      
      * remove redundant function, and redundant reshape
      
      * move change out of common
      
      * style
      
      * put common spaces back
      
      * reorder kwargs in output
      
      * doc style
      fc95386e
    • Sanchit Gandhi's avatar
      [Whisper] Fix forced decoder ids (#20652) · 77382e91
      Sanchit Gandhi authored
      * [Whisper] Fix forced decoder ids
      
      * fix test
      77382e91
    • Younes Belkada's avatar
      Add `dpt-hybrid` support (#20645) · 7c5eaf9e
      Younes Belkada authored
      
      
      * add `dpt-hybrid` support
      
      * refactor
      
      * final changes, all tests pass
      
      * final cleanups
      
      * final changes
      
      * Apply suggestions from code review
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      
      * fix docstring
      
      * fix typo
      
      * change `vit_hybrid` to `hybrid`
      
      * replace dataclass
      
      * add docstring
      
      * move dataclasses
      
      * fix test
      
      * add `PretrainedConfig` support for `backbone_config`
      
      * fix docstring
      
      * Apply suggestions from code review
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      
      * remove `embedding_type` and replace it by `is_hybrid`
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      7c5eaf9e