ASSERT-KTH / sequencer

Sequence-to-Sequence Learning for End-to-End Program Repair (IEEE TSE 2019). Open-science repo. http://arxiv.org/pdf/1901.01808
81 stars 42 forks source link

improve beam search #16

Open monperrus opened 4 years ago

monperrus commented 4 years ago

right now, we're using beam search as an off-the-shelf component.

It would be great that:

Ideas from UCDavis:

Related work:

By sampling text from the dynamic nucleus of the probability distribution, which allows for diversity while effectively truncating the less reliable tail of the distribution, the resulting text better demonstrates the quality of human text, yielding enhanced diversity without sacrificing fluency and coherence.

The Curious Case of Neural Text Degeneration

monperrus commented 4 years ago

Status in OpenNMT by @javierron

Relative order of patches does not change. Two patches generated with beam size 10 will maintain their order when generated with beam size 100, however there might be a different number of patches in between the original two.