1. 06 Mar, 2023 1 commit
    • Matt's avatar
      Add TF contrastive image text finetuning example (#21939) · 5d8efc79
      Matt authored
      * Initial commit
      
      * stash commit
      
      * Add model checkpointing and pushing
      
      * Fix model name inference
      
      * Update README
      
      * Update README
      
      * Remove a couple of Torch references
      
      * Update copyright date
      
      * make fixup
      
      * Update PushToHubCallback args!
      
      * Remove the torch summary
      
      * Add strategy.scope
      5d8efc79
  2. 01 Mar, 2023 1 commit
  3. 22 Feb, 2023 1 commit
  4. 24 Jan, 2023 1 commit
  5. 03 Nov, 2022 1 commit
  6. 10 Aug, 2022 1 commit
    • Matt's avatar
      TF Examples Rewrite (#18451) · 6eb51450
      Matt authored
      
      
      * Finished QA example
      
      * Dodge a merge conflict
      
      * Update text classification and LM examples
      
      * Update NER example
      
      * New Keras metrics WIP, fix NER example
      
      * Update NER example
      
      * Update MC, summarization and translation examples
      
      * Add XLA warnings when shapes are variable
      
      * Make sure batch_size is consistently scaled by num_replicas
      
      * Add PushToHubCallback to all models
      
      * Add docs links for KerasMetricCallback
      
      * Add docs links for prepare_tf_dataset and jit_compile
      
      * Correct inferred model names
      
      * Don't assume the dataset has 'lang'
      
      * Don't assume the dataset has 'lang'
      
      * Write metrics in text classification
      
      * Add 'framework' to TrainingArguments and TFTrainingArguments
      
      * Export metrics in all examples and add tests
      
      * Fix training args for Flax
      
      * Update command line args for translation test
      
      * make fixup
      
      * Fix accidentally running other tests in fp16
      
      * Remove do_train/do_eval from run_clm.py
      
      * Remove do_train/do_eval from run_mlm.py
      
      * Add tensorflow tests to circleci
      
      * Fix circleci
      
      * Update examples/tensorflow/language-modeling/run_mlm.py
      Co-authored-by: default avatarJoao Gante <joaofranciscocardosogante@gmail.com>
      
      * Update examples/tensorflow/test_tensorflow_examples.py
      Co-authored-by: default avatarJoao Gante <joaofranciscocardosogante@gmail.com>
      
      * Update examples/tensorflow/translation/run_translation.py
      Co-authored-by: default avatarJoao Gante <joaofranciscocardosogante@gmail.com>
      
      * Update examples/tensorflow/token-classification/run_ner.py
      Co-authored-by: default avatarJoao Gante <joaofranciscocardosogante@gmail.com>
      
      * Fix save path for tests
      
      * Fix some model card kwargs
      
      * Explain the magical -1000
      
      * Actually enable tests this time
      
      * Skip text classification PR until we fix shape inference
      
      * make fixup
      Co-authored-by: default avatarJoao Gante <joaofranciscocardosogante@gmail.com>
      6eb51450
  7. 06 Aug, 2022 1 commit
  8. 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
  9. 12 May, 2022 1 commit
  10. 04 Apr, 2022 1 commit
  11. 30 Mar, 2022 1 commit
  12. 01 Mar, 2022 1 commit
  13. 06 Dec, 2021 1 commit
  14. 22 Nov, 2021 1 commit
  15. 11 Nov, 2021 1 commit
  16. 28 Jul, 2021 1 commit
  17. 08 Jul, 2021 1 commit
  18. 01 Jul, 2021 1 commit
  19. 28 Jun, 2021 3 commits
    • Matt's avatar
      Tensorflow LM examples (#12358) · 7e22609e
      Matt authored
      * Tensorflow MLM example
      
      * Add CLM example
      
      * Style fixes, adding missing checkpoint code from the CLM example
      
      * Fix TPU training, avoid massive dataset warnings
      
      * Fix incorrect training length calculation for multi-GPU training
      
      * Fix incorrect training length calculation for multi-GPU training
      
      * Refactors and nitpicks from the review
      
      * Style pass
      
      * Adding README
      7e22609e
    • Bhadresh Savani's avatar
      [Examples] Added context manager to datasets map (#12367) · 04dbea31
      Bhadresh Savani authored
      * added cotext manager to datasets map
      
      * fixed style and spaces
      
      * fixed warning of deprecation
      
      * changed desc
      04dbea31
    • Taha ValizadehAslani's avatar
      Update run_mlm.py (#12344) · 9490d668
      Taha ValizadehAslani authored
      Before the code could not be used for validation only because of this line:
      extension = data_args.train_file.split(".")[-1]
      was assuming that extension must be extracted from the training dataset. This line would run regardless of the training or validation options of the user. This would lead to an error if the user only wants to run an evaluation only and does not want to do train (because the training file does not exist). I modified it to extract extension from the training file if the user wants to do train and extract it from the validation file if the user wants to run eval. This way the code can be used for both training and validation separately.
      9490d668
  20. 25 Jun, 2021 2 commits
  21. 23 Jun, 2021 2 commits
  22. 17 Jun, 2021 3 commits
  23. 15 Jun, 2021 1 commit
  24. 14 Jun, 2021 3 commits
  25. 25 May, 2021 2 commits
  26. 12 May, 2021 2 commits
  27. 11 May, 2021 1 commit
  28. 29 Apr, 2021 1 commit
  29. 26 Apr, 2021 1 commit
  30. 23 Apr, 2021 1 commit