salesforce / progen

Official release of the ProGen models
BSD 3-Clause "New" or "Revised" License
627 stars 115 forks source link

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

Open bj600800 opened 1 year ago

bj600800 commented 1 year ago

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.