-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bugs preventing reproducing results #5
Comments
hi I think you should modify the data preprocessing part code. |
Hello, can you share your modified code? thanks. |
I think the at line 100 of run.py, it is getting the output data from stage 1 with source_path = os.path.join(args.train.output_path, f"stage_{args.cur_stage}")
cur_source = load_split_aslist(source_path, suffix='hypo') But the other mentioned problems do exist and also at line 87 and 123 or run.py, the path to the checkpoint should be something like: os.path.join(training_args.checkpoint_dir, f"stage_{args.cur_stage}/trainer_output") if we want to use the checkpoints after training without any file/folder movements. |
I only achieved around 70% paper rouge score on AMI dataset. |
Hi @ CAH9487, I would like to know if you produced the result. do we need to change anything about the configure file? Thanks! |
The code is broken in a number of places, making it impossible to reproduce results:
args.mode
inrun.py
other than editing it into the script--mode train
torun.py
does not work, because that argument will be stored inargs.train.mode
, notargs.mode
.args.checkpoint_dir
for inference.gen_summary/inference.py:38
, you assign toself.bart.cfg.dataset.batch_size_valid = bsz
. I'm not sure what this is supposed to do, but thebart
object comes from fairseq and has nocfg
member.run.py
does not actually use the output from stage 1 and will just create the same input/output as stage 1 againFor others who are also trying to reproduce:
PYTHONPATH
. You must move it out of the main fairseq dir, or the fairseq logging module will override the Python builtin.pip install
it, you will need to edit the scripts to change imports.The text was updated successfully, but these errors were encountered: