Open Don-Joey opened 7 months ago
i have the same problem
Just comment out the relevant code. It will not affect the final result. This is just debugging code.
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
config.fairseq.use_fairseq = False
as a first statement in load_jsonl_data() functionAlso another change has to be made if you are using 'xsum'.
s2s_dataset.py
set dev_data = load_jsonl_data(config, attri='test')
instead of attri='dev'
generate.py
set dev_data = load_jsonl_data(config, 'test')
When I implement AR-Diffusion, ImportError: cannot import name 'load_fairseq' from data_utils.fairseq_dataset.