I've been trying to generate summaries using Pegasus library and following the steps as mentioned -
- Created Input Data
.tfrecord
inpegasus\data\testdata
- Created a function to return
transformer_params
namedtest_transformers
(suppose) - Running
python3 pegasus/bin/train.py --params=test_transformer --param_overrides=vocab_filename=ckpt/pegasus_ckpt/c4.unigram.newline.10pct.96000.model,batch_size=1,beam_size=5,beam_alpha=0.6 --model_dir=ckpt/pegasus_ckpt/xsum/model.ckpt-30000
python3 pegasus/bin/evaluate.py --params=test_transformer --param_overrides=vocab_filename=ckpt/pegasus_ckpt/c4.unigram.newline.10pct.96000.model,batch_size=1,beam_size=5,beam_alpha=0.6 --model_dir=ckpt/pegasus_ckpt/xsum/model.ckpt-30000
However, I am facing this issue in outputs when I am generating text -
Is there some issue in the way its implemented or the way I'm running the python code in step 3 and 4?
Thanks in Advance !
Here's a link to the closed issue.
The reasons highlighted for this issue is :-