r-tensorflow / gpt2

R Interface to OpenAI's GPT-2 model
https://openai.com/blog/better-language-models/
MIT License
27 stars 5 forks source link

Error in board_bin_store #7

Open cgpeltier opened 3 years ago

cgpeltier commented 3 years ago

When running:

reticulate::use_condaenv(required = TRUE, condaenv = "r-gpt2")
gpt2::gpt2(model = "124M")

I get

Error in board_pin_store(board, x, name, description, "files", list(extension = extension),  : 
  Client error: (404) Not Found. Failed to download remote file: https://storage.googleapis.com/gpt-2/models/124M/checkpoint

Following that link I get an XML doc that says

<Error>
<Code>NoSuchBucket</Code>
<Message>The specified bucket does not exist.</Message>
</Error>

Not sure, but from here it looks like maybe they moved the models to a new hosting?

JBX028 commented 3 years ago

HI @cgpeltier I am getting exactly the same error. file https://github.com/r-tensorflow/gpt2/blob/master/R/download.R has to be updated in order to reference the new directory. I will download the source, make the change and use this new version. Should be ok this way....

JBX028 commented 3 years ago

Hi, I forked the project and submitted a pull request.