- 12 May, 2022 1 commit
-
-
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 2 commits
-
-
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
-
NielsRogge authored
* Add first draft from previous PR * First draft * Improve README and remove num_labels * Make script more aligned with other scripts * Improve README and apply suggestion from code review
-
- 15 Apr, 2022 1 commit
-
-
NielsRogge authored
-
- 14 Apr, 2022 1 commit
-
-
NielsRogge authored
* Improve README * Make dataset_name argument optional * Improve local data * Fix bug * Improve README some more * Apply suggestions from code review * Improve README Co-authored-by:Niels Rogge <nielsrogge@Nielss-MacBook-Pro.local>
-
- 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
-
- 12 Apr, 2022 1 commit
-
-
Heerak Son authored
args.model_name_or_path -> args.config_name fix it
-
- 11 Apr, 2022 2 commits
-
-
Zachary Mueller authored
Move declaration of log streams to before tests, so that results won't get compounded on top of each other
-
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
-
- 31 Mar, 2022 1 commit
-
-
Bhadresh Savani authored
-
- 30 Mar, 2022 1 commit
-
-
Stas Bekman authored
* [examples] max samples can't be bigger than then len of dataset * do tf and flax
-
- 29 Mar, 2022 2 commits
-
-
Sylvain Gugger authored
-
Eldar Kurtic authored
* Prevent overwriting matched with mismatched metrics * Fix style
-
- 25 Mar, 2022 2 commits
-
-
Sylvain Gugger authored
-
Sylvain Gugger authored
* Big file_utils cleanup * This one still needs to be treated separately
-
- 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
-
- 09 Mar, 2022 2 commits
-
-
Shotaro Ishihara authored
at transformers/examples/pytorch/contrastive-image-text
-
Joao Gante authored
-
- 03 Mar, 2022 2 commits
-
-
davidleonfdez authored
-
Sylvain Gugger authored
-
- 25 Feb, 2022 1 commit
-
-
Suraj Patil authored
-
- 23 Feb, 2022 1 commit
-
-
Lysandre Debut authored
* Per-folder tests reorganization Co-authored-by:
sgugger <sylvain.gugger@gmail.com> Co-authored-by:
Stas Bekman <stas@stason.org>
-
- 22 Feb, 2022 1 commit
-
-
Yongrae Jo authored
cna -> can
-