1. 26 Jul, 2022 6 commits
  2. 25 Jul, 2022 3 commits
  3. 23 Jul, 2022 1 commit
  4. 22 Jul, 2022 8 commits
    • amyeroberts's avatar
      Update serving code to enable `saved_model=True` (#18153) · 8e838466
      amyeroberts authored
      
      
      * Add serving_output and serving methods to some vision models
      
      * Add serving outputs for DeiT
      
      * Don't convert hidden states - differing shapes
      
      * Make saveable
      
      * Fix up
      
      * Make swin saveable
      
      * Add in tests
      
      * Fix funnel tests (can't convert to tensor)
      
      * Fix numpy call
      
      * Tidy up a bit
      
      * Add in hidden states - resnet
      
      * Remove numpy
      
      * Fix failing tests - tensor shape and skipping tests
      
      * Remove duplicated function
      
      * PR comments - formatting and var names
      
      * PR comments
      Add suggestions made by Joao Gante:
      * Use tf.shape instead of shape_list
      * Use @tooslow decorator on tests
      * Simplify some of the logic
      
      * PR comments
      Address Yih-Dar Sheih comments - making tensor names consistent and make types float
      
      * Types consistent with docs; disable test on swin (slow)
      
      * CI trigger
      
      * Change input_features to float32
      
      * Add serving_output for segformer
      
      * Fixup
      Co-authored-by: default avatarAmy Roberts <amyeroberts@users.noreply.github.com>
      8e838466
    • Matt's avatar
      Change how `take_along_axis` is computed in DeBERTa to stop confusing XLA (#18256) · 07505358
      Matt authored
      * Change how `take_along_axis` is computed in DeBERTa to stop confusing XLA
      
      * Greatly simplify take_along_axis() since the code wasn't using most of it
      07505358
    • Yih-Dar's avatar
      d95a32cc
    • Muhammad Ahmed's avatar
      change bloom parameters to 176B (#18235) · 7cb4da13
      Muhammad Ahmed authored
      7cb4da13
    • Joao Gante's avatar
    • 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
    • Sylvain Gugger's avatar
      Fix OwlViT tests (#18253) · 06d98e27
      Sylvain Gugger authored
      * Fix OwlViT tests
      
      * Forgot one
      06d98e27
    • 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
  5. 21 Jul, 2022 12 commits
  6. 20 Jul, 2022 6 commits
  7. 19 Jul, 2022 4 commits