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

Why jacobi_sample_multilevel() fill window with argmax instead of also using sampling? #53

Open
yangbohust opened this issue Mar 22, 2024 · 0 comments

Comments

@yangbohust
Copy link

I have a question, Please ask the great author to help answer this question.

Why jacobi_sample_multilevel() fill window with argmax instead of also using sampling?

code location:

past_tokens[1] = torch.argmax(outputs.inp_logits, dim=-1)[0].tolist() #fill window with argmax

past_tokens[fill_level + 1] = torch.argmax(outputs.inp_logits, dim=-1)[0].tolist()[1:] #fill window with argmax

Looking forward to your reply.
Thanks

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