1. 16 Dec, 2022 1 commit
  2. 15 Dec, 2022 5 commits
  3. 14 Dec, 2022 4 commits
  4. 13 Dec, 2022 3 commits
  5. 12 Dec, 2022 4 commits
  6. 09 Dec, 2022 3 commits
  7. 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
  8. 07 Dec, 2022 6 commits
  9. 06 Dec, 2022 2 commits
  10. 05 Dec, 2022 7 commits
    • Sylvain Gugger's avatar
      Fix test for file not found (#20604) · 5764efe5
      Sylvain Gugger authored
      5764efe5
    • Sanchit Gandhi's avatar
      [Whisper] Fix decoder ids methods (#20599) · 74fb524e
      Sanchit Gandhi authored
      * [Whisper] Fix decoder ids methods
      
      * enum property
      74fb524e
    • Younes Belkada's avatar
      [Vision] `.to` function for ImageProcessors (#20536) · ef0f85cd
      Younes Belkada authored
      
      
      * add v1 with tests
      
      * add checker
      
      * simplified version
      
      * update docstring
      
      * better version
      
      * fix docstring + change order
      
      * make style
      
      * tests + change conditions
      
      * final tests
      
      * modify docstring
      
      * Update src/transformers/feature_extraction_utils.py
      Co-authored-by: default avataramyeroberts <22614925+amyeroberts@users.noreply.github.com>
      
      * replace by `ValueError`
      
      * fix logic
      
      * apply suggestions
      
      * `dtype` is not needed
      
      * adapt suggestions
      
      * remove `_parse_args_to_device`
      Co-authored-by: default avataramyeroberts <22614925+amyeroberts@users.noreply.github.com>
      ef0f85cd
    • Erin's avatar
      Add RemBERT ONNX config (#20520) · 87282cb7
      Erin authored
      
      
      * rembert onnx config
      
      * formatting
      Co-authored-by: default avatarHo <erincho@bcd0745f972b.ant.amazon.com>
      87282cb7
    • Arthur's avatar
      cross platform from_pretrained (#20538) · 84c9bf74
      Arthur authored
      
      
      * add support for `from_pt`
      
      * add tf_flax utility file
      
      * Update src/transformers/modeling_tf_flax_utils.py
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      
      * remove flax related modifications
      
      * add test
      
      * remove FLAX related commits
      
      * fixup
      
      * remove safetensor todos
      
      * revert deletion
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      84c9bf74
    • Arthur's avatar
      Ci-whisper-asr (#20588) · 538e5248
      Arthur authored
      * Expected output for the test changed
      
      * fix failing asr test
      538e5248
    • Kamal Raj Kanakarajan's avatar
      Add BioGPT (#20420) · 13e73668
      Kamal Raj Kanakarajan authored
      * biogpt initial commit
      
      * updated init
      
      * fix faster decoding with use_cache
      
      * 1. fix input_ids and input_embeds with correct device
      2. added _keys_to_ignore_on_load_missing
      3. updated prepare_inputs_for_generation
      
      * add activation_dropout and scale_embedding
      
      * replace fsmt attention with bart attention
      
      * added test
      
      * run make fix-copies
      
      * doc init and fix build
      
      * updated README with proper information
      
      * 1. added tips to docs
      2. updated BioGptTokenizer func
      
      * 1. added tokenizer test
      2. refactor tokenizer
      
      * make fixup
      
      * add biogpt fairseq to hf converter
      
      * updated layer names more
      similar to original checkpoints
      
      * config update doc string and set defaults
      
      * added "#copied" from bart model and
      updated doc strings
      
      * enable model_input_names in tokenizer
      
      * 1.  positionalembedding depending on attention_mask
      2. added attention mask to prepare for generation
      
      * added test to verify past and generation
      
      * BioGptLMHeadModel -> BioGptForCausalLM
      
      * fix typo
      
      * tokenization and test
      Copyright and updated assertion
      
      * updated Copyright and
      one func at time in line
      
      * Copyright updates and
      minor doc fix
      
      * replace assertion with ValueError
      
      * rm extra space
      
      * added code syntax
      
      * revert cmnt position change
      
      * add tokenizer to auto
      
      * updated doc string
      
      * tokenizer doc string update
      
      * biogpt hub model update to microsoft/biogpt
      
      * make fixup
      
      * rm cmnt to fix flake8 5.0.4 vs 6 error
      13e73668