1. 25 Oct, 2022 2 commits
    • Davi Alves's avatar
      Added translation of serialization.mdx to Portuguese Issue #16824 (#19869) · 0a772491
      Davi Alves authored
      * [ custom_models.mdx ] - Translated to Portuguese the custom models tutorial.
      
      * [ run_scripts.mdx ] - Translated to Portuguese the run scripts tutorial.
      
      * [ converting_tensorflow_models.mdx ] - Translated to Portuguese the converting tensorflow models tutorial.
      
      * [ converting_tensorflow_models.mdx ] - Translated to Portuguese the converting tensorflow models tutorial.
      
      * [ serialization.mdx ] - Translated to Portuguese the serialization tutorial.
      0a772491
    • Alberto Mario Ceballos-Arroyo's avatar
      Spanish translation of multiple_choice.mdx, question_answering.mdx. (#19821) · 371337a9
      Alberto Mario Ceballos-Arroyo authored
      * Translated multiple_choice.mdx, question_answering.mdx. Added them to _toctree.yml
      
      * Added translation for a missed line.
      
      * Update _toctree.yml as per Omar's suggestions
      
      * Update multiple_choice.mdx as per Omar's comments
      
      * Updt question_answering.mdx as per Omar's comments
      371337a9
  2. 24 Oct, 2022 5 commits
  3. 21 Oct, 2022 3 commits
  4. 20 Oct, 2022 1 commit
  5. 19 Oct, 2022 2 commits
    • amyeroberts's avatar
      Image transforms add center crop (#19718) · 5041bc35
      amyeroberts authored
      
      
      * Add center crop to transforms library
      
      * Return PIL images if PIL image input by default
      
      * Fixup and add docstring
      
      * Trigger CI
      
      * Update src/transformers/image_transforms.py
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      
      * Update src/transformers/image_transforms.py
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      
      * PR comments - move comments; unindent
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      5041bc35
    • 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 6 commits
  7. 17 Oct, 2022 4 commits
  8. 14 Oct, 2022 1 commit
  9. 13 Oct, 2022 1 commit
  10. 12 Oct, 2022 7 commits
  11. 11 Oct, 2022 2 commits
    • Mathieu Jouffroy's avatar
      [CvT] Tensorflow implementation (#18597) · 5ca131f3
      Mathieu Jouffroy authored
      
      
      * implemented TFCvtModel and TFCvtForImageClassification and modified relevant files, added an exception in convert_tf_weight_name_to_pt_weight_name, added quick testing file to compare with pytorch model
      
      * added docstring + testing file in transformers testing suite
      
      * added test in testing file, modified docs to pass repo-consistency, passed formatting test
      
      * refactoring + passing all test
      
      * small refacto, removing unwanted comments
      
      * improved testing config
      
      * corrected import error
      
      * modified acces to pretrained model archive list, to pass tf_test
      
      * corrected import structure in init files
      
      * modified testing for keras_fit with cpu
      
      * correcting PR issues + Refactoring
      
      * Refactoring : improving readability and reducing the number of permutations
      
      * corrected momentum value + cls_token initialization
      
      * removed from_pt as weights were added to the hub
      
      * Update tests/models/cvt/test_modeling_tf_cvt.py
      Co-authored-by: default avatarJoao Gante <joaofranciscocardosogante@gmail.com>
      5ca131f3
    • Darío Hereñú's avatar
      Syntax issues (lines 126, 203) (#19444) · ae710425
      Darío Hereñú authored
      ae710425
  12. 10 Oct, 2022 6 commits