"docs/vscode:/vscode.git/clone" did not exist on "f4eb459ef25c62c4cc9edde38052da1980977872"
- 02 Nov, 2022 1 commit
-
-
amyeroberts authored
* Add CLIP image processor * Crop size as dict too * Update warning * Actually use logger this time * Normalize doesn't change dtype of input * Add perceiver image processor * Tidy up * Add DPT image processor * Add Vilt image processor * Tidy up * Add poolformer image processor * Tidy up * Add LayoutLM v2 and v3 imsge processors * Tidy up * Add Flava image processor * Tidy up * Add deit image processor * Tidy up * Add ConvNext image processor * Tidy up * Add levit image processor * Add segformer image processor * Add in post processing * Fix up * Add ImageGPT image processor * Fixup * Add mobilevit image processor * Tidy up * Add postprocessing * Fixup * Add VideoMAE image processor * Tidy up * Add ImageGPT image processor * Fixup * Add ViT image processor * Tidy up * Add beit image processor * Add mobilevit image processor * Tidy up * Add postprocessing * Fixup * Fix up * Fix flava and remove tree module * Fix image classification pipeline failing tests * Update feature extractor in trainer scripts * Update pad_if_smaller to accept tuple and int size * Update for image segmentation pipeline * Update src/transformers/models/perceiver/image_processing_perceiver.py Co-authored-by:
Alara Dirik <8944735+alaradirik@users.noreply.github.com> * Update src/transformers/image_processing_utils.py Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com> * Update src/transformers/models/beit/image_processing_beit.py Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com> * PR comments - docstrings; remove accidentally added resize; var names * Update docstrings * Add exception if size is not in the right format * Fix exception check * Fix up * Use shortest_edge in tuple in script Co-authored-by:
Alara Dirik <8944735+alaradirik@users.noreply.github.com> Co-authored-by:
NielsRogge <48327001+NielsRogge@users.noreply.github.com>
-
- 01 Nov, 2022 1 commit
-
-
Sylvain Gugger authored
-
- 31 Oct, 2022 1 commit
-
-
Sanchit Gandhi authored
-
- 26 Oct, 2022 1 commit
-
-
regisss authored
-
- 19 Oct, 2022 1 commit
-
-
GMFTBY authored
Adding the state-of-the-art contrastive search decoding methods for the codebase of generation_utils.py (#19477) * add: the contrastive search for generaton_utils * add: testing scripts for contrastive search under examples/text-generation * update the quality of codes * revise the docstring; make the generation_contrastive_search.py scripts; * revise the examples/pytorch/text-generation/run_generation_contrastive_search.py to the auto-APIs format * revise the necessary documents * fix: revise the docstring of generation_contrastive_search.py * Fix the code indentation * fix: revise the nits and examples in contrastive_search docstring. * fix the copyright * delete generation_contrastive_search.py * revise the logic in contrastive_search * update the intergration test and the docstring * run the tests over * add the slow decorate to the contrastive_search intergrate test * add more test * do the style, quality, consistency checks
-
- 18 Oct, 2022 1 commit
-
-
amyeroberts authored
-
- 17 Oct, 2022 1 commit
-
-
Yifan Yang authored
* [Examples] make default preprocessing_num_workers=1 * [Examples] revert changes in research projects
-
- 12 Oct, 2022 3 commits
-
-
Sanchit Gandhi authored
-
FilipposVentirozos authored
* fixed typo for SQuAD * Fixed the preprocess_validation_function function for the labels to reflect the remaining truncated instances * Rolled back the trainer_seq2seq_qa.py for UnboundLocalError: local variable 'metrics' referenced before assignment Co-authored-by:Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
regisss authored
* Add multi-node conditions in trainer_qa.py and trainer_seq2seq.py * Code improvement
-
- 10 Oct, 2022 2 commits
- 07 Oct, 2022 1 commit
-
-
ddobokki authored
* edit: casting attention_mask to long in DataCollatorCTCWithPadding * edit: casting attention_mask to long in DataCollatorCTCWithPadding
-
- 05 Oct, 2022 1 commit
-
-
Zachary Mueller authored
-
- 03 Oct, 2022 1 commit
-
-
Divyanshu Kumar authored
* Update no_trainer script for summarization * removed unnecessary import * fixes notation mistake * removed: unused variable
-
- 28 Sep, 2022 2 commits
-
-
Sylvain Gugger authored
-
Tatsuki Okada authored
* fix args option * fix trainer eval log * fix out of memory qa script * do isort, black, flake * fix tokenize target * take it back. * fix: comment
-
- 26 Sep, 2022 1 commit
-
-
Sylvain Gugger authored
* Use repo_type instead of deprecated datasets repo IDs * Add missing one in doc
-
- 23 Sep, 2022 1 commit
-
-
Enze authored
The overwrite_cache parameter is declared twice.
-
- 21 Sep, 2022 1 commit
-
-
Leandro von Werra authored
-
- 20 Sep, 2022 1 commit
-
-
Santiago Castro authored
-
- 14 Sep, 2022 1 commit
-
-
Lysandre authored
-
- 13 Sep, 2022 1 commit
-
-
Rahul A R authored
* fixed bug which caused overwrite_cache to always be True (#18967). * reformatting changes
-
- 09 Sep, 2022 1 commit
-
-
Rafa艂 Jankowski authored
* NeptuneCallback improvements * After review suggestions and deduplication of initial run * Added volatile checkpoints support due to missing post-rebase commit * Update README per review comments - Remove list formatting - Correct Neptune docs link Co-authored-by:Sabine <sabine.nyholm@neptune.ai>
-
- 07 Sep, 2022 1 commit
-
-
Nicholas Broad authored
* add accelerator.end_training() Some trackers need this to end their runs. * fixup and quality * add space * add space again ?!?
-
- 06 Sep, 2022 1 commit
-
-
arun99481 authored
Co-authored-by:Arun Rajaram <arunrajaram@Aruns-MacBook-Pro.local>
-
- 01 Sep, 2022 1 commit
-
-
Sylvain Gugger authored
-
- 25 Aug, 2022 1 commit
-
-
Rahul A R authored
-
- 24 Aug, 2022 1 commit
-
-
Rahul A R authored
* fixed incorrect param to hasattr * simplified condition checks * code cleanup
-
- 22 Aug, 2022 1 commit
-
-
Atharva Ingle authored
-
- 18 Aug, 2022 2 commits
-
-
Atharva Ingle authored
* `model.tie_weights()` should be applied after `accelerator.prepare` Weight tying should be done after the model has been moved to XLA device as mentioned on PyTorch/XLA Troubleshooting guide [here](https://github.com/pytorch/xla/blob/master/TROUBLESHOOTING.md#xla-tensor-quirks) * format code
-
Zachary Mueller authored
-
- 17 Aug, 2022 1 commit
-
-
Stefan Schweter authored
* examples: add Bloom support for token classification (FLAX, PyTorch and TensorFlow) * examples: remove support for Bloom in token classication (FLAX and TensorFlow currently have no support for it)
-
- 16 Aug, 2022 1 commit
-
-
zhoutang776 authored
* Update run_translation_no_trainer.py found an error in selecting `no_decay` parameters and some small modifications when the user continues to train from a checkpoint * fixs `no_decay` and `resume_step` issue 1. change `no_decay` list 2. if use continue to train their model from provided checkpoint, the `resume_step` will not be initialized properly if `args.gradient_accumulation_steps != 1`
-
- 08 Aug, 2022 3 commits
-
-
Rasmus Arpe Fogh Jensen authored
* Added accelerate gradient accumulation wrapper to run_image_classification_no_trainer.py example script * make fixup changes * PR comments * changed input to Acceletor based on PR comment, ran make fixup * Added comment explaining the sync_gradients statement * Fixed lr scheduler max steps * Changed run_clm_no_trainer.py script to use accelerate gradient accum wrapper * Fixed all scripts except wav2vec2 pretraining to use accelerate gradient accum wrapper * Added accelerate gradient accum wrapper for wav2vec2_pretraining_no_trainer.py script * make fixup and lr_scheduler step inserted back into run_qa_beam_search_no_trainer.py * removed changes to run_wav2vec2_pretraining_no_trainer.py script and fixed using wrong constant in qa_beam_search_no_trainer.py script
-
Sylvain Gugger authored
* Fix compatibility with 1.12 * Remove pin from examples requirements * Update torch scatter version * Fix compatibility with 1.12 * Remove pin from examples requirements * Update torch scatter version * fix torch.onnx.symbolic_opset12 import * Reject bad version Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
regisss authored
-
- 06 Aug, 2022 2 commits
-
-
Julien Chaumond authored
* zero chance anyone's using that constant no? * `transformers-cli login` => `huggingface-cli login` * `transformers-cli repo create` => `huggingface-cli repo create` * `make style`
-
Julien Chaumond authored
* Delete valohai.yaml * NLP => ML * typo * website supports https * datasets * 60k + modalities * unrelated link fixing for accelerate * Ok those links were actually broken * Fix link * Make `AutoTokenizer` auto-link * wording tweak * add at least one non-nlp task
-
- 04 Aug, 2022 1 commit
-
-
Kian Sierra McGettigan authored
* swag_no_trainer updated for with gather_metrics * Removed unused variable samples_seen * updated examples with gather_for_metrics
-