OFA-Sys / OFA

Official repository of OFA (ICML 2022). Paper: OFA: Unifying Architectures, Tasks, and Modalities Through a Simple Sequence-to-Sequence Learning Framework
Apache License 2.0
2.39k stars 248 forks source link

TransformerDecoderLayer.py #428

Open sbm5761 opened 9 months ago

sbm5761 commented 9 months ago

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?