Fix tie_weights compatibility with transformers 4.47+
#3
by
shaunporwal-smb
- opened
Pass **kwargs through tie_weights to support new parameters (missing_keys,
recompute_mapping) added in transformers 4.47+. Without this, loading the
model with recent transformers versions raises:
TypeError: tie_weights() got an unexpected keyword argument 'missing_keys'
irsyad-smb
changed pull request status to
merged