Closed Runingtime closed 6 years ago
decoding.py will provide you with the possibilities:
You may change these values by adding the flag --decode_hparams="beam_size=1,alpha=0, etc."
when running t2t-decoder
. I think extra_length
defines the decode_length.
Thanks for responding @mehmedes ! I hope this answers your question @Runingtime !
I am trying to use t2t for text summarization. However, I didn't find any documents that describe how to set the hyper-parameters. For example, how to limit the decoding length? So, could someone tell me if there are related descriptions or tutorials? Thanks!