"docs/vscode:/vscode.git/clone" did not exist on "f4eb459ef25c62c4cc9edde38052da1980977872"
  1. 02 Nov, 2022 1 commit
    • amyeroberts's avatar
      Add Image Processors (#19796) · a6b77598
      amyeroberts authored
      
      
      * Add CLIP image processor
      
      * Crop size as dict too
      
      * Update warning
      
      * Actually use logger this time
      
      * Normalize doesn't change dtype of input
      
      * Add perceiver image processor
      
      * Tidy up
      
      * Add DPT image processor
      
      * Add Vilt image processor
      
      * Tidy up
      
      * Add poolformer image processor
      
      * Tidy up
      
      * Add LayoutLM v2 and v3 imsge processors
      
      * Tidy up
      
      * Add Flava image processor
      
      * Tidy up
      
      * Add deit image processor
      
      * Tidy up
      
      * Add ConvNext image processor
      
      * Tidy up
      
      * Add levit image processor
      
      * Add segformer image processor
      
      * Add in post processing
      
      * Fix up
      
      * Add ImageGPT image processor
      
      * Fixup
      
      * Add mobilevit image processor
      
      * Tidy up
      
      * Add postprocessing
      
      * Fixup
      
      * Add VideoMAE image processor
      
      * Tidy up
      
      * Add ImageGPT image processor
      
      * Fixup
      
      * Add ViT image processor
      
      * Tidy up
      
      * Add beit image processor
      
      * Add mobilevit image processor
      
      * Tidy up
      
      * Add postprocessing
      
      * Fixup
      
      * Fix up
      
      * Fix flava and remove tree module
      
      * Fix image classification pipeline failing tests
      
      * Update feature extractor in trainer scripts
      
      * Update pad_if_smaller to accept tuple and int size
      
      * Update for image segmentation pipeline
      
      * Update src/transformers/models/perceiver/image_processing_perceiver.py
      Co-authored-by: default avatarAlara Dirik <8944735+alaradirik@users.noreply.github.com>
      
      * Update src/transformers/image_processing_utils.py
      Co-authored-by: default avatarNielsRogge <48327001+NielsRogge@users.noreply.github.com>
      
      * Update src/transformers/models/beit/image_processing_beit.py
      Co-authored-by: default avatarNielsRogge <48327001+NielsRogge@users.noreply.github.com>
      
      * PR comments - docstrings; remove accidentally added resize; var names
      
      * Update docstrings
      
      * Add exception if size is not in the right format
      
      * Fix exception check
      
      * Fix up
      
      * Use shortest_edge in tuple in script
      Co-authored-by: default avatarAlara Dirik <8944735+alaradirik@users.noreply.github.com>
      Co-authored-by: default avatarNielsRogge <48327001+NielsRogge@users.noreply.github.com>
      a6b77598
  2. 01 Nov, 2022 1 commit
  3. 31 Oct, 2022 1 commit
  4. 26 Oct, 2022 1 commit
  5. 19 Oct, 2022 1 commit
    • GMFTBY's avatar
      Adding the state-of-the-art contrastive search decoding methods for the... · 71786b10
      GMFTBY authored
      Adding the state-of-the-art contrastive search decoding methods for the codebase of generation_utils.py (#19477)
      
      * add: the contrastive search for generaton_utils
      
      * add: testing scripts for contrastive search under examples/text-generation
      
      * update the quality of codes
      
      * revise the docstring; make the generation_contrastive_search.py scripts;
      
      * revise the examples/pytorch/text-generation/run_generation_contrastive_search.py to the auto-APIs format
      
      * revise the necessary documents
      
      * fix: revise the docstring of generation_contrastive_search.py
      
      * Fix the code indentation
      
      * fix: revise the nits and examples in contrastive_search docstring.
      
      * fix the copyright
      
      * delete generation_contrastive_search.py
      
      * revise the logic in contrastive_search
      
      * update the intergration test and the docstring
      
      * run the tests over
      
      * add the slow decorate to the contrastive_search intergrate test
      
      * add more test
      
      * do the style, quality, consistency checks
      71786b10
  6. 18 Oct, 2022 1 commit
  7. 17 Oct, 2022 1 commit
  8. 12 Oct, 2022 3 commits
  9. 10 Oct, 2022 2 commits
  10. 07 Oct, 2022 1 commit
  11. 05 Oct, 2022 1 commit
  12. 03 Oct, 2022 1 commit
  13. 28 Sep, 2022 2 commits
  14. 26 Sep, 2022 1 commit
  15. 23 Sep, 2022 1 commit
  16. 21 Sep, 2022 1 commit
  17. 20 Sep, 2022 1 commit
  18. 14 Sep, 2022 1 commit
  19. 13 Sep, 2022 1 commit
  20. 09 Sep, 2022 1 commit
  21. 07 Sep, 2022 1 commit
  22. 06 Sep, 2022 1 commit
  23. 01 Sep, 2022 1 commit
  24. 25 Aug, 2022 1 commit
  25. 24 Aug, 2022 1 commit
  26. 22 Aug, 2022 1 commit
  27. 18 Aug, 2022 2 commits
  28. 17 Aug, 2022 1 commit
  29. 16 Aug, 2022 1 commit
    • zhoutang776's avatar
      Update run_translation_no_trainer.py (#18637) · 25e651a2
      zhoutang776 authored
      * Update run_translation_no_trainer.py
      
      found an error in selecting `no_decay` parameters and some small modifications when the user continues to train from a checkpoint
      
      * fixs `no_decay` and `resume_step` issue
      
      1. change `no_decay` list
      2. if use continue to train their model from provided checkpoint, the `resume_step` will not be initialized properly if `args.gradient_accumulation_steps != 1`
      25e651a2
  30. 08 Aug, 2022 3 commits
    • Rasmus Arpe Fogh Jensen's avatar
      Update no_trainer.py scripts to include accelerate gradient accumulation wrapper (#18473) · a765b68a
      Rasmus Arpe Fogh Jensen authored
      * Added accelerate gradient accumulation wrapper to run_image_classification_no_trainer.py example script
      
      * make fixup changes
      
      * PR comments
      
      * changed input to Acceletor based on PR comment, ran make fixup
      
      * Added comment explaining the sync_gradients statement
      
      * Fixed lr scheduler max steps
      
      * Changed run_clm_no_trainer.py script to use accelerate gradient accum wrapper
      
      * Fixed all scripts except wav2vec2 pretraining to use accelerate gradient accum wrapper
      
      * Added accelerate gradient accum wrapper for wav2vec2_pretraining_no_trainer.py script
      
      * make fixup and lr_scheduler step inserted back into run_qa_beam_search_no_trainer.py
      
      * removed changes to run_wav2vec2_pretraining_no_trainer.py script and fixed using wrong constant in qa_beam_search_no_trainer.py script
      a765b68a
    • Sylvain Gugger's avatar
      Fix compatibility with 1.12 (#17925) · 70b0d4e1
      Sylvain Gugger authored
      
      
      * Fix compatibility with 1.12
      
      * Remove pin from examples requirements
      
      * Update torch scatter version
      
      * Fix compatibility with 1.12
      
      * Remove pin from examples requirements
      
      * Update torch scatter version
      
      * fix torch.onnx.symbolic_opset12 import
      
      * Reject bad version
      Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
      70b0d4e1
    • regisss's avatar
      88a0ce57
  31. 06 Aug, 2022 2 commits
  32. 04 Aug, 2022 1 commit