1. 18 May, 2022 1 commit
  2. 17 May, 2022 1 commit
  3. 16 May, 2022 1 commit
    • Patrick von Platen's avatar
      Add Wav2Vec2Conformer (#16812) · 5a995735
      Patrick von Platen authored
      
      
      * save intermediate
      
      * add wav2vec2 conformer
      
      * add more code
      
      * more
      
      * first test passes
      
      * make all checkpoints work
      
      * update
      
      * up
      
      * more clean ups
      
      * save clean-up
      
      * save clean-up
      
      * save more
      
      * remove bogus
      
      * finalize design conformer
      
      * remove vision
      
      * finish all tests
      
      * more changes
      
      * finish code
      
      * add doc tests
      
      * add slow tests
      
      * fix autoconfig test
      
      * up
      
      * correct docstring
      
      * up
      
      * update
      
      * fix
      
      * Apply suggestions from code review
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      Co-authored-by: default avatarAnton Lozhkov <aglozhkov@gmail.com>
      
      * Update docs/source/en/model_doc/wav2vec2-conformer.mdx
      
      * upload
      
      * save copied from
      
      * correct configs
      
      * fix model outputs
      
      * add to docs
      
      * fix imports
      
      * finish
      
      * finish code
      
      * correct copied from
      
      * correct again
      
      * correct make fix
      
      * improve make fix copies
      
      * save
      
      * correct fix copy from
      
      * correct init structure
      
      * correct
      
      * fix import
      
      * apply suggestions
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      Co-authored-by: default avatarAnton Lozhkov <aglozhkov@gmail.com>
      5a995735
  4. 13 May, 2022 1 commit
  5. 04 May, 2022 1 commit
  6. 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
  7. 26 Apr, 2022 1 commit
  8. 25 Apr, 2022 1 commit
  9. 22 Apr, 2022 1 commit
  10. 21 Apr, 2022 1 commit
  11. 20 Apr, 2022 1 commit
  12. 18 Apr, 2022 1 commit
  13. 13 Apr, 2022 4 commits
  14. 12 Apr, 2022 2 commits
    • 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
    • Michael Chung's avatar
      Add Doc Test GPT-2 (#16439) · 924484ee
      Michael Chung authored
      
      
      * First Pass All Tests Pass
      
      * WIP
      
      * Adding file to documentation tests
      
      * Change the base model for the example in the doc test.
      
      * Fix Code Styling by running
      make fixup
      
      * Called Style
      
      * Reverted to gpt2 model rather than distill gpt2
      Then used a token classification model over a sequence model for an example.
      
      * Fix Styling Issue
      
      * Hopefully ignores the formatting issue.
      Co-authored-by: default avatarArEnSc <xx.mike.chung.xx@gmail.com>
      924484ee
  15. 11 Apr, 2022 1 commit
  16. 08 Apr, 2022 2 commits
    • Johannes Kolbe's avatar
      add vit tf doctest with @add_code_sample_docstrings (#16636) · 9db2eebb
      Johannes Kolbe authored
      
      
      * add vit tf doctest with @add_code_sample_docstrings
      
      * add labels string back in
      Co-authored-by: default avatarJohannes Kolbe <johannes.kolbe@tech.better.team>
      9db2eebb
    • NielsRogge's avatar
      Add TAPEX (#16473) · 4ef0abb7
      NielsRogge authored
      
      
      * Add TapexTokenizer
      
      * Improve docstrings and provide option to provide answer
      
      * Remove option for pretokenized inputs
      
      * Add TAPEX to README
      
      * Fix copies
      
      * Remove option for pretokenized inputs
      
      * Initial commit: add tapex fine-tuning examples on both table-based question answering and table-based fact verification.
      
      * - Draft a README file for running the script and introducing some background.
      - Remove unused code lines in tabfact script.
      - Disable the deafult `pad_to_max_length` option which is memory-consuming.
      
      * * Support `as_target_tokenizer` function for TapexTokenizer.
      * Fix the do_lower_case behaviour of TapexTokenizer.
      * Add unit tests for target scenarios and cased/uncased scenarios for both source and target.
      
      * * Replace the label BartTokenizer with TapexTokenizer's as_target_tokenizer function.
      * Fix typos in tapex example README.
      
      * * fix the evaluation script - remove the property `task_name`
      
      * * Make the label space more clear for tabfact tasks
      
      * * Using a new fine-tuning script for tapex-base on tabfact.
      
      * * Remove the lowercase code outside the tokenizer - we use the tokenizer to control whether do_lower_case
      * Guarantee the hyper-parameter can be run without out-of-memory on 16GB card and report the new reproduced number on wikisql
      
      * * Remove the default tokenizer_name option.
      * Provide evaluation command.
      
      * * Support for WikiTableQuestion dataset.
      
      * Fix a typo in README.
      
      * * Fix the datasets's key name in WikiTableQuestions
      
      * Run make fixup and move test to folder
      
      * Fix quality
      
      * Apply suggestions from code review
      
      * Apply suggestions from code review
      Co-authored-by: default avatarSuraj Patil <surajp815@gmail.com>
      
      * Apply suggestions from code review
      
      * Apply suggestions from code review
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      
      * Apply some more suggestions from code review
      
      * Improve docstrings
      
      * Overwrite failing test
      
      * Improve comment in example scripts
      
      * Fix rebase
      
      * Add TAPEX to Auto mapping
      
      * Add TAPEX to auto config mappings
      
      * Put TAPEX higher than BART in auto mapping
      
      * Add TAPEX to doc tests
      Co-authored-by: default avatarNiels Rogge <nielsrogge@Nielss-MBP.localdomain>
      Co-authored-by: default avatarSivilTaram <qianlxc@outlook.com>
      Co-authored-by: default avatarNiels Rogge <nielsrogge@nielss-mbp.home>
      Co-authored-by: default avatarSuraj Patil <surajp815@gmail.com>
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      Co-authored-by: default avatarNiels Rogge <nielsrogge@Nielss-MacBook-Pro.local>
      4ef0abb7
  17. 06 Apr, 2022 1 commit
  18. 05 Apr, 2022 1 commit
  19. 29 Mar, 2022 1 commit
  20. 28 Mar, 2022 1 commit
    • NielsRogge's avatar
      Add DPT (#15991) · 979b039c
      NielsRogge authored
      
      
      * First draft
      
      * More improvements
      
      * Add fusion blocks
      
      * Make conversion script work for dpt_large
      
      * Make conversion script work
      
      * Improve implementation
      
      * Improve conversion script
      
      * Add DPTForSemanticSegmentation
      
      * Make conversion work for semantic segmentation
      
      * Add tests
      
      * Remove print statements
      
      * First draft
      
      * Redesign neck
      
      * Improve tests
      
      * Improve implementation some more
      
      * Make neck output list of tensors
      
      * Improve neck and feature extractor
      
      * Fix integration tests
      
      * Make more tests pass
      
      * Make all tests pass
      
      * Add missing config archive map
      
      * Add in_index attribute to make heads accept list of tensors
      
      * Apply suggestions from code review
      
      * Apply suggestions from code review
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      
      * Apply some more suggestions
      
      * Add copied from statements
      
      * Remove assert
      
      * Apply suggestions from code review
      
      * Apply suggestions from code review
      
      * Remove DPTInterpolate in favor of nn.Upsample
      
      * Add comments
      
      * Apply suggestions from code review
      
      * Apply suggestions from code review
      
      * Add proposed design
      
      * Update design
      
      * Add DPTReassembleLayer
      
      * Add DPTFeatureFusionStage
      
      * Apply more suggestions from code review
      
      * Apply suggestions from code review
      
      * Apply suggestions from code review
      
      * Fix rebase
      
      * Update in_index and out_indices
      
      * Fix conversion script
      
      * Fix code quality
      
      * Add model to toctree and use DepthEstimatorOutput
      
      * Fix rebase
      
      * Fix code examples
      
      * Improve code
      
      * Fix copied from statements
      
      * Apply suggestions from code review
      
      * Remove compute_loss method
      
      * Apply suggestions from code review
      
      * Fix documentation tests file
      
      * Remove test.py file
      
      * Improve doc example
      Co-authored-by: default avatarNiels Rogge <nielsrogge@Nielss-MacBook-Pro.local>
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      Co-authored-by: default avatarNiels Rogge <nielsrogge@nielss-mbp.home>
      979b039c
  21. 24 Mar, 2022 1 commit
  22. 23 Mar, 2022 1 commit
  23. 22 Mar, 2022 1 commit
    • NielsRogge's avatar
      Add GLPN (#16199) · 0c55d47c
      NielsRogge authored
      
      
      * First draft
      
      * Fix logits calculation
      
      * Improve tests
      
      * Add copied from statements
      
      * Fix base_model_prefix
      
      * Improve implementation, upload new models
      
      * Update design
      
      * Fix integration test
      
      * Add model to README and toctree
      
      * Add document image
      
      * Apply suggestions from code review
      
      * Apply suggestions from code review
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      
      * Add decoder_hidden_size attribute
      
      * Update design of decoder
      
      * Add DepthEstimatorOutput class
      
      * Rename in_index to head_in_index and add feature extractor tests
      
      * Apply suggestions from code review
      
      * Apply suggestions from code review
      
      * Update pretrained model name and add to doc tests
      
      * Remove test.py script
      
      * Update copied from statements and clean up
      Co-authored-by: default avatarNiels Rogge <nielsrogge@Nielss-MacBook-Pro.local>
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      0c55d47c
  24. 21 Mar, 2022 1 commit
    • Patrick von Platen's avatar
      Add Slack notification support for doc tests (#16253) · c1af180d
      Patrick von Platen authored
      * up
      
      * up
      
      * up
      
      * fix
      
      * yeh
      
      * ups
      
      * Empty test commit
      
      * correct quicktour
      
      * correct
      
      * correct
      
      * up
      
      * up
      
      * uP
      
      * uP
      
      * up
      
      * up
      
      * uP
      
      * up
      
      * up
      
      * up
      
      * up
      
      * up
      
      * up
      
      * up
      
      * up
      
      * up
      
      * up
      
      * Update src/transformers/models/van/modeling_van.py
      
      * finish
      
      * apply suggestions
      
      * remove folder
      
      * revert to daily testing
      c1af180d
  25. 15 Mar, 2022 2 commits
  26. 14 Mar, 2022 1 commit
  27. 10 Mar, 2022 1 commit
  28. 09 Mar, 2022 1 commit
  29. 03 Mar, 2022 2 commits
  30. 25 Feb, 2022 1 commit
  31. 27 Jan, 2022 1 commit
    • Patrick von Platen's avatar
      [DocTests Speech] Add doc tests for all speech models (#15031) · 9f831bde
      Patrick von Platen authored
      * fix_torch_device_generate_test
      
      * remove @
      
      * doc tests
      
      * up
      
      * up
      
      * fix doctests
      
      * adapt files
      
      * finish refactor
      
      * up
      
      * save intermediate
      
      * add more logic
      
      * new change
      
      * improve
      
      * next try
      
      * next try
      
      * next try
      
      * next try
      
      * fix final spaces
      
      * fix final spaces
      
      * improve
      
      * renaming
      
      * correct more bugs
      
      * finish wavlm
      
      * add comment
      
      * run on test runner
      
      * finish all speech models
      
      * adapt
      
      * finish
      9f831bde
  32. 12 Aug, 2021 1 commit