Closed awkrail closed 7 months ago
Hi @awkrail thanks for the feedback!
I downloaded the weights again from Zenodo and git-cloned the repo. I can run the inference on Windows and Linux. Therefore, the issue does not seem to be in the weights (as verified by your md5 checksum) or inference code.
Can you share the Transformers library version you are using? Maybe the GPT2 model class in new version of Transformers has some changes
@soham97 Thank you for your advice, I downgraded the transformers to 4.28.1 as with requirements.txt, and fixed the issue. I close this issue.
Hi, @soham97
Related to #9 (But cannot solve my error).
Thank you for sharing your great work! I downloaded the weights from Zendoo and put them in
configs/
Then, I run the following codes.And got the missing_keys errors. I checked the md5 checksum but the values are correct. How can I solve this error? Thanks.