Open remboldt opened 4 years ago
Hey there,
You need to download the model weights first before being able to use it. Something like this:
gpt2en = GPT2Client('1558M')
gpt2en.load_model(force_download=True)
I suggest redownloading it and overwriting the weight checkpoints using the force_download=True
flag. In the case that it fails again, you may want to opt for a smaller model. I tried running it on a Raspberry Pi (I have a small cluster at home) and it didn't really work well and things got messy real soon.
Edit: I have looked online and have spoken to a few friends who also like to do TinyML projects. They suggest using the 117M model as it is the most lightweight and shouldn't cause many problems on a RaspPi
Hope this helps!
Describe the bug I was doing some simple steps.. Wanted to try out gpt-2 on my raspberry pi and I got some errors.
To Reproduce Steps to reproduce the behavior:
Expected behavior It should download the 1.5B Model and I could play around with it.
My System
What happened The model downloaded like expected. But than I got lots of errors. I tried to run again, but got the same errors.
Log (after Files already downloaded)