Fix Loading Model with Modified Config File

#52
by SamMaggioli - opened

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.

Hi @SamMaggioli , thanks for the fix!

jupyterjazz changed pull request status to merged

Sign up or log in to comment