DanTm99 / gpt2-article-generator

An application that uses GPT-2 to generate news articles from user given prompts
55 stars 26 forks source link

New storage for OpenAI #6

Open adrianandrei-ca opened 3 years ago

adrianandrei-ca commented 3 years ago

I am trying the command on an Ubuntu machine: python3 ArticleGenerator.py -T 'Example title' -C 'Example content' -p

I get this stack trace, not being able to load the model (downloaded from the link), is this related to JSON files from Linux/Windows not being parsable? It is the encoder.json file from the models folder which contains: adrian@tensor-flow:~/repo/gpt2-article-generator/models/124M$ more hparams.json <?xml version='1.0' encoding='UTF-8'?>NoSuchBucketThe specified bucket does not exist.

Read this to run this: https://github.com/openai/gpt-2/commit/a74da5d99abaaba920de8131d64da2862a8f213b