1. 18 May, 2022 4 commits
  2. 17 May, 2022 5 commits
  3. 16 May, 2022 3 commits
  4. 13 May, 2022 4 commits
  5. 12 May, 2022 2 commits
  6. 11 May, 2022 1 commit
    • Amanpreet Singh's avatar
      [feat] Add FLAVA model (#16654) · a10f6183
      Amanpreet Singh authored
      * [WIP] Add FLAVA model
      
      This PR aims to add [FLAVA](ihttps://arxiv.org/abs/2112.04482) model to the transformers repo.
      
      Following checklist delineates the list of things to be done for this PR
      to be complete:
      
      [x] Flava init
      [x] Flava base models
      [x] Flava layers
      [x] Flava Configs
      [x] Flava encoders
      [x] Flava pretraining models
      [ ] Flava classification/retrieval models (To be added in a separate PR)
      [x] Documentation updates 
      [x] Imports updates 
      [x] Argstring updates
      [x] Flava pretrained checkpoints 
      [x] Flava tests
      [x] Flava processors 
      [x] Sanity check
      [x] Lint
      a10f6183
  7. 10 May, 2022 1 commit
    • Nicolas Brousse's avatar
      Add MLFLOW_FLATTEN_PARAMS support in MLflowCallback (#17148) · e99f0efe
      Nicolas Brousse authored
      * add support for MLFLOW_FLATTEN_PARAMS
      
      * ensure key is str
      
      * fix style and update warning msg
      
      * Empty commit to trigger CI
      
      * fix bug in check_inits.py
      
      * add unittest for flatten_dict utils
      
      * fix 'NoneType' object is not callable on __del__
      
      * add generic flatten_dict unittest to SPECIAL_MODULE_TO_TEST_MAP
      
      * fix style
      e99f0efe
  8. 09 May, 2022 1 commit
  9. 04 May, 2022 1 commit
  10. 03 May, 2022 2 commits
    • 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
    • Sanchit Gandhi's avatar
      [FlaxBert] Add ForCausalLM (#16995) · cd9274d0
      Sanchit Gandhi authored
      * [FlaxBert] Add ForCausalLM
      
      * make style
      
      * fix output attentions
      
      * Add RobertaForCausalLM
      
      * remove comment
      
      * fix fx-to-pt model loading
      
      * remove comment
      
      * add modeling tests
      
      * add enc-dec model tests
      
      * add big_bird
      
      * add electra
      
      * make style
      
      * make repo-consitency
      
      * add to docs
      
      * remove roberta test
      
      * quality
      
      * amend cookiecutter
      
      * fix attention_mask bug in flax bert model tester
      
      * tighten pt-fx thresholds to 1e-5
      
      * add 'copied from' statements
      
      * amend 'copied from' statements
      
      * amend 'copied from' statements
      
      * quality
      cd9274d0
  11. 02 May, 2022 1 commit
    • NielsRogge's avatar
      Add YOLOS (#16848) · 1ac69874
      NielsRogge authored
      
      
      * First draft
      
      * Add YolosForObjectDetection
      
      * Make forward pass work
      
      * Add mid position embeddings
      
      * Add interpolation of position encodings
      
      * Add expected values
      
      * Add YOLOS to tests
      
      * Add integration test
      
      * Support tiny model as well
      
      * Support all models in conversion script
      
      * Remove mid_pe_size attribute
      
      * Make more tests pass
      
      * Add model to README and fix config
      
      * Add copied from statements
      
      * Rename base_model_prefix to vit
      
      * Add missing YOLOS_PRETRAINED_CONFIG_ARCHIVE_MAP
      
      * Apply suggestions from code review
      
      * Apply more suggestions from code review
      
      * Convert remaining checkpoints
      
      * Improve docstrings
      
      * Add YolosFeatureExtractor
      
      * Add feature extractor to docs
      
      * Add corresponding tests
      
      * Fix style
      
      * Fix docs
      
      * Apply suggestion from code review
      
      * Fix bad rebase
      
      * Fix some more bad rebase
      
      * Fix missing character
      
      * Improve docs and variable names
      Co-authored-by: default avatarNiels Rogge <nielsrogge@Nielss-MacBook-Pro.local>
      1ac69874
  12. 30 Apr, 2022 1 commit
  13. 28 Apr, 2022 1 commit
  14. 27 Apr, 2022 1 commit
  15. 26 Apr, 2022 1 commit
  16. 25 Apr, 2022 1 commit
  17. 22 Apr, 2022 1 commit
  18. 21 Apr, 2022 1 commit
  19. 20 Apr, 2022 2 commits
  20. 18 Apr, 2022 1 commit
  21. 13 Apr, 2022 4 commits
  22. 12 Apr, 2022 1 commit
    • hiromu's avatar
      Add Doc Tests for Reformer PyTorch (#16565) · 1bac40db
      hiromu authored
      * start working
      
      * fix: ReformerForQA doctest
      
      * fix: ReformerModelWithLMHead doctest
      
      * fix: ReformerModelForSC doctest
      
      * fix: ReformerModelForMLM doctest
      
      * add: documentation_tests.txt
      
      * make fixup
      
      * change: ReformerModelForSC doctest
      
      * change: checkpoint
      1bac40db