BiomedGPT
BiomedGPT copied to clipboard
RuntimeError: Unexpected key(s) in state_dict when loading OFAModel
Hi,I am encountering an issue when trying to load a pre-trained OFAModel. The error message I receive is as follows:
Environment Details: pip version: 21.2.4 Fairseq version: Installed from the OFA repository
Steps to Reproduce: Installed Fairseq from the OFA repository. Configured the environment and downloaded the necessary pre-trained datasets. Attempted to load the OFAModel using the provided scripts.