udibr / headlines

Automatically generate headlines to short articles
MIT License
525 stars 150 forks source link

About "avoid" in beamsearch in predict.ipynb #10

Open wai7niu8 opened 8 years ago

wai7niu8 commented 8 years ago

Hello @udibr , I'm confused about the parameter "avoid" in beamsearch and gensamples in predict.ipynb, and in train.ipynb, it doesn't exist. And, what role does the parameter "short" in gensamples play? And what's the role of "codes" in gensamples? I'll appreciate it if you can answer the "simple" questions for me.