1. 29 Jan, 2024 1 commit
  2. 17 Nov, 2023 1 commit
  3. 27 Oct, 2023 1 commit
  4. 12 Oct, 2023 1 commit
  5. 22 Sep, 2023 1 commit
  6. 11 Sep, 2023 2 commits
  7. 07 Aug, 2023 1 commit
    • Jackmin801's avatar
      Allow `trust_remote_code` in example scripts (#25248) · 14510938
      Jackmin801 authored
      * pytorch examples
      
      * pytorch mim no trainer
      
      * cookiecutter
      
      * flax examples
      
      * missed line in pytorch run_glue
      
      * tensorflow examples
      
      * tensorflow run_clip
      
      * tensorflow run_mlm
      
      * tensorflow run_ner
      
      * tensorflow run_clm
      
      * pytorch example from_configs
      
      * pytorch no trainer examples
      
      * Revert "tensorflow run_clip"
      
      This reverts commit 261f86ac1f1c9e05dd3fd0291e1a1f8e573781d5.
      
      * fix: duplicated argument
      14510938
  8. 02 Aug, 2023 1 commit
  9. 28 Jul, 2023 2 commits
  10. 22 Feb, 2023 1 commit
  11. 06 Feb, 2023 1 commit
    • Sylvain Gugger's avatar
      Update quality tooling for formatting (#21480) · 6f79d264
      Sylvain Gugger authored
      * Result of black 23.1
      
      * Update target to Python 3.7
      
      * Switch flake8 to ruff
      
      * Configure isort
      
      * Configure isort
      
      * Apply isort with line limit
      
      * Put the right black version
      
      * adapt black in check copies
      
      * Fix copies
      6f79d264
  12. 18 Jan, 2023 1 commit
  13. 13 Oct, 2022 1 commit
  14. 09 Sep, 2022 1 commit
  15. 14 Aug, 2022 1 commit
    • Karim Foda's avatar
      Flax Remat for LongT5 (#17994) · d6eeb871
      Karim Foda authored
      
      
      * [Flax] Add remat (gradient checkpointing)
      
      * fix variable naming in test
      
      * flip: checkpoint using a method
      
      * fix naming
      
      * fix class naming
      
      * apply PVP's suggestions from code review
      
      * add gradient_checkpointing to examples
      
      * Add gradient_checkpointing to run_mlm_flax
      
      * Add remat to longt5
      
      * Add gradient checkpointing test longt5
      
      * Fix args errors
      
      * Fix remaining tests
      
      * Make fixup & quality fixes
      
      * replace kwargs
      
      * remove unecessary kwargs
      
      * Make fixup changes
      
      * revert long_t5_flax changes
      
      * Remove return_dict and copy to LongT5
      
      * Remove test_gradient_checkpointing
      Co-authored-by: default avatarsanchit-gandhi <sanchit@huggingface.co>
      d6eeb871
  16. 06 Aug, 2022 1 commit
  17. 01 Aug, 2022 1 commit
  18. 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
  19. 19 Jul, 2022 1 commit
  20. 11 Jul, 2022 1 commit
  21. 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
  22. 12 May, 2022 1 commit
  23. 04 Apr, 2022 1 commit
  24. 23 Mar, 2022 1 commit
    • Sylvain Gugger's avatar
      Reorganize file utils (#16264) · 4975002d
      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
      4975002d
  25. 13 Jan, 2022 1 commit
  26. 12 Dec, 2021 1 commit
  27. 06 Dec, 2021 2 commits
  28. 22 Nov, 2021 1 commit
  29. 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
  30. 09 Aug, 2021 1 commit
  31. 20 Jul, 2021 1 commit
  32. 09 Jul, 2021 1 commit
  33. 08 Jul, 2021 1 commit
  34. 07 Jul, 2021 2 commits
  35. 06 Jul, 2021 1 commit