1. 10 Oct, 2022 1 commit
  2. 14 Sep, 2022 1 commit
  3. 06 Aug, 2022 1 commit
  4. 28 Jul, 2022 1 commit
  5. 27 Jul, 2022 3 commits
    • Lysandre's avatar
      Dev version · c89a592e
      Lysandre authored
      c89a592e
    • 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
  6. 16 Jun, 2022 1 commit
  7. 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
  8. 12 May, 2022 2 commits
  9. 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
  10. 06 Apr, 2022 1 commit
  11. 04 Apr, 2022 1 commit
  12. 30 Mar, 2022 1 commit
  13. 23 Mar, 2022 2 commits
  14. 03 Mar, 2022 1 commit
  15. 01 Feb, 2022 1 commit
  16. 27 Jan, 2022 2 commits
  17. 22 Dec, 2021 2 commits
  18. 15 Dec, 2021 2 commits
  19. 12 Dec, 2021 1 commit
  20. 09 Dec, 2021 2 commits
  21. 06 Dec, 2021 2 commits
    • Suraj Patil's avatar
      fix flax examples tests (#14646) · 75ae287a
      Suraj Patil authored
      * make tensorboard optional
      
      * update test_fetcher for flax examples
      
      * make the tests slow
      75ae287a
    • Suraj Patil's avatar
      Add Flax example tests (#14599) · c5bd732a
      Suraj Patil authored
      * add test for glue
      
      * add tests for clm
      
      * fix clm test
      
      * add summrization tests
      
      * more tests
      
      * fix few tests
      
      * add test for t5 mlm
      
      * fix t5 mlm test
      
      * fix tests for multi device
      
      * cleanup
      
      * ci job
      
      * fix metric file name
      
      * make t5 more robust
      c5bd732a
  22. 09 Nov, 2021 1 commit
  23. 28 Oct, 2021 2 commits
  24. 07 Oct, 2021 1 commit
  25. 30 Sep, 2021 1 commit
    • Suraj Patil's avatar
      [examples/flax] use Repository API for push_to_hub (#13672) · 7db2a79b
      Suraj Patil authored
      * use Repository for push_to_hub
      
      * update readme
      
      * update other flax scripts
      
      * update readme
      
      * update qa example
      
      * fix push_to_hub call
      
      * fix typo
      
      * fix more typos
      
      * update readme
      
      * use abosolute path to get repo name
      
      * fix glue script
      7db2a79b
  26. 27 Sep, 2021 2 commits
  27. 21 Sep, 2021 1 commit
    • Kamal Raj's avatar
      [FLAX] Question Answering Example (#13649) · 78807d86
      Kamal Raj authored
      * flax qa example
      
      * Updated README:  Added Large model
      
      * added utils_qa.py FULL_COPIES
      
      * Updates:
      1. Copyright Year updated
      2. added dtype arg
      3. passing seed and dtype to load model
      4. Check eval flag before running eval
      
      * updated README
      
      * updated code comment
      78807d86