1. 01 Dec, 2021 1 commit
    • Sylvain Gugger's avatar
      Doc new front (#14590) · 4df7d05a
      Sylvain Gugger authored
      
      
      * Convert PretrainedConfig doc to Markdown
      
      * Use syntax
      
      * Add necessary doc files (#14496)
      
      * Doc fixes (#14499)
      
      * Fixes for the new front
      
      * Convert DETR file for table
      
      * Title is needed
      
      * Simplify a bit
      
      * Even simpler
      
      * Remove imports
      
      * Fix typo in toctree (#14516)
      
      * Fix checkpoints badge
      
      * Update versions.yml format (#14517)
      
      * Doc new front github actions (#14512)
      
      * Doc new front github actions
      
      * Fix docstring
      
      * Fix feature extraction utils import (#14515)
      
      * Address Julien's comments
      
      * Push to doc-builder
      
      * Ready for merge
      
      * Remove old build and deploy
      
      * Doc misc fixes (#14583)
      
      * Rm versions.yml from doc
      
      * Fix converting.rst
      
      * Rm pretrained_models from toctree
      
      * Fix index links (#14567)
      
      * Fix links in README
      
      * Localized READMEs
      
      * Fix copy script
      
      * Fix find doc script
      
      * Update README_ko.md
      Co-authored-by: default avatarJulien Chaumond <julien@huggingface.co>
      Co-authored-by: default avatarJulien Chaumond <julien@huggingface.co>
      
      * Adapt build command to new CLI tools (#14578)
      
      * Fix typo
      
      * Fix doc interlinks (#14589)
      
      * Convert PretrainedConfig doc to Markdown
      
      * Use syntax
      
      * Rm pattern <[a-z]+(.html).*>
      
      * Rm huggingface.co/transformers/master
      
      * Rm .html
      
      * Rm .html from index.mdx
      
      * Rm .html from model_summary.rst
      
      * Update index.mdx rm html
      
      * Update remove .html
      
      * Fix inner doc links
      
      * Fix interlink in preprocssing.rst
      
      * Update pr_checks
      Co-authored-by: default avatarSylvain Gugger <sylvain.gugger@gmail.com>
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      
      * Convert PretrainedConfig doc to Markdown
      
      * Use syntax
      
      * Add necessary doc files (#14496)
      
      * Doc fixes (#14499)
      
      * Fixes for the new front
      
      * Convert DETR file for table
      
      * Title is needed
      
      * Simplify a bit
      
      * Even simpler
      
      * Remove imports
      
      * Fix checkpoints badge
      
      * Fix typo in toctree (#14516)
      
      * Update versions.yml format (#14517)
      
      * Doc new front github actions (#14512)
      
      * Doc new front github actions
      
      * Fix docstring
      
      * Fix feature extraction utils import (#14515)
      
      * Address Julien's comments
      
      * Push to doc-builder
      
      * Ready for merge
      
      * Remove old build and deploy
      
      * Doc misc fixes (#14583)
      
      * Rm versions.yml from doc
      
      * Fix converting.rst
      
      * Rm pretrained_models from toctree
      
      * Fix index links (#14567)
      
      * Fix links in README
      
      * Localized READMEs
      
      * Fix copy script
      
      * Fix find doc script
      
      * Update README_ko.md
      Co-authored-by: default avatarJulien Chaumond <julien@huggingface.co>
      Co-authored-by: default avatarJulien Chaumond <julien@huggingface.co>
      
      * Adapt build command to new CLI tools (#14578)
      
      * Fix typo
      
      * Fix doc interlinks (#14589)
      
      * Convert PretrainedConfig doc to Markdown
      
      * Use syntax
      
      * Rm pattern <[a-z]+(.html).*>
      
      * Rm huggingface.co/transformers/master
      
      * Rm .html
      
      * Rm .html from index.mdx
      
      * Rm .html from model_summary.rst
      
      * Update index.mdx rm html
      
      * Update remove .html
      
      * Fix inner doc links
      
      * Fix interlink in preprocssing.rst
      
      * Update pr_checks
      Co-authored-by: default avatarSylvain Gugger <sylvain.gugger@gmail.com>
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      
      * Styling
      Co-authored-by: default avatarMishig Davaadorj <mishig.davaadorj@coloradocollege.edu>
      Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
      Co-authored-by: default avatarJulien Chaumond <julien@huggingface.co>
      4df7d05a
  2. 25 Nov, 2021 1 commit
  3. 24 Nov, 2021 1 commit
  4. 27 Oct, 2021 1 commit
  5. 12 Oct, 2021 1 commit
  6. 08 Oct, 2021 1 commit
  7. 23 Sep, 2021 1 commit
  8. 16 Sep, 2021 1 commit
  9. 14 Sep, 2021 1 commit
  10. 13 Sep, 2021 1 commit
  11. 06 Sep, 2021 1 commit
  12. 01 Sep, 2021 2 commits
    • Jonathan Chang's avatar
      Add template for adding flax models (#12441) · d160782a
      Jonathan Chang authored
      
      
      * Add option to add flax
      
      * Add flax template for __init__.py
      
      * Add flax template for .rst
      
      * Copy TF modeling template
      
      * Add a missing line in modeling_tf_... template
      
      * Update first half of modeling_flax_..
      
      * Update encoder flax template
      
      * Copy test_modeling_tf... as test_modeling_flax...
      
      * Replace some TF to Flax in test_modeling_flax_...
      
      * Replace tf to np
      
      some function might not work, like _assert_tensors_equal
      
      * Replace remaining tf to np (might not work)
      
      * Fix cookiecutter
      
      * Add Flax in to_replace_... template
      
      * Update transformers-cli add-new-model
      
      * Save generate_flax in configuration.json
      
      This will be read by transformers-cli
      
      * Fix to_replace_... and cli
      
      * Fix replace cli
      
      * Fix cookiecutter name
      
      * Move docstring earlier to avoid not defined error
      
      * Fix a missing Module
      
      * Add encoder-decoder flax template from bart
      
      * Fix flax test
      
      * Make style
      
      * Fix endif
      
      * Fix replace all "utf-8 -> unp-8"
      
      * Update comment
      
      * Fix flax template (add missing ..._DOCSTRING)
      
      * Use flax_bart imports in template (was t5)
      
      * Fix unp
      
      * Update templates/adding_a_new_model/tests
      
      * Revert "Fix unp"
      
      This reverts commit dc9002a41d902c4f9b07343eab1cb350c8b7fd57.
      
      * Remove one line of copied from to suppress CI error
      
      * Use generate_tensorflow_pytorch_and_flax
      
      * Add a missing part
      
      * fix typo
      
      * fix flax config
      
      * add examples for flax
      
      * small rename
      
      * correct modeling imports
      
      * correct auto loading
      
      * corrects some flax tests
      
      * correct small typo
      
      * correct as type
      
      * finish modif
      
      * correct more templates
      
      * final fixes
      
      * add file testers
      
      * up
      
      * make sure tests match template regex
      
      * correct pytorch
      
      * correct tf
      
      * correct more tf
      
      * correct imports
      
      * minor error
      
      * minor error
      
      * correct init
      
      * more fixes
      
      * correct more flax tests
      
      * correct flax test
      
      * more fixes
      
      * correct docs
      
      * update
      
      * fix
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      d160782a
    • Patrick von Platen's avatar
      Update self-push.yml (#13364) · 8e208878
      Patrick von Platen authored
      8e208878
  13. 31 Aug, 2021 3 commits
  14. 25 Aug, 2021 1 commit
  15. 16 Aug, 2021 1 commit
  16. 12 Aug, 2021 3 commits
  17. 11 Aug, 2021 1 commit
  18. 10 Aug, 2021 5 commits
  19. 06 Aug, 2021 1 commit
    • Sylvain Gugger's avatar
      [WIP] Disentangle auto modules from other modeling files (#13023) · 9870093f
      Sylvain Gugger authored
      * Initial work
      
      * All auto models
      
      * All tf auto models
      
      * All flax auto models
      
      * Tokenizers
      
      * Add feature extractors
      
      * Fix typos
      
      * Fix other typo
      
      * Use the right config
      
      * Remove old mapping names and update logic in AutoTokenizer
      
      * Update check_table
      
      * Fix copies and check_repo script
      
      * Fix last test
      
      * Add back name
      
      * clean up
      
      * Update template
      
      * Update template
      
      * Forgot a )
      
      * Use alternative to fixup
      
      * Fix TF model template
      
      * Address review comments
      
      * Address review comments
      
      * Style
      9870093f
  20. 20 Jul, 2021 1 commit
  21. 19 Jul, 2021 1 commit
  22. 13 Jul, 2021 1 commit
  23. 12 Jul, 2021 2 commits
  24. 01 Jul, 2021 1 commit
  25. 23 Jun, 2021 1 commit
  26. 21 Jun, 2021 1 commit
  27. 17 Jun, 2021 1 commit
  28. 15 Jun, 2021 2 commits
  29. 09 Jun, 2021 1 commit
    • NielsRogge's avatar
      Add DETR (#11653) · d3eacbb8
      NielsRogge authored
      
      
      * Squash all commits of modeling_detr_v7 branch into one
      
      * Improve docs
      
      * Fix tests
      
      * Style
      
      * Improve docs some more and fix most tests
      
      * Fix slow tests of ViT, DeiT and DETR
      
      * Improve replacement of batch norm
      
      * Restructure timm backbone forward
      
      * Make DetrForSegmentation support any timm backbone
      
      * Fix name of output
      
      * Address most comments by @LysandreJik
      
      * Give better names for variables
      
      * Conditional imports + timm in setup.py
      
      * Address additional comments by @sgugger
      
      * Make style, add require_timm and require_vision to tests茅
      
      * Remove train_backbone attribute of DetrConfig, add methods to freeze/unfreeze backbone
      
      * Add png files to fixtures
      
      * Fix type hint
      
      * Add timm to workflows
      
      * Add `BatchNorm2d` to the weight initialization
      
      * Fix retain_grad test
      
      * Replace model checkpoints by Facebook namespace
      
      * Fix name of checkpoint in test
      
      * Add user-friendly message when scipy is not available
      
      * Address most comments by @patrickvonplaten
      
      * Remove return_intermediate_layers attribute of DetrConfig and simplify Joiner
      
      * Better initialization
      
      * Scipy is necessary to get sklearn metrics
      
      * Rename TimmBackbone to DetrTimmConvEncoder and rename DetrJoiner to DetrConvModel
      
      * Make style
      
      * Improve docs and add 2 community notebooks
      Co-authored-by: default avatarLysandre <lysandre.debut@reseau.eseo.fr>
      d3eacbb8