- 28 Aug, 2023 5 commits
-
-
Stas Bekman authored
[idefics] fix vision's hidden_act
-
David Reguera authored
* Add type hints for MGP STR model * Add missing type hints for plbart model * Add type hints for Pix2struct model * Add missing type hints to Rag model and tweak the docstring * Add missing type hints to Sam model * Add missing type hints to Swin2sr model * Fix a type hint for Pix2StructTextModel Co-authored-by:
Matt <Rocketknight1@users.noreply.github.com> * Fix typo on Rag model docstring Co-authored-by:
Matt <Rocketknight1@users.noreply.github.com> * Fix linter --------- Co-authored-by:
Matt <Rocketknight1@users.noreply.github.com>
-
David Reguera authored
* Add type hints for table_transformer * Add type hints to Timesformer model * Add type hints to Timm Backbone model * Add type hints to TVLT family models * Add type hints to Vivit family models * Use the typing instance instead of the python builtin. * Fix the `replace_return_docstrings` decorator for Vivit model Co-authored-by:
Matt <Rocketknight1@users.noreply.github.com> --------- Co-authored-by:
Matt <Rocketknight1@users.noreply.github.com>
-
David Reguera authored
* Add missing type hint to cpmant * Add type hints to decision_transformer model * Add type hints to deformable_detr models * Add type hints to detr models * Add type hints to deta models * Add type hints to dpr models * Update attention mask type hint Co-authored-by:
Matt <Rocketknight1@users.noreply.github.com> * Update remaining attention masks type hints * Update docstrings' type hints related to attention masks --------- Co-authored-by:
Matt <Rocketknight1@users.noreply.github.com>
-
Arthur authored
* add a warning=True tip to the Llama2 doc * code llama needs a tip too * doc nit * build PR doc * doc nits Co-authored-by:
Lysandre <lysandre@huggingface.co> --------- Co-authored-by:
Lysandre <lysandre@huggingface.co>
-
- 26 Aug, 2023 1 commit
-
-
Tigran Khachatryan authored
* fix docstrings and examples * docstring update * add missing whitespace
-
- 25 Aug, 2023 16 commits
-
-
Stas Bekman authored
-
Arthur authored
* add all * Revert "Delete .github directory" This reverts commit 9b0ff7b052e2b20b629a26fb13606b78a42944d1. * make conversion script backward compatible * fixup * more styling * copy to llama changes * fix repo consistency * nits * document correct classes * updates * more fixes * nits * update auto mappings * add readmes * smallupdates * llama-code replace with llama_code * make fixup * updates to the testsing suite * fix fast nits * more small fixes * fix decode * fix template processing * properly reset the normalizer * nits processor * tokenization tests pass * styling * last tests * additional nits * one test is left * nits Co-authored-by faabian <faabian@users.noreply.github.com> * update failing test * fixup * remove decode infilling users should handle it on their onw after generation, padding can be a problem * update * make test slow and more meaningfull * fixup * doc update * fixup * Apply suggestions from code review * add kwargs doc * tokenizer requires `requires_backend` * type requires_backends * CodeLlama instead of LlamaCode * more name cahnges * nits * make doctests happy * small pipeline nits * last nit * Apply suggestions from code review Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * update * add codellama to toctree --------- Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
Alan Ji authored
* fix a typo in docsting * Update src/transformers/modeling_utils.py Co-authored-by:
Arthur <48595927+ArthurZucker@users.noreply.github.com> --------- Co-authored-by:
statelesshz <jihuazhong1@huawei.com> Co-authored-by:
Arthur <48595927+ArthurZucker@users.noreply.github.com>
-
Tianlin Liu authored
* Correct attention mask dtype * reformat code * add a test for boolean mask * convert test to fast test * delete unwanted print * use assertTrue for testing
-
Younes Belkada authored
* move deepspeed to `lib_integrations.deepspeed` * more refactor * oops * fix slow tests * Fix docs * fix docs * addess feedback * address feedback * final modifs for PEFT * fixup * ok now * trigger CI * trigger CI again * Update docs/source/en/main_classes/deepspeed.md Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * import from `integrations` * address feedback * revert removal of `deepspeed` module * revert removal of `deepspeed` module * fix conflicts * ooops * oops * add deprecation warning * place it on the top * put `FutureWarning` * fix conflicts with not_doctested.txt * add back `bitsandbytes` module with a depr warning * fix * fix * fixup * oops * fix doctests --------- Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
David Reguera authored
* Add missing type hints for ErnieM family * Add missing type hints for EsmForProteinFolding model * Add missing type hints for Graphormer model * Add type hints for InstructBlipQFormer model * Add missing type hints for LayoutLMForMaskedLM model * Add missing type hints for LukeForEntitySpanClassification model
-
Joao Gante authored
-
Marc Sun authored
* fix encoder hook * style
-
Arthur authored
make sure legacy does not require `protobuf`
-
Sanchit Gandhi authored
-
Joao Gante authored
* shorter example * add logits processors to doctests * remove file from conflict? * tmp commit * Fix broken tests; Shorter sampling tests * Apply suggestions from code review Co-authored-by:
Arthur <48595927+ArthurZucker@users.noreply.github.com> --------- Co-authored-by:
Arthur <48595927+ArthurZucker@users.noreply.github.com>
-
Jess authored
* updated logits processor text * Update logits_process.py * fixed formatting with black * fixed formatting with black * fixed formatting with Make Fixup * more formatting fixes * Update src/transformers/generation/logits_process.py Co-authored-by:
Joao Gante <joaofranciscocardosogante@gmail.com> * Update src/transformers/generation/logits_process.py Co-authored-by:
Joao Gante <joaofranciscocardosogante@gmail.com> * Revert "fixed formatting with Make Fixup" This reverts commit 47643083 * Revert "fixed formatting with black" This reverts commit bfb153673664d099cbdbcce100ceb6a64868adaf. * Revert "fixed formatting with Make Fixup" This reverts commit 47643083 * Revert "fixed formatting with Make Fixup" This reverts commit 47643083 * Revert "fixed formatting with black" This reverts commit ad6ceb64 * Revert "fixed formatting with black" This reverts commit ad6ceb64b7cf77addcc4c863d497bf948ec335c8. * Update src/transformers/generation/logits_process.py Co-authored-by:
Arthur <48595927+ArthurZucker@users.noreply.github.com> * Revert "fixed formatting with Make Fixup" This reverts commit 47643083 * formatted logits_process with make fixup --------- Co-authored-by:
jesspeck <jess@localseoguide.com> Co-authored-by:
Joao Gante <joaofranciscocardosogante@gmail.com> Co-authored-by:
Arthur <48595927+ArthurZucker@users.noreply.github.com>
-
Joao Gante authored
-
Pedro Cuenca authored
* Add FlaxClipTextModelWithProjection This is necessary to support the Flax port of Stable Diffusion XL: https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/blob/fb6d705fb518524cabc79c77f13a0e7921bcab3a/text_encoder_2/config.json#L3 Co-authored-by:
Martin M眉ller <martin.muller.me@gmail.com> Co-authored-by:
Juan Acevedo <juancevedo@gmail.com> * Use FlaxCLIPTextModelOutput * make fix-copies again * Apply suggestions from code review Co-authored-by:
Sanchit Gandhi <93869735+sanchit-gandhi@users.noreply.github.com> * Use `return_dict` for consistency with other uses. Co-authored-by:
Sanchit Gandhi <93869735+sanchit-gandhi@users.noreply.github.com> * Fix docstring example. * Add new model to FlaxCLIPTextModelTest * Add to IGNORE_NON_AUTO_CONFIGURED list * Fix naming convention. --------- Co-authored-by:
Martin M眉ller <martin.muller.me@gmail.com> Co-authored-by:
Juan Acevedo <juancevedo@gmail.com> Co-authored-by:
Sanchit Gandhi <93869735+sanchit-gandhi@users.noreply.github.com>
-
Anthony Susevski authored
fixed typo in speech encoder decoder blog
-
Younes Belkada authored
fix save_pretrained issue + add test
-
- 24 Aug, 2023 16 commits
-
-
Wonhyeong Seo authored
* docs: ko: visual_question_answering.md * feat: chatgpt draft tosquash: add code blocks * fix: manual edits ~L34 14:25 ~L126 16:52 ~L224 17:00 ~L335 17:11 ~EOF 17:18 * fix: self-correction * amend grammar, phrasing * docs: add new entry to _toctree.yml * fix: use terms from glossary Co-authored-by:
SeongWooChoi <46990061+nuatmochoi@users.noreply.github.com> --------- Co-authored-by:
SeongWooChoi <46990061+nuatmochoi@users.noreply.github.com>
-
Sanchit Gandhi authored
-
Younes Belkada authored
fix failing PEFT tests
-
amyeroberts authored
* Check if pixel values between 0-255 and add doc clarification * Add missing docstrings * _is_scale_image -> is_scaled_image * Spelling is hard * Tidy up
-
Stas Bekman authored
-
Arthur authored
* refactor complicated from pretrained for peft * nits * more nits * Update src/transformers/modeling_utils.py Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * make tests happy * fixup after merge --------- Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
Joao Gante authored
-
Younes Belkada authored
* add correct installation of GPTQ library * update tests values
-
Sylvain Gugger authored
* Fix number of minimal calls to the Hub with peft integration * Alternate design * And this way? * Revert * Address comments
-
Younes Belkada authored
* fix peft version * address comments * adapt suggestion
-
Yih-Dar authored
fix Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Tom Aarsen authored
Resolve typos in warning text
-
Sylvain Gugger authored
-
Arthur authored
make unk_token_length a property
-
Sourab Mangrulkar authored
-
Sylvain Gugger authored
-
- 23 Aug, 2023 2 commits
-
-
Susnato Dhar authored
Update configuration_gpt2.py
-
Joao Gante authored
Co-authored-by:Arthur <48595927+ArthurZucker@users.noreply.github.com>
-