- 03 Feb, 2023 4 commits
-
-
Avi Singhal authored
* updated resources for LayoutLM * Apply suggestions from code review Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * fixed formatting, removed extra section --------- Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com>
-
Yih-Dar authored
* * Remove unused type_vocab_size * Remove unused initializer_factor * Remove unused n_embd * Remove unused scale_embedding * Remove unused scale_attn_weights * fix * fix * Remove unused head_hidden_scale * Remove unused activation_dropout --------- Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Pavel Denisov authored
Add accepting `.generate()` calls with `inputs_embeds` on BLOOM models
-
Joao Gante authored
-
- 02 Feb, 2023 12 commits
-
-
Erwann Millon authored
* Add VQGAN-CLIP research project * fixed style issues * Update examples/research_projects/vqgan-clip/README.md Co-authored-by:
amyeroberts <22614925+amyeroberts@users.noreply.github.com> * Update examples/research_projects/vqgan-clip/VQGAN_CLIP.py Co-authored-by:
amyeroberts <22614925+amyeroberts@users.noreply.github.com> * Update examples/research_projects/vqgan-clip/requirements.txt Co-authored-by:
amyeroberts <22614925+amyeroberts@users.noreply.github.com> * Update examples/research_projects/vqgan-clip/README.md Co-authored-by:
amyeroberts <22614925+amyeroberts@users.noreply.github.com> * Update examples/research_projects/vqgan-clip/VQGAN_CLIP.py Co-authored-by:
amyeroberts <22614925+amyeroberts@users.noreply.github.com> * Update examples/research_projects/vqgan-clip/VQGAN_CLIP.py Co-authored-by:
amyeroberts <22614925+amyeroberts@users.noreply.github.com> * Update examples/research_projects/vqgan-clip/VQGAN_CLIP.py Co-authored-by:
amyeroberts <22614925+amyeroberts@users.noreply.github.com> * Update examples/research_projects/vqgan-clip/loaders.py Co-authored-by:
amyeroberts <22614925+amyeroberts@users.noreply.github.com> * replace CLIPProcessor with tokenizer, change asserts to exceptions * rm unused import * remove large files (jupyter notebook linked in readme, imgs migrated to hf dataset) * add tokenizers dependency * Remove comment Co-authored-by:
amyeroberts <22614925+amyeroberts@users.noreply.github.com> * rm model checkpoints --------- Co-authored-by:
Erwann Millon <erwann@Erwanns-MacBook-Air.local> Co-authored-by:
amyeroberts <22614925+amyeroberts@users.noreply.github.com>
-
Steven Liu authored
* first draft of audio section * make style * first draft of computer vision section * add convnext and encoder tasks * finish up nlp tasks * minor edits * add arch images, more edits * fix image links * apply sanchit feedback * model naming convention * apply niels vit feedback * replace detr for segmentation with mask2former * apply feedback * apply feedback
-
Jorge C. Gomes authored
input_ids_seq_length doesn't exist in the GenerationConfig, it exists as local variable in the function. Setting exponential_decay_length_penalty therefore results in an error: `AttributeError: 'GenerationConfig' object has no attribute 'input_ids_seq_length'` This simple change fixes this issue, and the exponential_decay_length_penalty works as expected.
-
Steven Liu authored
fix formatting
-
Yih-Dar authored
* fix Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Yih-Dar authored
* Allow to add more information * fix style --------- Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Younes Belkada authored
* force `memory_efficient_backward=True` * enhancements - trainer support - add new flag * some changes - internal changes in `Trainer` - small refactor * make quality * Fixes - add new testing util - add new test - change test in Trainer * fix CI test * educate users on how to ft 8bit models * more checks * fix `logger` error * Apply suggestions from code review Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * adapt from review * fix * add comment * use return instead --------- Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
Cl茅mentine Fourrier authored
* [FIX] path for Graphormer checkpoint * [FIX] Test suite for graphormer * [FIX] Update graphormer default num_classes
-
Joel Lamy-Poirier authored
* gelu_python_tanh * rename * Version check, add test * Pr comment
-
Matt authored
* Add distinct section names for PyTorch and TF * Remove extra space
-
Shikhar Tuli authored
Co-authored-by:Shreshth Tuli <shreshthtuli@gmail.com>
-
Yih-Dar authored
Use torch 1.13.1 in push/scheduled CI Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
- 01 Feb, 2023 7 commits
-
-
Joao Gante authored
-
amyeroberts authored
* TF image classification script * Update requirements * Fix up * Add tests * Update test fetcher Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Fix directory path * Adding `zero-shot-object-detection` pipeline doctest. (#20274) * Adding `zero-shot-object-detection` pipeline doctest. * Remove nested_simplify. * Add generate kwargs to `AutomaticSpeechRecognitionPipeline` (#20952) * Add generate kwargs to AutomaticSpeechRecognitionPipeline * Add test for generation kwargs * Trigger CI * Data collator returns np * Update feature extractor -> image processor * Bug fixes - updates to reflect changes in API * Update flags to match PT & run faster * Update instructions - Maria's comment * Update examples/tensorflow/image-classification/README.md * Remove slow decorator --------- Co-authored-by:
Nicolas Patry <patry.nicolas@protonmail.com> Co-authored-by:
bofeng huang <bofenghuang7@gmail.com> Co-authored-by:
Sylvain Gugger <Sylvain.gugger@gmail.com>
-
Jinen Setpal authored
* integrated logger * bugifx * added data * bugfix * model + state artifacts should log * fixed paths * i lied, trying again * updated function call * typo this is painful :( what a stupid error * typo this is painful :( what a stupid error * pivoted to adding a directory * silly path bug * multiple experiments * migrated to getattr * syntax fix * syntax fix * fixed repo pointer * fixed path error * added dataset if dataloader is present, uploaded artifacts * variable in scope * removed unnecessary line * updated error type Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * trimmed unused variables, imports * style formatting * removed type conversion reliance Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * reverted accidental line deletion --------- Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
Sylvain Gugger authored
* Skip batches fast with Accelerate * remove debug statement * Hack seed reload at the right time * Reorganize RNG sync * Fix accelerate version comp
-
raghavanone authored
* Fix the input embeds issue with tests * Fix black and isort issue * Clean up tests * Add slow tag to the test introduced * Incorporate PR feedbacks
-
Maria Khalusova authored
moved LiLT under multimodal models
-
Patrick von Platen authored
* Bump onnx in /examples/research_projects/decision_transformer Bumps [onnx](https://github.com/onnx/onnx) from 1.11.0 to 1.13.0. - [Release notes](https://github.com/onnx/onnx/releases) - [Changelog](https://github.com/onnx/onnx/blob/main/docs/Changelog.md) - [Commits](https://github.com/onnx/onnx/compare/v1.11.0...v1.13.0 ) --- updated-dependencies: - dependency-name: onnx dependency-type: direct:production ... Signed-off-by:
dependabot[bot] <support@github.com> * adapt * finish * Update examples/research_projects/decision_transformer/requirements.txt * up * add tests * Apply suggestions from code review Co-authored-by:
Lucain <lucainp@gmail.com> Co-authored-by:
Pedro Cuenca <pedro@huggingface.co> * fix test --------- Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by:
Lucain <lucainp@gmail.com> Co-authored-by:
Pedro Cuenca <pedro@huggingface.co>
-
- 31 Jan, 2023 10 commits
-
-
Yih-Dar authored
* fix Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Joao Gante authored
Generate: fix TF XLA tests on models with `max_position_embeddings` or `max_target_positions` (#21389)
-
Yih-Dar authored
* remove unused classifier_dropout * remove unused dropout * remove unused pooler_fn * remove unnecessary is_encoder_decoder * remove unnecessary drop_rate * remove unused classifier_dropout * remove unused classifier_dropout * remove unused dropout * remove unused dropout * remove unused summary_* attributes * remove unused tie_word_embeddings * remove unused summary_* attributes * fix --------- Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
raghavanone authored
* Add support of backward_prefetch and forward_prefetch * Fix format issue * Fix isort issue * Fix doc style issue * Update src/transformers/trainer.py Co-authored-by:
Sourab Mangrulkar <13534540+pacman100@users.noreply.github.com> * Update src/transformers/training_args.py Co-authored-by:
Sourab Mangrulkar <13534540+pacman100@users.noreply.github.com> * Update src/transformers/training_args.py Co-authored-by:
Sourab Mangrulkar <13534540+pacman100@users.noreply.github.com> * Update src/transformers/training_args.py Co-authored-by:
Sourab Mangrulkar <13534540+pacman100@users.noreply.github.com> * Fix black issue * Fix doc-style issue * Make additional fsdp parameters into fsdp config * Fix black issue * Remove unused imports * Fix doc style issues * Incorporate PR feedbacks * Remove unused imports * Fix tests * Fix tests * Fix tests * Fix tests * Fix tests * Update src/transformers/training_args.py Co-authored-by:
Sourab Mangrulkar <13534540+pacman100@users.noreply.github.com> * Fix tests * Incorporate PR feedbacks * Incorporate PR feedbacks * Fix black issues --------- Co-authored-by:
Sourab Mangrulkar <13534540+pacman100@users.noreply.github.com>
-
Quentin Lhoest authored
* simplify column_names in run_clm * simplify column_names in run_mlm * minor
-
NielsRogge authored
* Improve docs * Add DETA resources --------- Co-authored-by:Niels Rogge <nielsrogge@Nielss-MacBook-Pro.local>
-
regisss authored
Do not log the generation config for each iteration
-
Yih-Dar authored
* fix * fix * make style * For CLIP * For OwlViT * For XCLIP * For CLIPSeg * For GroupViT * fix docstrings * fix docstrings * For AltCLIP * For ChineseCLIP * For Blip * For GiT * make style * update * update * update * fix * fix * fix --------- Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Joao Gante authored
-
NielsRogge authored
* First draft * Add initial draft of conversion script * Convert all weights * Fix config * Add image processor * Fix DetaImageProcessor * Run make fix copies * Remove timm dependency * Fix dummy objects * Improve loss function * Remove conv_encoder attribute * Update conversion scripts * Improve postprocessing + docs * Fix copied from statements * Add tests * Improve postprocessing * Improve postprocessing * Update READMEs * More improvements * Fix rebase * Add is_torchvision_available * Add torchvision dependency * Fix typo and README * Fix bug * Add copied from * Fix style * Apply suggestions * Fix thanks to @ydshieh * Fix another dependency check * Simplify image processor * Add scipy * Improve code * Add threshold argument * Fix bug * Set default threshold * Improve integration test * Add another integration test * Update setup.py * Address review * Improve deformable attention function * Improve copied from * Use relative imports * Address review * Replace assertions * Address review * Update dummies * Remove dummies * Address comments, update READMEs * Remove custom kernel code * Add image processor tests * Add requires_backends * Add minor comment * Update scripts * Update organization name * Fix defaults, add doc tests * Add id2label for object 365 * Fix tests * Update task guide
-
- 30 Jan, 2023 7 commits
-
-
Stas Bekman authored
* [run_clm example] add streaming dataset support * unrefactor kwargs * fix * fix * require datasets>=2.0.0 * port to mlm
-
BFSS authored
translate index to zh Co-authored-by:bfss <bfss@bfss.com>
-
Adit Krishnan authored
* Added resource section to GPT-J docs * Added most of the links found * Addressing review comments * Fixing formatting * Update docs/source/en/model_doc/gptj.mdx Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * Fixing one of the labels --------- Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com>
-
Cl茅mentine Fourrier authored
[FIX] path for Graphormer checkpoint
-
Joao Gante authored
Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
Sylvain Gugger authored
-
amyeroberts authored
* Fix annotation check * Fix annotation check * Update type annotations
-