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

key = hash(tuple(tuple(input_ids), k)) #3

Closed
zhaozj89 opened this issue Feb 22, 2021 · 1 comment
Closed

key = hash(tuple(tuple(input_ids), k)) #3

zhaozj89 opened this issue Feb 22, 2021 · 1 comment

Comments

@zhaozj89
Copy link

https://github.com/princeton-nlp/calm-textgame/blob/master/lm/gpt.py#L36 Is here an error or intended? tuple seems only accept one parameter. I used Python3.6. Thanks.

@ysymyth
Copy link
Member

ysymyth commented Feb 22, 2021

Thanks for pointing out the bug! Fixed now.

@ysymyth ysymyth closed this as completed Feb 22, 2021
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

2 participants