Official repository of OFA (ICML 2022). Paper: OFA: Unifying Architectures, Tasks, and Modalities Through a Simple Sequence-to-Sequence Learning Framework
When I try to run bash pretrain_ofa_base.sh, I keep running into the error "ImportError: cannot import name 'TransformerDecoderLayer' from partially initialized module 'fairseq.modules'", I can't seem to find the TransformerDecoderLayer.py file. Is it named something else?
When I try to run bash pretrain_ofa_base.sh, I keep running into the error "ImportError: cannot import name 'TransformerDecoderLayer' from partially initialized module 'fairseq.modules'", I can't seem to find the TransformerDecoderLayer.py file. Is it named something else?