- 01 Sep, 2021 2 commits
-
-
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:Patrick von Platen <patrick.v.platen@gmail.com>
-
Patrick von Platen authored
-
- 31 Aug, 2021 3 commits
-
-
Patrick von Platen authored
* correct * also comment out multi-gpu test push
-
Lysandre authored
-
Patrick von Platen authored
* up * finish * Apply suggestions from code review * apply Lysandres suggestions * adapt circle ci as well * finish * Update setup.py
-
- 25 Aug, 2021 1 commit
-
-
Lysandre Debut authored
-
- 16 Aug, 2021 1 commit
-
-
Lysandre Debut authored
* Continue on error * Specific * Temporary patch
-
- 12 Aug, 2021 3 commits
-
-
Sylvain Gugger authored
* Only report failures on failures * Fix typo * Put it everywhere
-
Sylvain Gugger authored
* Reactive test fecthers on scheduled test with proper git install * Proper fetch-depth
-
Lysandre Debut authored
* Doctests * Limit to 4 decimals * Try with separate PT/TF tests * Remove test for TF * Ellips the predictions * Doctest continue on failure Co-authored-by:Sylvain Gugger <sylvain.gugger@gmail.com>
-
- 11 Aug, 2021 1 commit
-
-
Lysandre Debut authored
* Install git * Add TF tests * And last TF test * Add in commented code too Co-authored-by:Sylvain Gugger <sylvain.gugger@gmail.com>
-
- 10 Aug, 2021 5 commits
-
-
Sylvain Gugger authored
-
Sylvain Gugger authored
-
Sylvain Gugger authored
-
Sylvain Gugger authored
-
Sylvain Gugger authored
* Use test fetcher for push tests as well * Force diff with last commit for circleCI on master * Fix syntax error * Style * Schedule nightly tests
-
- 06 Aug, 2021 1 commit
-
-
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
-
- 20 Jul, 2021 1 commit
-
-
Stas Bekman authored
-
- 19 Jul, 2021 1 commit
-
-
Lysandre Debut authored
-
- 13 Jul, 2021 1 commit
-
-
Lysandre Debut authored
* Global 60-300 seconds timeout * Add verbose option * [skip ci] typo
-
- 01 Jul, 2021 1 commit
-
-
Lysandre Debut authored
-
- 23 Jun, 2021 1 commit
-
-
Lysandre Debut authored
-
- 21 Jun, 2021 1 commit
-
-
Lysandre authored
-
- 17 Jun, 2021 1 commit
-
-
Lysandre Debut authored
* Support for torch 1.9.0 * Torch scatter for 1.9.0 * Github Actions run on 1.9.0
-
- 15 Jun, 2021 2 commits
-
-
Sylvain Gugger authored
-
Amog Kamsetty authored
* fix * fixes * add back to scheduled tests * formatting * Update integrations.py
-
- 09 Jun, 2021 1 commit
-
-
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:Lysandre <lysandre.debut@reseau.eseo.fr>
-
- 01 Jun, 2021 1 commit
-
-
Lysandre authored
-
- 31 May, 2021 1 commit
-
-
Lysandre authored
-
- 07 May, 2021 3 commits
-
-
Stas Bekman authored
forgot to add the missing `libaio-dev` to this workflow
-
Lysandre Debut authored
-
Lysandre Debut authored
* Add the ImageClassificationPipeline * Code review Co-authored-by:
patrickvonplaten <patrick.v.platen@gmail.com> * Have `load_image` at the module level Co-authored-by:
patrickvonplaten <patrick.v.platen@gmail.com>
-
- 06 May, 2021 2 commits
-
-
Stas Bekman authored
* fixing tests * cleanup
-
Lysandre Debut authored
-
- 05 May, 2021 1 commit
-
-
Stas Bekman authored
-
- 30 Apr, 2021 1 commit
-
-
Lysandre Debut authored
-
- 21 Apr, 2021 1 commit
-
-
Sylvain Gugger authored
* Base move * Examples reorganization * Update references * Put back test data * Move conftest * More fixes * Move test data to test fixtures * Update path * Apply suggestions from code review Co-authored-by:
Lysandre Debut <lysandre@huggingface.co> * Address review comments and clean Co-authored-by:
Lysandre Debut <lysandre@huggingface.co>
-
- 16 Apr, 2021 2 commits
-
-
Lysandre authored
-
Lysandre Debut authored
-
- 14 Apr, 2021 1 commit
-
-
Lysandre Debut authored
* Updated stale bot * Specify issue number * Remove particular handling of assignees * Unleash the stalebot * Remove debug branch
-