1. 27 Oct, 2023 1 commit
  2. 12 Oct, 2023 1 commit
  3. 10 Oct, 2023 1 commit
  4. 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
  5. 02 Aug, 2023 1 commit
  6. 28 Jul, 2023 2 commits
  7. 22 Feb, 2023 1 commit
  8. 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
  9. 19 Jan, 2023 1 commit
  10. 18 Jan, 2023 1 commit
  11. 28 Nov, 2022 1 commit
  12. 13 Oct, 2022 1 commit
  13. 09 Sep, 2022 1 commit
  14. 06 Aug, 2022 1 commit
  15. 29 Jul, 2022 1 commit
  16. 28 Jul, 2022 1 commit
  17. 27 Jul, 2022 1 commit
  18. 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
  19. 12 May, 2022 1 commit
  20. 04 Apr, 2022 1 commit
  21. 30 Mar, 2022 1 commit
  22. 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
  23. 06 Jan, 2022 1 commit
  24. 15 Dec, 2021 1 commit
  25. 12 Dec, 2021 1 commit
  26. 06 Dec, 2021 1 commit
    • 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
  27. 05 Oct, 2021 1 commit
  28. 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
  29. 12 Jul, 2021 1 commit
  30. 29 Jun, 2021 1 commit
  31. 28 Jun, 2021 1 commit
  32. 25 Jun, 2021 1 commit
  33. 23 Jun, 2021 1 commit
    • Suraj Patil's avatar
      Flax summarization script (#12230) · c0fe3c9a
      Suraj Patil authored
      * add summrization script
      
      * fix arguments, preprocessing, metrics
      
      * add generation and metrics
      
      * auto model, prediction loop
      
      * prettify
      
      * label smoothing
      
      * adress Sylvain and Patricks suggestions
      
      * dynamically import shift_tokens_right
      
      * fix shift_tokens_right_fn call
      c0fe3c9a
  34. 11 Jun, 2021 1 commit
    • Suraj Patil's avatar
      Flax CLM script (#12023) · 15b498f3
      Suraj Patil authored
      * first draft
      
      * max_seq_length => block_size
      
      * fix arg names
      
      * fix typos
      
      * fix loss calculation
      
      * add max examples, fix  train eval steps, metrics
      
      * optimizer mask
      
      * fix perpelexity, metric logging
      
      * fix logging
      
      * data_collator = > data_loader
      
      * refactor loss_fn
      
      * support single GPU
      
      * pass distributed to write_metric
      
      * fix jitting
      
      * fix single device training
      
      * fix single device metrics
      
      * close inner progress bars once finished
      
      * add overwrite_cache arg
      
      * ifx dataset caching issue
      
      * add more logs
      
      * few small fixes,
      
      * address nicholas suggestions
      
      * fix docstr
      
      * address patricks suggestions
      
      * make flake happy
      
      * pass new new_dropout_rng to apply_gradients
      
      * reset train metrics after every epoc
      
      * remove distributed logis, small fixes
      15b498f3
  35. 08 Jun, 2021 1 commit
  36. 25 May, 2021 3 commits
  37. 12 May, 2021 1 commit