peft
Implement ensure_weight_tying for trainable_token_indices (#2864)
#2870
Open

Commits
  • ENH: Implement ensure_weight_tying for trainable_token_indices (#2864)
    sambhavnoobcoder committed 62 days ago
  • maintinaers comments addressed
    sambhavnoobcoder committed 59 days ago
  • make style ran
    sambhavnoobcoder committed 59 days ago
  • Merge remote-tracking branch 'origin/main' into trainable-tokens-weight-tying
    sambhavnoobcoder committed 52 days ago
  • comments fixed
    sambhavnoobcoder committed 52 days ago
  • Merge main into trainable-tokens-weight-tying and resolve conflict in other.py
    sambhavnoobcoder committed 39 days ago
  • Use _get_module_names_tied_with_embedding helper for cleaner code
    sambhavnoobcoder committed 38 days ago
  • test fixes
    sambhavnoobcoder committed 30 days ago
  • Fix embedding name matching for nested paths and ensure weight tying in inject_adapter
    sambhavnoobcoder committed 18 days ago
  • Apply ruff formatting
    sambhavnoobcoder committed 18 days ago
  • Fix embedding name matching to use full paths and endswith for disambiguation
    sambhavnoobcoder committed 15 days ago
  • Add _tied_weights_keys to MegaModel test and enable ensure_weight_tying validation
    sambhavnoobcoder committed 12 days ago
  • Add tests for targeting both embedding and tied layers explicitly
    sambhavnoobcoder committed 12 days ago
  • Use mapping format for _tied_weights_keys in MegaModel test
    sambhavnoobcoder committed 11 days ago
  • Clarify docstrings for tied layer tests
    sambhavnoobcoder committed 11 days ago
  • Remove unnecessary reference to maintainer in docstring
    sambhavnoobcoder committed 10 days ago
  • Move BartConfig and BartModel imports to top of file
    sambhavnoobcoder committed 10 days ago
  • Rename MegaModel to CompositeModel throughout tests
    sambhavnoobcoder committed 10 days ago
  • style changes
    sambhavnoobcoder committed 9 days ago
  • Apply doc-builder style formatting to docstrings
    sambhavnoobcoder committed 9 days ago
  • Fix CI failure by setting sub-models _tied_weights_keys to None
    sambhavnoobcoder committed 7 days ago
Loading