- 25 Aug, 2023 13 commits
-
-
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 11 commits
-
-
Susnato Dhar authored
Update configuration_gpt2.py
-
Joao Gante authored
Co-authored-by:Arthur <48595927+ArthurZucker@users.noreply.github.com>
-
Phuc Van Phan authored
feat: correct update resume update with steps
-
sanjeevk-os authored
* [DOCS] Added docstring example for EpsilonLogitsWarper #24783 * minor code changes based on review comments * set seed for both generate calls, reduced the example length * fixed line length under 120 chars
-
Yih-Dar authored
fix Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Lysandre Debut authored
This sets the stale bot trigger time at 10 AM CEST rather than 5 PM CEST as all core maintainers on watch duty are now in the European timezone
-
Sanchit Gandhi authored
[CLAP] Fix dtype of logit scales
-
Nora Belrose authored
* Pass a Python scalar for alpha in torch.baddbmm * fixup --------- Co-authored-by:Arthur Zucker <arthur.zucker@gmail.com>
-
Yih-Dar authored
* fix * fix * fix * fix * fix * fix * Apply suggestions from code review Co-authored-by:
Arthur <48595927+ArthurZucker@users.noreply.github.com> --------- Co-authored-by:
ydshieh <ydshieh@users.noreply.github.com> Co-authored-by:
Arthur <48595927+ArthurZucker@users.noreply.github.com>
-
Yih-Dar authored
* update * check --------- Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Arthur authored
nit
-