- 01 Aug, 2022 3 commits
-
-
Sylvain Gugger authored
* Fix ROUGE add example check and update README * Stay consistent in values
-
Ogundepo Odunayo authored
-
atturaioe authored
* Migrate metric to Evaluate in pytorch examples * Remove unused imports
-
- 29 Jul, 2022 1 commit
-
-
Sylvain Gugger authored
* Preliminary work on tokenizers * Quality + fix tests * Treat processors * Fix pad * Remove all uses of in tests, docs and examples * Replace all as_target_tokenizer * Fix tests * Fix quality * Update examples/flax/image-captioning/run_image_captioning_flax.py Co-authored-by:
amyeroberts <amy@huggingface.co> * Style Co-authored-by:
amyeroberts <amy@huggingface.co>
-
- 27 Jul, 2022 1 commit
-
-
Lysandre authored
-
- 21 Jul, 2022 1 commit
-
-
Zachary Mueller authored
* Fix all tests
-
- 18 Jul, 2022 2 commits
-
-
John Giorgi authored
-
John Giorgi authored
-
- 13 Jul, 2022 1 commit
-
-
John Giorgi authored
* Add summarization name mapping for MultiNews * Add summarization name mapping for MultiNews
-
- 11 Jul, 2022 1 commit
-
-
Yulv-git authored
* Fix some typos. Signed-off-by:
Yulv-git <yulvchi@qq.com> * Fix typo. Signed-off-by:
Yulv-git <yulvchi@qq.com> * make fixup.
-
- 06 Jul, 2022 1 commit
-
-
ADAning authored
* Add ALL_LAYERNORM_LAYERS for LayerNorm * fix bug of appending layer norm
-
- 29 Jun, 2022 1 commit
-
-
Zachary Mueller authored
* Fix all is_torch_tpu_available
-
- 28 Jun, 2022 1 commit
-
-
Sylvain Gugger authored
-
- 23 Jun, 2022 2 commits
-
-
Zachary Mueller authored
Properly calculate the total train iterations and recalculate num epochs in no_trainer scripts (#17856)
-
Zachary Mueller authored
* Adjust test arguments and use a new example test
-
- 22 Jun, 2022 1 commit
-
-
Eran Hirsch authored
Add logits_processor parameter, used by `generate`, to `Seq2SeqTrainer` methods `evaluate` and `predict` (#17805) * Add logits_processor parameter, used by `generate`, to `Seq2SeqTrainer` methods `evaluate` and `predict` * Add all generate parameters to `Seq2SeqTrainer`, and also to `QuestionAnsweringSeq2SeqTrainer` which overrides it * Remove `self._num_beams` from trainer classes * - Run fixup - Fix "Constraint" not exposed - Fix synced_gpus to actually read from param * Use kwargs * Copy kwargs before making changes to it * Fix style issues unused imports
-
- 16 Jun, 2022 1 commit
-
-
Sylvain Gugger authored
-
- 15 Jun, 2022 1 commit
-
-
Jeff Rasley 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
-
- 03 Jun, 2022 1 commit
-
-
bhuang authored
-
- 01 Jun, 2022 2 commits
-
-
Zachary Mueller authored
-
fireindark707 authored
-
- 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
-
- 25 May, 2022 1 commit
-
-
Patrick von Platen authored
* fix_torch_device_generate_test * remove @ * [Fix shared file system] Co-authored-by:Patrick von Platen <patrick@huggingface.co>
-
- 18 May, 2022 1 commit
-
-
Zachary Mueller authored
Fix metric calculation in examples and setup tests to run on multi-gpu for no_trainer scripts (#17331) * Fix length in no_trainer examples * Add setup and teardown * Use new accelerator config generator to automatically make tests able to run based on environment
-
- 17 May, 2022 1 commit
-
-
regisss authored
- Add --ignore_mismatched_sizes argument to classification examples - Expand the error message when loading a model whose head dimensions are different from expected dimensions
-
- 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
-
- 09 May, 2022 1 commit
-
-
Zachary Mueller authored
-
- 04 May, 2022 1 commit
-
-
Zachary Mueller authored
-
- 02 May, 2022 3 commits
-
-
Zachary Mueller authored
* Update all examples to properly calculate progress bar
-
Zachary Mueller authored
* Propagate and fix imports
-
yujun authored
* add torch.no_grad when in eval mode * make style quality
-
- 28 Apr, 2022 1 commit
-
-
Zachary Mueller authored
-
- 27 Apr, 2022 4 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
-
Leonid Boytsov authored
1. Fixes evaluation errors popping up when you train/eval on squad v2 (one was newly encountered and one that was previously reported Running SQuAD 1.0 sample command raises IndexError #15401 but not completely fixed). 2. Removes boolean arguments that don't use store_true. Please, don't use these: *ANY non-empty string is being converted to True in this case and this clearly is not the desired behavior (and it creates a LOT of confusion). 3. All no-trainer test scripts are now saving metric values in the same way (with the right prefix eval_), which is consistent with the trainer-based versions. 4. Adds forgotten model.eval() in the no-trainer versions. This improved some results, but not everything (see the discussion in the end). Please, see the F1 scores and the discussion below.
-
NielsRogge authored
* Add first draft * Improve script and README * Improve README * Apply suggestions from code review * Improve script, add link to resulting model * Add corresponding test * Adjust learning rate
-
- 20 Apr, 2022 1 commit
-
-
Zachary Mueller authored
-
- 19 Apr, 2022 1 commit
-
-
NielsRogge authored
* Add first draft * Improve README and run fixup * Make script aligned with other scripts, improve README * Improve script and add test * Remove print statement * Apply suggestions from code review * Add num_labels to make test pass * Improve README
-