"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "e1c3ac25515839146c93427e55941de9cee3401e"
  1. 05 Aug, 2022 1 commit
  2. 04 Aug, 2022 1 commit
    • NielsRogge's avatar
      Add VideoMAE (#17821) · f9a0008d
      NielsRogge authored
      
      
      * First draft
      
      * Add VideoMAEForVideoClassification
      
      * Improve conversion script
      
      * Add VideoMAEForPreTraining
      
      * Add VideoMAEFeatureExtractor
      
      * Improve VideoMAEFeatureExtractor
      
      * Improve docs
      
      * Add first draft of model tests
      
      * Improve VideoMAEForPreTraining
      
      * Fix base_model_prefix
      
      * Make model take pixel_values of shape (B, T, C, H, W)
      
      * Add loss computation of VideoMAEForPreTraining
      
      * Improve tests
      
      * Improve model testsé
      
      * Make all tests pass
      
      * Add VideoMAE to main README
      
      * Add tests for VideoMAEFeatureExtractor
      
      * Add integration test
      
      * Improve conversion script
      
      * Rename patch embedding class
      
      * Remove VideoMAELayer from init
      
      * Update design of patch embeddings
      
      * Improve comments
      
      * Improve conversion script
      
      * Improve conversion script
      
      * Add conversion of pretrained model
      
      * Add loss verification of pretrained model
      
      * Add loss verification of unnormalized targets
      
      * Add integration test for pretraining model
      
      * Apply suggestions from code review
      
      * Fix bug to make feature extractor resize only shorter edge
      
      * Address more comments
      
      * Improve normalization of videos
      
      * Add doc examples
      
      * Move constants to dedicated script
      
      * Remove scripts
      
      * Transfer checkpoints, fix docs
      
      * Update script
      
      * Update image mean and std
      
      * Fix doc tests
      
      * Set return_tensors to NumPy by default
      
      * Revert the previous change
      Co-authored-by: default avatarNiels Rogge <nielsrogge@Nielss-MacBook-Pro.local>
      f9a0008d
  3. 03 Aug, 2022 2 commits
    • Ian Castillo's avatar
      Add Spanish translation of run_scripts.mdx (#18415) · 10e1ec9a
      Ian Castillo authored
      * Add file in spanish docs to be translated
      
      * Translate first two sections to Spanish
      
      * Translate four additional sections to Spanish
      
      * Finish translation to Spanish
      
      * Improve writing style in Spanish
      
      * Add suggested changes from reviewer
      10e1ec9a
    • Steven Liu's avatar
      Update _toctree.yml (#18440) · 92915ebe
      Steven Liu authored
      This PR moves GroupViT and LXMert to their correct sections. As pointed out by @NielsRogge and @LysandreJik, GroupViT and LXMert are both multimodal models.
      92915ebe
  4. 02 Aug, 2022 2 commits
  5. 01 Aug, 2022 4 commits
  6. 29 Jul, 2022 2 commits
  7. 28 Jul, 2022 3 commits
  8. 27 Jul, 2022 4 commits
  9. 26 Jul, 2022 7 commits
  10. 22 Jul, 2022 3 commits
    • Muhammad Ahmed's avatar
      change bloom parameters to 176B (#18235) · 7cb4da13
      Muhammad Ahmed authored
      7cb4da13
    • Fx039482's avatar
      Add Italian translation of create_model.mdx and serialization.mdx (#17640) · 49354097
      Fx039482 authored
      
      
      * First commit
      
      * final changes
      
      * Changed create_model to create_a_model
      Translated into crea un'architettura personalizzata in the file it/_toctree.yml
      
      * Added _toctree.yml in the italian translation loca: serialization title Esporta modelli transformers
      
      * Edit translation for create_model.mdx
      
      * t with '#' will be ignored, and an empty message aborts the commit.
      
      * Added file serialization for translation in italian
      
      * Fix toctree serialization position
      
      I checked the eng toctree and realized I made a mistake.
      
      * Update _toctree.yml
      
      Correct spacing
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      49354097
    • Alara Dirik's avatar
      Add OWL-ViT model for zero-shot object detection (#17938) · 12d66b47
      Alara Dirik authored
      * add owlvit model skeleton
      
      * add class and box predictor heads
      
      * convert modified flax clip to pytorch
      
      * fix box and class predictors
      
      * add OwlViTImageTextEmbedder
      
      * convert class and box head checkpoints
      
      * convert image text embedder checkpoints
      
      * add object detection head
      
      * fix bugs
      
      * update conversion script
      
      * update conversion script
      
      * fix q,v,k,out weight conversion conversion
      
      * add owlvit object detection output
      
      * fix bug in image embedder
      
      * fix bugs in text embedder
      
      * fix positional embeddings
      
      * fix bug in inference mode vision pooling
      
      * update docs, init tokenizer and processor files
      
      * support batch processing
      
      * add OwlViTProcessor
      
      * remove merge conflicts
      
      * readd owlvit imports
      
      * fix bug in OwlViTProcessor imports
      
      * fix bugs in processor
      
      * update docs
      
      * fix bugs in processor
      
      * update owlvit docs
      
      * add OwlViTFeatureExtractor
      
      * style changes, add postprocess method to feature extractor
      
      * add feature extractor and processor tests
      
      * add object detection tests
      
      * update conversion script
      
      * update config paths
      
      * update config paths
      
      * fix configuration paths and bugs
      
      * fix bugs in OwlViT tests
      
      * add import checks to processor
      
      * fix docs and minor issues
      
      * fix docs and minor issues
      
      * fix bugs and issues
      
      * fix bugs and issues
      
      * fix bugs and issues
      
      * fix bugs and issues
      
      * update docs and examples
      
      * fix bugs and issues
      
      * update conversion script, fix positional embeddings
      
      * process 2D input ids, update tests
      
      * fix style and quality issues
      
      * update docs
      
      * update docs and imports
      
      * update OWL-ViT index.md
      
      * fix bug in OwlViT feature ext tests
      
      * fix code examples, return_dict by default
      
      * return_dict by default
      
      * minor fixes, add tests to processor
      
      * small fixes
      
      * add output_attentions arg to main model
      
      * fix bugs
      
      * remove output_hidden_states arg from main model
      
      * update self.config variables
      
      * add option to return last_hidden_states
      
      * fix bug in config variables
      
      * fix copied from statements
      
      * fix small issues and bugs
      
      * fix bugs
      
      * fix bugs, support greyscale images
      
      * run fixup
      
      * update repo name
      
      * merge OwlViTImageTextEmbedder with obj detection head
      
      * fix merge conflict
      
      * fix merge conflict
      
      * make fixup
      
      * fix bugs
      
      * fix bugs
      
      * add additional processor test
      12d66b47
  11. 21 Jul, 2022 6 commits
  12. 20 Jul, 2022 2 commits
    • Steven Liu's avatar
      Add custom config to quicktour (#18115) · ff56b8fb
      Steven Liu authored
      * 📝 first draft of new quicktour
      
      * make style
      
      * 🖍 edit and review
      
      * 🖍 small fixes
      
      * 🖍 only add custom config section
      
      * 🖍 use autoclass instead
      ff56b8fb
    • Raghavan's avatar
      Adding OPTForSeqClassification class (#18123) · dcec4c43
      Raghavan authored
      * Adding OPTForSeqClassification class
      
      * Fix import issues
      
      * Add documentation for optforseqclassification
      
      * Remove checkout
      
      * fix failing tests
      
      * fix typo
      
      * Fix code formatting
      
      * Incorporating the PR feedbacks
      
      * Incorporate PR Feedbacks
      
      * Fix failing test and add new test for multi label setup
      
      * Fix formatting issue
      
      * Fix failing tests
      
      * Fix formatting issues
      
      * Fix failing tests
      
      * Fix failing tests
      
      * Fix failing tests
      
      * Fix failing tests
      
      * PR feedback
      dcec4c43
  13. 19 Jul, 2022 1 commit
  14. 18 Jul, 2022 2 commits