salesforce / progen

Official release of the ProGen models

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

It looks like the config file at './checkpoints/progen2-large' is not a valid JSON file.

bj600800 opened this issue · comments

Cause:
Incorrect directory context of the pretrained models, i.e. progen2-large.

Solution:
mkdir progen2-large in ./checkpoints dir
mv config.json pytorch_model.bin ./progen2-large

rerun the python sample.py ****

Here's a solution for anyone who might run into this problem.