1. 01 Nov, 2022 1 commit
  2. 10 Oct, 2022 1 commit
  3. 22 Sep, 2022 1 commit
  4. 14 Sep, 2022 1 commit
  5. 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
  6. 06 Aug, 2022 2 commits
  7. 01 Aug, 2022 1 commit
  8. 29 Jul, 2022 1 commit
  9. 28 Jul, 2022 1 commit
    • 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
  10. 27 Jul, 2022 1 commit
  11. 13 Jul, 2022 1 commit
  12. 16 Jun, 2022 1 commit
  13. 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
  14. 12 May, 2022 2 commits
  15. 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
  16. 19 Apr, 2022 1 commit
  17. 06 Apr, 2022 1 commit
  18. 04 Apr, 2022 1 commit
  19. 30 Mar, 2022 1 commit
  20. 25 Mar, 2022 1 commit
  21. 23 Mar, 2022 2 commits
  22. 09 Mar, 2022 1 commit
  23. 08 Mar, 2022 1 commit
  24. 03 Mar, 2022 1 commit
  25. 02 Mar, 2022 1 commit
  26. 01 Mar, 2022 1 commit
  27. 21 Feb, 2022 1 commit
  28. 01 Feb, 2022 1 commit
  29. 27 Jan, 2022 2 commits
  30. 12 Jan, 2022 1 commit
  31. 22 Dec, 2021 2 commits
  32. 15 Dec, 2021 2 commits
  33. 09 Dec, 2021 2 commits