Fix Loading Model with Modified Config File

#51

Description:

When modifying the config file and attempting to load the model using the from_pretrained function, passing the config file as an argument, the model loads with the original config.
This pull request addresses the issue by providing a fix implementation.

Changes:

Modified the from_pretrained function to handle the config file when loading the model correctly.

SamMaggioli changed pull request status to closed

Sign up or log in to comment