lemmonation / abnet

Code for NeurIPS2020 "Incorporating BERT into Parallel Sequence Decoding with Adapters"
MIT License
32 stars 8 forks source link

ModuleNotFoundError: No module named 'fairseq.sequence_generator' #7

Open houwenxin opened 3 years ago

houwenxin commented 3 years ago

Thank you for releasing the code of your interesting work! When I tried to run your code, the error happens: "ModuleNotFoundError: No module named 'fairseq.sequence_generator", as I am not familiar with fairseq, do you know how to solve it?

FeixLiu commented 2 years ago

same problem here

Yuran-Zhao commented 2 years ago

Hi all, it seems that copying fairseq-0.6.2/fairseq/sequence_generator.py to abnet/fairseq/ will solve the problem.