"examples/vscode:/vscode.git/clone" did not exist on "57a6626929f0e47b2de5fd58040d413ee34dc676"
  1. 11 Oct, 2023 1 commit
    • Billy Bradley's avatar
      In assisted decoding, pass model_kwargs to model's forward call (fix... · dcc49d8a
      Billy Bradley authored
      In assisted decoding, pass model_kwargs to model's forward call (fix prepare_input_for_generation in all models) (#25242)
      
      * In assisted decoding, pass model_kwargs to model's forward call
      
      Previously, assisted decoding would ignore any additional kwargs
      that it doesn't explicitly handle. This was inconsistent with other
      generation methods, which pass the model_kwargs through
      prepare_inputs_for_generation and forward the returned dict to the
      model's forward call.
      
      The prepare_inputs_for_generation method needs to be amended in all
      models, as previously it only kept the last input ID when a past_key_values
      was passed.
      
      * Improve variable names in _extend_attention_mask
      
      * Refactor extending token_type_ids into a function
      
      * Replace deepcopy with copy to optimize performance
      
      * Update new persimmon model with llama changes for assisted generation
      
      * Update new mistral model for assisted generation with prepare_inputs_for_generation
      
      * Update position_ids creation in falcon prepare_inputs_for_generation to support assisted generation
      dcc49d8a
  2. 14 Sep, 2023 1 commit
  3. 12 Sep, 2023 2 commits
  4. 23 Aug, 2023 1 commit
  5. 16 Aug, 2023 1 commit
  6. 10 Aug, 2023 1 commit
  7. 09 Aug, 2023 1 commit
  8. 06 Aug, 2023 1 commit
  9. 26 Jul, 2023 1 commit
  10. 20 Jul, 2023 2 commits
  11. 27 Jun, 2023 2 commits
  12. 23 Jun, 2023 1 commit
  13. 21 Jun, 2023 1 commit
  14. 13 Jun, 2023 1 commit
  15. 07 Jun, 2023 1 commit
  16. 24 May, 2023 1 commit
    • Matt's avatar
      Better TF docstring types (#23477) · f8b25744
      Matt authored
      * Rework TF type hints to use | None instead of Optional[] for tf.Tensor
      
      * Rework TF type hints to use | None instead of Optional[] for tf.Tensor
      
      * Don't forget the imports
      
      * Add the imports to tests too
      
      * make fixup
      
      * Refactor tests that depended on get_type_hints
      
      * Better test refactor
      
      * Fix an old hidden bug in the test_keras_fit input creation code
      
      * Fix for the Deit tests
      f8b25744
  17. 18 May, 2023 2 commits
  18. 16 May, 2023 1 commit
  19. 08 May, 2023 1 commit
  20. 03 May, 2023 2 commits
  21. 29 Apr, 2023 1 commit
  22. 24 Apr, 2023 1 commit
  23. 18 Apr, 2023 2 commits
  24. 13 Apr, 2023 1 commit
  25. 05 Apr, 2023 1 commit
  26. 04 Apr, 2023 1 commit
  27. 03 Apr, 2023 1 commit
  28. 30 Mar, 2023 1 commit
  29. 23 Mar, 2023 1 commit
  30. 22 Mar, 2023 2 commits
  31. 21 Mar, 2023 1 commit
  32. 16 Mar, 2023 1 commit
  33. 09 Mar, 2023 1 commit