Add post_init() call for transformers 5.5 compatibility

#3
by pweidel - opened

Calls self.post_init() at the end of MLP.init so the model works correctly with transformers>=5.5, which requires post_init() to properly finalize weight initialization/tying for custom PreTrainedModel subclasses.

dacorvo changed pull request status to merged

Sign up or log in to comment