title: Implementing Transfer Learning using Pegasus for Text Summarization generating junk characters
body: <p>I've been trying to generate summaries using <a href="https://github.com/google-research/pegasus" rel="nofollow noreferrer">Pegasus library</a> and following the steps as mentioned -</p>
  <ol>
  <li>Created Input Data  <code>.tfrecord</code> in <code>pegasus\data\testdata</code></li>
  <li>Created a function to return <code>transformer_params</code> named <code>test_transformers</code> (suppose)</li>
  <li>Running  <code>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</code></li>
  <li><code>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</code></li>
  </ol>
  <p>However, I am facing this issue in outputs when I am generating text -</p>
  <p><a href="https://i.stack.imgur.com/BH1c3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BH1c3.png" alt="Outputs Having Junk" /></a></p>
  <p>Is there some issue in the way its implemented or the way I'm running the python code in step 3 and 4?</p>
  <p>Thanks in Advance !</p>