FileNotFoundError: [Errno 2] No such file or directory: 'models/117M/encoder.json' · Issue #19 · rish-16/gpt2client · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 3, 2021. It is now read-only.
Hey there,
You need to download the model first. Try out this code snippet:
fromgpt2_clientimportGPT2Clientgpt2=GPT2Client('117M')
gpt2.load_model() # if you already have the model checkpoints, then it will automatically search for it and use themgpt2.generate(interactive=True)
Code:
Crash:
This error occurs for every model.
macOS Catalina 10.15
The text was updated successfully, but these errors were encountered: