1. 27 Jul, 2022 2 commits
    • Sanchit Gandhi's avatar
      [Flax] Fix incomplete batches in example scripts (#17863) · 7490a97c
      Sanchit Gandhi authored
      * [Flax] Fix incomplete batches in example scripts
      
      * fix dataloader batching
      
      * convert jnp batch idxs to np array
      
      * add missing `pad_shard_unpad` to final prediction generate step
      
      * only `pad_shard_unpad` at inference time
      
      * merge conflicts
      
      * remove incomplete batch step from eval
      
      * fix run_qa.py
      
      * add `pad_shard_unpad` to run_flax_ner.py
      
      * add `pad_shard_unpad` to run_flax_glue.py
      
      * add `pad_shard_unpad` to run_image_classification.py
      
      * make style
      
      * fix mlm flax eval batches
      
      * remove redundant imports
      7490a97c
    • Duong A. Nguyen's avatar
      Generalize decay_mask_fn to apply mask to all LayerNorm params (#18273) · 170fcaa6
      Duong A. Nguyen authored
      * generalize decay_mask_fn to find all layernorm params
      
      * fixup
      
      * generalising decay_mask_fn
      170fcaa6
  2. 19 Jul, 2022 1 commit
  3. 11 Jul, 2022 1 commit
  4. 16 Jun, 2022 1 commit
  5. 07 Jun, 2022 1 commit
    • Sylvain Gugger's avatar
      Add examples telemetry (#17552) · 3cab9027
      Sylvain Gugger authored
      * Add examples telemetry
      
      * Alternative approach
      
      * Add to all other examples
      
      * Add to templates as well
      
      * Put framework separately
      
      * Same for TensorFlow
      3cab9027
  6. 12 May, 2022 2 commits
  7. 27 Apr, 2022 1 commit
    • Leonid Boytsov's avatar
      Misc. fixes for Pytorch QA examples: (#16958) · c82e017a
      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.
      c82e017a
  8. 19 Apr, 2022 1 commit
  9. 11 Apr, 2022 2 commits
  10. 06 Apr, 2022 1 commit
  11. 04 Apr, 2022 1 commit
  12. 30 Mar, 2022 1 commit
  13. 28 Mar, 2022 1 commit
  14. 25 Mar, 2022 1 commit
  15. 23 Mar, 2022 2 commits
  16. 08 Mar, 2022 1 commit
  17. 04 Mar, 2022 1 commit
  18. 03 Mar, 2022 1 commit
  19. 23 Feb, 2022 1 commit
  20. 01 Feb, 2022 2 commits
  21. 31 Jan, 2022 1 commit
  22. 27 Jan, 2022 2 commits
  23. 19 Jan, 2022 1 commit
    • Kamal Raj's avatar
      [FLAX] glue training example refactor (#13815) · d1f5ca1a
      Kamal Raj authored
      * refactor run_flax_glue.py
      
      * updated readme
      
      * rm unused import and args typo fix
      
      * refactor
      
      * make consistent arg name across task
      
      * has_tensorboard check
      
      * argparse -> argument dataclasses
      
      * refactor according to review
      
      * fix
      d1f5ca1a
  24. 13 Jan, 2022 1 commit
  25. 06 Jan, 2022 1 commit
  26. 22 Dec, 2021 2 commits
  27. 15 Dec, 2021 3 commits
  28. 14 Dec, 2021 1 commit
  29. 12 Dec, 2021 1 commit
  30. 09 Dec, 2021 2 commits