princeton-nlp / calm-textgame

[EMNLP 2020] Keep CALM and Explore: Language Models for Action Generation in Text-based Games
64 stars 7 forks source link

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

Closed zhaozj89 closed 3 years ago

zhaozj89 commented 3 years ago

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 commented 3 years ago

Thanks for pointing out the bug! Fixed now.