Fix tie_weights compatibility with transformers 4.47+

#3
Standard Model Biomedicine, Inc. org

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

Sign up or log in to comment