- 03 Nov, 2022 1 commit
-
-
Sylvain Gugger authored
* Only resize embeddings when necessary * Add comment
-
- 01 Nov, 2022 1 commit
-
-
Sylvain Gugger authored
-
- 10 Oct, 2022 1 commit
-
-
Lysandre 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
-
- 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 ?!?
-
- 01 Sep, 2022 1 commit
-
-
Sylvain Gugger authored
-
- 25 Aug, 2022 1 commit
-
-
Rahul A R authored
-
- 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
-
- 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 1 commit
-
-
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
-
- 06 Aug, 2022 1 commit
-
-
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`
-
- 03 Aug, 2022 1 commit
-
-
Ritik Nandwal authored
* Update no_trainer script for image-classification * Update no_trainer scripts for language-modeling examples * Remove unused variable * Removing truncation from losses array for language modeling examples
-
- 01 Aug, 2022 2 commits
-
-
Sylvain Gugger authored
* Fix ROUGE add example check and update README * Stay consistent in values
-
atturaioe authored
* Migrate metric to Evaluate in pytorch examples * Remove unused imports
-
- 27 Jul, 2022 1 commit
-
-
Lysandre authored
-
- 23 Jun, 2022 1 commit
-
-
Zachary Mueller authored
Properly calculate the total train iterations and recalculate num epochs in no_trainer scripts (#17856)
-
- 16 Jun, 2022 1 commit
-
-
Sylvain Gugger authored
-
- 07 Jun, 2022 1 commit
-
-
Sylvain Gugger authored
* Add examples telemetry * Alternative approach * Add to all other examples * Add to templates as well * Put framework separately * Same for TensorFlow
-
- 27 May, 2022 1 commit
-
-
Sourab Mangrulkar authored
* improve no-trainer examples * Trigger CI * adding comment to clarify tracker init on main process * Trigger CI * Trigger CI * Trigger CI
-
- 12 May, 2022 2 commits
-
-
Sylvain Gugger authored
* Black preview * Fixup too! * Fix check copies * Use the same version as the CI * Bump black
-
Lysandre Debut authored
-
- 02 May, 2022 2 commits
-
-
Zachary Mueller authored
* Update all examples to properly calculate progress bar
-
Zachary Mueller authored
* Propagate and fix imports
-
- 27 Apr, 2022 2 commits
-
-
Zachary Mueller authored
* Fixup all examples
-
Sylvain Gugger authored
* Fix multiple deletions of the same files in save_pretrained * Add is_main_process argument
-
- 13 Apr, 2022 1 commit
-
-
Zachary Mueller authored
* Change tracking to store_true * Remove step param and use it in the log dictionary directly * use vars(args) when passing args to init_trackers * Include tracking tests since tensorboard is already a dep
-
- 11 Apr, 2022 1 commit
-
-
Zachary Mueller authored
Adds checkpoint prefixes to the gitignore if `push_to_hub` is used along with `checkpointint_steps`
-
- 08 Apr, 2022 1 commit
-
-
Zachary Mueller authored
* Fixed some bugs involving saving during epochs * Added tests mimicking the existing examples tests * Added in json exporting to all `no_trainer` examples for consistency
-
- 06 Apr, 2022 2 commits
-
-
Zachary Mueller authored
Adds logging and save/loading to the Accelerate scripts Co-authored-by:Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
Lysandre Debut authored
-
- 04 Apr, 2022 1 commit
-
-
Karim Foda authored
* fix formatting and remove use_auth * Add use_auth_token to Flax examples
-
- 30 Mar, 2022 1 commit
-
-
Stas Bekman authored
* [examples] max samples can't be bigger than then len of dataset * do tf and flax
-
- 23 Mar, 2022 2 commits
-
-
Sylvain Gugger authored
* Split file_utils in several submodules * Fixes * Add back more objects * More fixes * Who exactly decided to import that from there? * Second suggestion to code with code review * Revert wront move * Fix imports * Adapt all imports * Adapt all imports everywhere * Revert this import, will fix in a separate commit
-
Lysandre Debut authored
* Updates the default branch from master to main * Links from `master` to `main` * Typo * Update examples/flax/README.md Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
- 10 Mar, 2022 1 commit
-
-
Sylvain Gugger authored
-
- 03 Mar, 2022 1 commit
-
-
davidleonfdez authored
-