- 01 Nov, 2022 2 commits
-
-
Sylvain Gugger authored
-
Matt authored
* initial commit * First draft that gets outputs without crashing! * Add all the ported openfold dependencies * testing * Restructure config files for ESMFold * Debugging to find output discrepancies * Mainly style * Make model runnable without extra deps * Remove utils and merge them to the modeling file * Use correct gelu and remove some debug prints * More cleanup * Update esm docs * Update conversion script to support ESMFold properly * Port some top-level changes from ESMFold repo * Expand EsmFold docstrings * Make attention_mask optional (default to all 1s) * Add inference test for ESMFold * Use config and not n kwargs * Add modeling output class * Remove einops * Remove chunking in ESM FFN * Update tests for ESMFold * Quality * REpo consistency * Remove tree dependency from ESMFold * make fixup * Add an error in case my structure map function breaks later * Remove needless code * Stop auto-casting the LM to float16 so CPU tests pass * Stop auto-casting the LM to float16 so CPU tests pass * Final test updates * Split test file * Copyright and quality * Unpin PyTorch to see built doc * Fix config file to_dict() method * Add some docstrings to the output * Skip TF checkpoint tests for ESM until we reupload those * make fixup * More docstrings * Unpin to get even with main * Flag example to write Co-authored-by:Sylvain Gugger <Sylvain.gugger@gmail.com>
-
- 31 Oct, 2022 9 commits
-
-
NielsRogge authored
Co-authored-by:Niels Rogge <nielsrogge@Nielss-MacBook-Pro.local>
-
Yih-Dar authored
* pin torch to < 1.13 * pin torch to < 1.13 Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Sanchit Gandhi authored
* [modelcard] Update for ASR * style
-
Chiao authored
* gradient checkpointing for GPT-NeoX * initialize gradient checkpointing flag * must set flag before init
-
Saad Mahmud authored
* Add Example docstring to DebertaConfig * Add configuration_deberta to documentation_tests * Add microsoft/deberta-base to example docstring * Fix example docstring mistake
-
Yih-Dar authored
* donut -> donut-swin * remove ("donut-swin", "DonutProcessor") Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Sylvain Gugger authored
-
lewtun authored
* Fix ONNX tests for ONNX Runtime v1.13.1 Co-authored-by:Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
NielsRogge authored
* Add postprocessing methods * Update docs * Add fix * Add test * Add test for deformable detr postprocessing * Add post processing methods for segmentation * Update code examples * Add post_process to make the pipeline work * Apply updates Co-authored-by:Niels Rogge <nielsrogge@Nielss-MacBook-Pro.local>
-
- 28 Oct, 2022 3 commits
-
-
Raghav Prabhakar authored
* add Onnx Config for ImageGPT * add generate_dummy_inputs for onnx config * add TYPE_CHECKING clause * Update doc for generate_dummy_inputs Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
Yang Yu authored
* Do not generate trial_name when trail is None * Use (trial or self._trial) to generate trial_name * Follow comments
-
donguk.lim authored
* Support segformer fx * Add fx_compatible attribute to test_modeling_segformer.py * Update glpn model (fx support) glpn model was copied from segformer. * Update utils/fx.py | add semantic-segmentation for SegformerForSemanticSegmentation model * Fix minor import order(isort) * Add random input generation for segformer fx Co-authored-by:noelbird <lduldu00228@gmail.com>
-
- 27 Oct, 2022 11 commits
-
-
Younes Belkada authored
* forward contrib credits from suggestion * add `accelerate` support for BART-like models Co-authored-by:sgugger <sgugger@users.noreply.github.com>
-
Sylvain Gugger authored
* Let inputs of fast tokenizers be tuples as well as lists * Update src/transformers/tokenization_utils_fast.py Co-authored-by:
Lysandre Debut <lysandre.debut@reseau.eseo.fr> * Style Co-authored-by:
Lysandre Debut <lysandre.debut@reseau.eseo.fr>
-
Sylvain Gugger authored
* Wip * Add safetensors support for TensorFlow * First tests * Add final test for now * Retrigger CI like this * Update src/transformers/modeling_tf_utils.py Co-authored-by:
Lysandre Debut <lysandre.debut@reseau.eseo.fr> Co-authored-by:
Lysandre Debut <lysandre.debut@reseau.eseo.fr>
-
Younes Belkada authored
* add `accelerate` support for M2M100 * fix device set nit
-
Matt authored
-
Edoardo Abati authored
* added typing to call in TFPegasusModel and TFPegasusForConditionalGeneration * fixed type for TFPegasusForConditionalGeneration call
-
Sylvain Gugger authored
-
Yih-Dar authored
* Add pegasus_x * ViTMSN * ESM Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Chandler May authored
* Convert None logits processor/stopping criteria to empty list. * Initialize stopping_criteria, logits_processor in generate. * Default stopping_criteria, logits_processor to None. Co-authored-by:Chandler May <chandler.j.may@gmail.com>
-
Joao Gante authored
-
Yih-Dar authored
* For CLIP * Others * update Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
- 26 Oct, 2022 8 commits
-
-
Younes Belkada authored
-
Patrick von Platen authored
* add first generation tutorial * [Flax] Add subfolder functionality * [Flax] Add subfolder functionality * up * finish * delete file and re-add test
-
Younes Belkada authored
* add `flan-t5` documentation page * Update README.md Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * add more content * revert `_toctree` modif * revert `toctree` modif - 2 * Update README.md * Revert "Update README.md" This reverts commit 56607144299c5fdf7b18abdb776efd0d03287727. * Update README_es.md * Update README_zh-hans.md * Update README_zh-hant.md * Update README_ko.md Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
raghavanone authored
* Change the import of kenlm from github to pypi * Change the import of kenlm from github to pypi in circleci config * Fix code quality issues * Fix isort issue, add kenlm in extras for audio * Add kenlm to deps * Add kenlm to deps * Commit 'make fixup' changes * Remove version from kenlm deps * commit make fixup changes * Remove manual installation of kenlm * Remove manual installation of kenlm * Remove manual installation of kenlm
-
raghavanone authored
* Add missing information on token_type_ids for roberta model * Fix code format issues * Fix code format issues * Add more explicit document for token_type_ids for roberta * Fix flake8 issues * Fix flake8 issues * Fix flake8 issues * Fix flake8 issues * Fix flake8 issues
-
Sander Land authored
* no conv bn folding in ipex * no flag in training * comment Co-authored-by:Sander Land <sander@chatdesk.com>
-
Revanth09 authored
* Update documentation_tests.txt * Update configuration_mbart.py * Update configuration_mctct.py * Update configuration_layoutlm.py * Update configuration_layoutlmv2.py * Update configuration_layoutlmv3.py * Update documentation_tests.txt
-
Nicolas Patry authored
* Factored out some code in the image-segmentation pipeline Re-enable `small_model_pt`. Re-enable `small_model_pt`. Enabling the current test with the current values. Debugging the values on the CI. More logs ? Printing doesn't work ? Using the CI values instead. Seems to be a Pillow sensitivity. Added a test showcasing that models not supporting some tasks get a clear error. Factored out code. Further factor out. Fixup. Bad rebase. Put `panoptic` before `instance` as it should be a superset. * Fixing tests. * Adding subtasks tests + Fixes `instance` segmentation which was broken due to default and non kwargs arguments. * Fix bad replace.
-
- 25 Oct, 2022 4 commits
-
-
Sylvain Gugger authored
* Update doc for revision and token * Update src/transformers/configuration_utils.py Co-authored-by:
Lysandre Debut <lysandre.debut@reseau.eseo.fr> * Push changes on other from_pretrained methods Co-authored-by:
Lysandre Debut <lysandre.debut@reseau.eseo.fr>
-
Joao Gante authored
-
Guillaume Klein authored
-
Yih-Dar authored
Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
- 24 Oct, 2022 3 commits
-
-
Sylvain Gugger authored
* Refactor conversion function * Remove dupe line * Fixes * Fixes * Use the right variable... * Fix last test
-
Rak Alexey authored
* fix image2test args forwarding * fix issues * Proposing the update to the PR. * Fixup. Co-authored-by:Nicolas Patry <patry.nicolas@protonmail.com>
-
Yih-Dar authored
Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-