"examples/distillation/vscode:/vscode.git/clone" did not exist on "fea921d38265fad7d92b952f152a2aac314c3207"
  1. 05 Jul, 2024 1 commit
  2. 26 Jun, 2024 1 commit
  3. 12 Jun, 2024 1 commit
  4. 10 Jun, 2024 2 commits
    • Pavel Iakubovskii's avatar
      Decorators for deprecation and named arguments validation (#30799) · 517df566
      Pavel Iakubovskii authored
      
      
      * Fix do_reduce_labels for maskformer image processor
      
      * Deprecate reduce_labels in favor to do_reduce_labels
      
      * Deprecate reduce_labels in favor to do_reduce_labels (segformer)
      
      * Deprecate reduce_labels in favor to do_reduce_labels (oneformer)
      
      * Deprecate reduce_labels in favor to do_reduce_labels (maskformer)
      
      * Deprecate reduce_labels in favor to do_reduce_labels (mask2former)
      
      * Fix typo
      
      * Update mask2former test
      
      * fixup
      
      * Update segmentation examples
      
      * Update docs
      
      * Fixup
      
      * Imports fixup
      
      * Add deprecation decorator draft
      
      * Add deprecation decorator
      
      * Fixup
      
      * Add deprecate_kwarg decorator
      
      * Validate kwargs decorator
      
      * Kwargs validation (beit)
      
      * fixup
      
      * Kwargs validation (mask2former)
      
      * Kwargs validation (maskformer)
      
      * Kwargs validation (oneformer)
      
      * Kwargs validation (segformer)
      
      * Better message
      
      * Fix oneformer processor save-load test
      
      * Update src/transformers/utils/deprecation.py
      Co-authored-by: default avataramyeroberts <22614925+amyeroberts@users.noreply.github.com>
      
      * Update src/transformers/utils/deprecation.py
      Co-authored-by: default avataramyeroberts <22614925+amyeroberts@users.noreply.github.com>
      
      * Update src/transformers/utils/deprecation.py
      Co-authored-by: default avatarPablo Montalvo <39954772+molbap@users.noreply.github.com>
      
      * Update src/transformers/utils/deprecation.py
      Co-authored-by: default avatarPablo Montalvo <39954772+molbap@users.noreply.github.com>
      
      * Better handle classmethod warning
      
      * Fix typo, remove warn
      
      * Add header
      
      * Docs and `additional_message`
      
      * Move to filter decorator ot generic
      
      * Proper deprecation for semantic segm scripts
      
      * Add to __init__ and update import
      
      * Basic tests for filter decorator
      
      * Fix doc
      
      * Override `to_dict()` to pop depracated `_max_size`
      
      * Pop unused parameters
      
      * Fix trailing whitespace
      
      * Add test for deprecation
      
      * Add deprecation warning control parameter
      
      * Update generic test
      
      * Fixup deprecation tests
      
      * Introduce init service kwargs
      
      * Revert popping unused params
      
      * Revert oneformer test
      
      * Allow "metadata" to pass
      
      * Better docs
      
      * Fix test
      
      * Add notion in docstring
      
      * Fix notification for both names
      
      * Add func name to warning message
      
      * Fixup
      
      ---------
      Co-authored-by: default avataramyeroberts <22614925+amyeroberts@users.noreply.github.com>
      Co-authored-by: default avatarPablo Montalvo <39954772+molbap@users.noreply.github.com>
      517df566
    • 谭九鼎's avatar
      docs: fix style (#31340) · 807483ed
      谭九鼎 authored
      807483ed
  5. 07 Jun, 2024 1 commit
    • Matt's avatar
      Remove ConversationalPipeline and Conversation object (#31165) · 065729a6
      Matt authored
      * Remove ConversationalPipeline and Conversation object, as they have been deprecated for some time and are due for removal
      
      * Update not-doctested.txt
      
      * Fix JA and ZH docs
      
      * Fix JA and ZH docs some more
      
      * Fix JA and ZH docs some more
      065729a6
  6. 06 Jun, 2024 1 commit
  7. 30 May, 2024 1 commit
  8. 29 May, 2024 1 commit
  9. 09 May, 2024 1 commit
  10. 07 May, 2024 1 commit
  11. 02 May, 2024 1 commit
  12. 24 Apr, 2024 2 commits
  13. 23 Apr, 2024 1 commit
    • Matt's avatar
      Remove old TF port docs (#30426) · 696ededd
      Matt authored
      * Remove old TF port guide
      
      * repo-consistency
      
      * Remove some translations as well for consistency
      
      * Remove some translations as well for consistency
      696ededd
  14. 18 Apr, 2024 1 commit
  15. 17 Apr, 2024 1 commit
  16. 16 Apr, 2024 1 commit
  17. 15 Apr, 2024 1 commit
  18. 09 Apr, 2024 1 commit
  19. 08 Apr, 2024 1 commit
    • Utkarsha Gupte's avatar
      [#29174] ImportError Fix: Trainer with PyTorch requires accelerate>=0.20.1 Fix (#29888) · 0201f642
      Utkarsha Gupte authored
      
      
      * ImportError: Trainer with PyTorch requires accelerate>=0.20.1 Fix
      
      Adding the evaluate and accelerate installs at the beginning of the cell to fix the issue
      
      * ImportError Fix: Trainer with PyTorch requires accelerate>=0.20.1
      
      * Import Error Fix
      
      * Update installation.md
      
      * Update quicktour.md
      
      * rollback other lang changes
      
      * Update _config.py
      
      * updates for other languages
      
      * fixing error
      
      * Tutorial Update
      
      * Update tokenization_utils_base.py
      
      * Just use an optimizer string to pass the doctest?
      
      ---------
      Co-authored-by: default avatarMatt <rocketknight1@gmail.com>
      0201f642
  20. 05 Apr, 2024 1 commit
  21. 13 Mar, 2024 1 commit
  22. 11 Mar, 2024 1 commit
  23. 07 Mar, 2024 1 commit
  24. 05 Mar, 2024 1 commit
  25. 16 Feb, 2024 1 commit
  26. 12 Feb, 2024 1 commit
  27. 08 Feb, 2024 1 commit
  28. 06 Feb, 2024 2 commits
  29. 05 Feb, 2024 1 commit
  30. 02 Feb, 2024 1 commit
    • Klaus Hipp's avatar
      [Docs] Fix spelling and grammar mistakes (#28825) · 721ee783
      Klaus Hipp authored
      * Fix typos and grammar mistakes in docs and examples
      
      * Fix typos in docstrings and comments
      
      * Fix spelling of `tokenizer` in model tests
      
      * Remove erroneous spaces in decorators
      
      * Remove extra spaces in Markdown link texts
      721ee783
  31. 01 Feb, 2024 1 commit
  32. 30 Jan, 2024 1 commit
    • Matt's avatar
      Add tf_keras imports to prepare for Keras 3 (#28588) · 415e9a09
      Matt authored
      * Port core files + ESM (because ESM code is odd)
      
      * Search-replace in modelling code
      
      * Fix up transfo_xl as well
      
      * Fix other core files + tests (still need to add correct import to tests)
      
      * Fix cookiecutter
      
      * make fixup, fix imports in some more core files
      
      * Auto-add imports to tests
      
      * Cleanup, add imports to sagemaker tests
      
      * Use correct exception for importing tf_keras
      
      * Fixes in modeling_tf_utils
      
      * make fixup
      
      * Correct version parsing code
      
      * Ensure the pipeline tests correctly revert to float32 after each test
      
      * Ensure the pipeline tests correctly revert to float32 after each test
      
      * More tf.keras -> keras
      
      * Add dtype cast
      
      * Better imports of tf_keras
      
      * Add a cast for tf.assign, just in case
      
      * Fix callback imports
      415e9a09
  33. 29 Jan, 2024 1 commit
  34. 15 Jan, 2024 1 commit
  35. 12 Jan, 2024 1 commit
  36. 04 Jan, 2024 1 commit
  37. 13 Dec, 2023 1 commit