microsoft / ProphetNet

A research project for natural language generation, containing the official implementations by MSRA NLC team.
MIT License
651 stars 104 forks source link

“load_fairseq” not found in "AR-Diffusion/data_utils" #71

Open Don-Joey opened 7 months ago

Don-Joey commented 7 months ago

When I implement AR-Diffusion, ImportError: cannot import name 'load_fairseq' from data_utils.fairseq_dataset.

ecust-sl commented 7 months ago

i have the same problem

wutong4012 commented 4 months ago

Just comment out the relevant code. It will not affect the final result. This is just debugging code.

hwaseem04 commented 3 months ago

Just comment out the relevant code. It will not affect the final result. This is just debugging code.

Yes, this works.

Do the following in AR-diffusion/data_utils/s2s_dataset.py

Also another change has to be made if you are using 'xsum'.