Closed JPonsa closed 3 months ago
newer versions of the transformer library break the model.loca_state_dict function as is. To solve it, add the parameter, strict=False as suggested in https://stackoverflow.com/questions/68453123/runtimeerror-errors-in-loading-state-dict-for-dataparallel-unexpected-keys
newer versions of the transformer library break the model.loca_state_dict function as is. To solve it, add the parameter, strict=False as suggested in https://stackoverflow.com/questions/68453123/runtimeerror-errors-in-loading-state-dict-for-dataparallel-unexpected-keys