You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
“load_fairseq” not found in "AR-Diffusion/data_utils" #71
Activity
ecust-sl commentedon Nov 20, 2023
i have the same problem
wutong4012 commentedon Feb 22, 2024
Just comment out the relevant code. It will not affect the final result. This is just debugging code.
hwaseem04 commentedon Mar 11, 2024
Yes, this works.
Do the following in
AR-diffusion/data_utils/s2s_dataset.pyconfig.fairseq.use_fairseq = Falseas a first statement in load_jsonl_data() functionAlso another change has to be made if you are using 'xsum'.
s2s_dataset.pysetdev_data = load_jsonl_data(config, attri='test')instead ofattri='dev'generate.pysetdev_data = load_jsonl_data(config, 'test')