1. 22 Jun, 2023 1 commit
  2. 21 Jun, 2023 1 commit
  3. 16 Jun, 2023 1 commit
    • Matt's avatar
      Big TF test cleanup (#24282) · 34037129
      Matt authored
      * Fix one BLIP arg not being optional, remove misspelled arg
      
      * Remove the lxmert test overrides and just use the base test_saved_model_creation
      
      * saved_model_creation fixes and re-enabling tests across the board
      
      * Remove unnecessary skip
      
      * Stop caching sinusoidal embeddings in speech_to_text
      
      * Fix transfo_xl compilation
      
      * Fix transfo_xl compilation
      
      * Fix the conditionals in xglm
      
      * Set the save spec only when building
      
      * Clarify comment
      
      * Move comment correctly
      
      * Correct embeddings generation for speech2text
      
      * Mark RAG generation tests as @slow
      
      * Remove redundant else:
      
      * Add comment to clarify the save_spec line in build()
      
      * Fix size tests for XGLM at last!
      
      * make fixup
      
      * Remove one band_part operation
      
      * Mark test_keras_fit as @slow
      34037129
  4. 24 May, 2023 1 commit
    • Matt's avatar
      Better TF docstring types (#23477) · f8b25744
      Matt authored
      * Rework TF type hints to use | None instead of Optional[] for tf.Tensor
      
      * Rework TF type hints to use | None instead of Optional[] for tf.Tensor
      
      * Don't forget the imports
      
      * Add the imports to tests too
      
      * make fixup
      
      * Refactor tests that depended on get_type_hints
      
      * Better test refactor
      
      * Fix an old hidden bug in the test_keras_fit input creation code
      
      * Fix for the Deit tests
      f8b25744
  5. 04 Apr, 2023 1 commit
    • Shubhamai's avatar
      Flax Regnet (#21867) · 90067748
      Shubhamai authored
      * initial commit
      
      * review changes
      
      * post model PR merge
      
      * updating doc
      90067748
  6. 28 Feb, 2023 1 commit
    • Yih-Dar's avatar
      馃敟Rework pipeline testing by removing `PipelineTestCaseMeta` 馃殌 (#21516) · 871c31a6
      Yih-Dar authored
      
      
      * Add PipelineTesterMixin
      
      * remove class PipelineTestCaseMeta
      
      * move validate_test_components
      
      * Add for ViT
      
      * Add to SPECIAL_MODULE_TO_TEST_MAP
      
      * style and quality
      
      * Add feature-extraction
      
      * update
      
      * raise instead of skip
      
      * add tiny_model_summary.json
      
      * more explicit
      
      * skip tasks not in mapping
      
      * add availability check
      
      * Add Copyright
      
      * A way to diable irrelevant tests
      
      * update with main
      
      * remove disable_irrelevant_tests
      
      * skip tests
      
      * better skip message
      
      * better skip message
      
      * Add all pipeline task tests
      
      * revert
      
      * Import PipelineTesterMixin
      
      * subclass test classes with PipelineTesterMixin
      
      * Add pipieline_model_mapping
      
      * Fix import after adding pipieline_model_mapping
      
      * Fix style and quality after adding pipieline_model_mapping
      
      * Fix one more import after adding pipieline_model_mapping
      
      * Fix style and quality after adding pipieline_model_mapping
      
      * Fix test issues
      
      * Fix import requirements
      
      * Fix mapping for MobileViTModelTest
      
      * Update
      
      * Better skip message
      
      * pipieline_model_mapping could not be None
      
      * Remove some PipelineTesterMixin
      
      * Fix typo
      
      * revert tests_fetcher.py
      
      * update
      
      * rename
      
      * revert
      
      * Remove PipelineTestCaseMeta from ZeroShotAudioClassificationPipelineTests
      
      * style and quality
      
      * test fetcher for all pipeline/model tests
      
      ---------
      Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
      871c31a6
  7. 14 Dec, 2022 1 commit
  8. 30 Aug, 2022 1 commit
  9. 29 Jun, 2022 1 commit
    • Aritra Roy Gosthipaty's avatar
      TF implementation of RegNets (#17554) · a7eba831
      Aritra Roy Gosthipaty authored
      
      
      * chore: initial commit
      
      Copied the torch implementation of regnets and porting the code to tf step by step. Also introduced an output layer which was needed for regnets.
      
      * chore: porting the rest of the modules to tensorflow
      
      did not change the documentation yet, yet to try the playground on the model
      
      * Fix initilizations (#1)
      
      * fix: code structure in few cases.
      
      * fix: code structure to align tf models.
      
      * fix: layer naming, bn layer still remains.
      
      * chore: change default epsilon and momentum in bn.
      
      * chore: styling nits.
      
      * fix: cross-loading bn params.
      
      * fix: regnet tf model, integration passing.
      
      * add: tests for TF regnet.
      
      * fix: code quality related issues.
      
      * chore: added rest of the files.
      
      * minor additions..
      
      * fix: repo consistency.
      
      * fix: regnet tf tests.
      
      * chore: reorganize dummy_tf_objects for regnet.
      
      * chore: remove checkpoint var.
      
      * chore: remov unnecessary files.
      
      * chore: run make style.
      
      * Update docs/source/en/model_doc/regnet.mdx
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      
      * chore: PR feedback I.
      
      * fix: pt test. thanks to @ydshieh.
      
      * New adaptive pooler (#3)
      
      * feat: new adaptive pooler
      
      Co-authored-by: @Rocketknight1
      
      * chore: remove image_size argument.
      Co-authored-by: default avatarmatt <rocketknight1@gmail.com>
      Co-authored-by: default avatarmatt <rocketknight1@gmail.com>
      
      * Empty-Commit
      
      * chore: remove image_size comment.
      
      * chore: remove playground_tf.py
      
      * chore: minor changes related to spacing.
      
      * chore: make style.
      
      * Update src/transformers/models/regnet/modeling_tf_regnet.py
      Co-authored-by: default avataramyeroberts <aeroberts4444@gmail.com>
      
      * Update src/transformers/models/regnet/modeling_tf_regnet.py
      Co-authored-by: default avataramyeroberts <aeroberts4444@gmail.com>
      
      * chore: refactored __init__.
      
      * chore: copied from -> taken from./g
      
      * adaptive pool -> global avg pool, channel check.
      
      * chore: move channel check to stem.
      
      * pr comments - minor refactor and add regnets to doc tests.
      
      * Update src/transformers/models/regnet/modeling_tf_regnet.py
      Co-authored-by: default avatarNielsRogge <48327001+NielsRogge@users.noreply.github.com>
      
      * minor fix in the xlayer.
      
      * Empty-Commit
      
      * chore: removed from_pt=True.
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      Co-authored-by: default avatarmatt <rocketknight1@gmail.com>
      Co-authored-by: default avataramyeroberts <aeroberts4444@gmail.com>
      Co-authored-by: default avatarNielsRogge <48327001+NielsRogge@users.noreply.github.com>
      a7eba831
  10. 09 Jun, 2022 1 commit
  11. 03 May, 2022 1 commit
    • Yih-Dar's avatar
      Move test model folders (#17034) · 19420fd9
      Yih-Dar authored
      
      
      * move test model folders (TODO: fix imports and others)
      
      * fix (potentially partially) imports (in model test modules)
      
      * fix (potentially partially) imports (in tokenization test modules)
      
      * fix (potentially partially) imports (in feature extraction test modules)
      
      * fix import utils.test_modeling_tf_core
      
      * fix path ../fixtures/
      
      * fix imports about generation.test_generation_flax_utils
      
      * fix more imports
      
      * fix fixture path
      
      * fix get_test_dir
      
      * update module_to_test_file
      
      * fix get_tests_dir from wrong transformers.utils
      
      * update config.yml (CircleCI)
      
      * fix style
      
      * remove missing imports
      
      * update new model script
      
      * update check_repo
      
      * update SPECIAL_MODULE_TO_TEST_MAP
      
      * fix style
      
      * add __init__
      
      * update self-scheduled
      
      * fix add_new_model scripts
      
      * check one way to get location back
      
      * python setup.py build install
      
      * fix import in test auto
      
      * update self-scheduled.yml
      
      * update slack notification script
      
      * Add comments about artifact names
      
      * fix for yolos
      Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
      19420fd9