Skip to content

improve beam search #16

Description

@monperrus

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

It would be great that:

  • the search embeds some kind of patch quality knowledge: the first patch generated should have a better quality than
  • the search ensures some kind of diversity in the way the bug is being fixed

Ideas from UCDavis:

  • by raising the "temperature" (AFAIU adding a multiplicative factor on the softmax)
  • by using random sampling instead of beam search

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions