1. 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
  2. 08 Aug, 2022 3 commits
    • Rasmus Arpe Fogh Jensen's avatar
      Update no_trainer.py scripts to include accelerate gradient accumulation wrapper (#18473) · a765b68a
      Rasmus Arpe Fogh Jensen authored
      * Added accelerate gradient accumulation wrapper to run_image_classification_no_trainer.py example script
      
      * make fixup changes
      
      * PR comments
      
      * changed input to Acceletor based on PR comment, ran make fixup
      
      * Added comment explaining the sync_gradients statement
      
      * Fixed lr scheduler max steps
      
      * Changed run_clm_no_trainer.py script to use accelerate gradient accum wrapper
      
      * Fixed all scripts except wav2vec2 pretraining to use accelerate gradient accum wrapper
      
      * Added accelerate gradient accum wrapper for wav2vec2_pretraining_no_trainer.py script
      
      * make fixup and lr_scheduler step inserted back into run_qa_beam_search_no_trainer.py
      
      * removed changes to run_wav2vec2_pretraining_no_trainer.py script and fixed using wrong constant in qa_beam_search_no_trainer.py script
      a765b68a
    • Sylvain Gugger's avatar
      Fix compatibility with 1.12 (#17925) · 70b0d4e1
      Sylvain Gugger authored
      
      
      * Fix compatibility with 1.12
      
      * Remove pin from examples requirements
      
      * Update torch scatter version
      
      * Fix compatibility with 1.12
      
      * Remove pin from examples requirements
      
      * Update torch scatter version
      
      * fix torch.onnx.symbolic_opset12 import
      
      * Reject bad version
      Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
      70b0d4e1
    • regisss's avatar
      88a0ce57
  3. 06 Aug, 2022 2 commits
  4. 04 Aug, 2022 2 commits
  5. 03 Aug, 2022 2 commits
  6. 02 Aug, 2022 1 commit
  7. 01 Aug, 2022 6 commits
  8. 29 Jul, 2022 1 commit
  9. 28 Jul, 2022 3 commits
    • Vijay S Kalmath's avatar
      Migrate metrics used in flax examples to Evaluate (#18348) · da503ea0
      Vijay S Kalmath authored
      Currently, tensorflow examples use the `load_metric` function from
      Datasets library, commit migrates function call to `load` function
      from Evaluate library.
      da503ea0
    • Vijay S Kalmath's avatar
      Migrate metric to Evaluate library for tensorflow examples (#18327) · a2586795
      Vijay S Kalmath authored
      * Migrate metric to Evaluate library in tf examples
      
      Currently tensorflow examples use `load_metric` function from Datasets
      library , commit migrates function call to `load` function to
      Evaluate library.
      
      Fix for #18306
      
      * Migrate metric to Evaluate library in tf examples
      
      Currently tensorflow examples use `load_metric` function from Datasets
      library , commit migrates function call to `load` function to
      Evaluate library.
      
      Fix for #18306
      
      * Migrate `metric` to Evaluate for all tf examples
      
      Currently tensorflow examples use `load_metric` function from Datasets
      library , commit migrates function call to `load` function to
      Evaluate library.
      a2586795
    • Loubna Ben Allal's avatar
      Fix codeparrot deduplication - ignore whitespaces (#18023) · 286a18fa
      Loubna Ben Allal authored
      * ignore whitspaces for hash
      
      * reformat code
      
      * Update README.md
      286a18fa
  10. 27 Jul, 2022 5 commits
  11. 21 Jul, 2022 1 commit
  12. 19 Jul, 2022 1 commit
  13. 18 Jul, 2022 2 commits
  14. 13 Jul, 2022 1 commit
  15. 11 Jul, 2022 2 commits
  16. 06 Jul, 2022 1 commit
  17. 29 Jun, 2022 1 commit
  18. 28 Jun, 2022 1 commit
  19. 23 Jun, 2022 2 commits
  20. 22 Jun, 2022 2 commits