[solved] KeyError: 'unexpected key "module.encoder.embedding.weight" in state_dict'

Thanks a lot, this worked for me.