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

Unable to do non-retrieval sampling #19

Closed
ncoop57 opened this issue Apr 30, 2022 · 0 comments
Closed

Unable to do non-retrieval sampling #19

ncoop57 opened this issue Apr 30, 2022 · 0 comments

Comments

@ncoop57
Copy link
Contributor

ncoop57 commented Apr 30, 2022

Attempting to do sampling without retrieved chunks like so:

sampled = wrapper.generate(filter_thres = 0.9, temperature = 1.0) # (1, <2049) terminates early if all <eos>

Produces a missing keyword encoder error.

PR #18 fixes this and you can verify using this colab: https://colab.research.google.com/drive/1HdQEdDPKXP-N54J6SNwB8nVwz3PS6mCI?usp=sharing

@ncoop57 ncoop57 closed this as completed Apr 30, 2022
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

No branches or pull requests

1 participant