JSONDecodeError: Expecting value: line 1 column 1 (char 0)
brunodpoliveira opened this issue · 2 comments
Describe the bug
Trying to follow the Google Colab Tutorial will result in this error: JSONDecodeError: Expecting value: line 1 column 1 (char 0)
when attempting to run block gpt2.generate(interactive=True)
To Reproduce
Steps to reproduce the behavior:
- Executed following commands on the google colab notebook:
- !pip install gpt2-client
- !pip install tensorflow==1.14
- from gpt2_client import GPT2Client
- from pprint import pprint
- gpt2 = GPT2Client('117M')
- gpt2.load_model()
- !ls
- !cd models/117M && ls
- gpt2.generate(interactive=True)
Expected behavior
It should have given me a prompt to insert some text
Desktop (please complete the following information):
- OS: Ubuntu 20.04 on Oracle VM
- Google Colab notebook: https://colab.research.google.com/drive/1RZwp1n6XeWxvhBjt1e3ATSOy4Mj9GEEl#scrollTo=8Ky6w8DsT2RH
It seems like the gpt2.load_model() function is defective.
All downloaded files only contain
<?xml version='1.0' encoding='UTF-8'?><Error><Code>NoSuchBucket</Code><Message>The specified bucket does not exist.</Message></Error>
The https://storage.googleapis.com/gpt-2 bucket no longer exists
For whoever reads this, this repository (https://github.com/nshepperd/gpt-2) works correctly (tested on 17/march/2021)