nuprl / MultiPL-E

A multi-programming language benchmark for LLMs
https://nuprl.github.io/MultiPL-E/
Other
200 stars 38 forks source link

Unable to load weights from pytorch checkpoint file #124

Closed LeVuMinhHuyWindows closed 9 months ago

LeVuMinhHuyWindows commented 10 months ago

I try to run: !python3 automodel.py --name mhhmm/typescript-instruct-20k --root-dataset humaneval --lang ts --temperature 0.2 --batch-size 20 --completion-limit 20 --output-dir-prefix typescript on Google Colab and it returns this error.

My model: https://huggingface.co/mhhmm/typescript-instruct-20k

OSError: Unable to load weights from pytorch checkpoint file for '/root/.cache/huggingface/hub/models--mhhmm--typescript-instruct-20k/snapshots/9ab8785b81f9e7aca9c614ca0e66e746e3c48224/pytorch_model-00001-of-00006.bin' at '/root/.cache/huggingface/hub/models--mhhmm--typescript-instruct-20k/snapshots/9ab8785b81f9e7aca9c614ca0e66e746e3c48224/pytorch_model-00001-of-00006.bin'. If you tried to load a PyTorch model from a TF 2.0 checkpoint, please set from_tf=True.

Did I do something wrong? Crying for help ...

arjunguha commented 10 months ago

The link you gave produces a 404, so I can't say much: https://huggingface.co/mhhmm/typescript-instruct-20k