Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Natural Language Generation #13

Merged
merged 19 commits into from
Mar 16, 2020
Merged

Natural Language Generation #13

merged 19 commits into from
Mar 16, 2020

Conversation

guillaume-be
Copy link
Owner

Language generation pipeline implemented, based on the Transformer's generation script.

  • GPT ad GPT2 supported
  • Greedy decoding and beam search
  • implementation of top-k and nucleus (top-p) sampling
  • temperature setting
  • repetition penalty
  • repetitive tokens ban (based on Hugging Face and Fairseq's implementation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant