Skip to content

Fetching encoder json and bpe does not work (fixed by removing a typo) #9

Open

Description

@kovacgrgur

Hello,

In trying to use your code, I ran into the error with fetching encoder.json and encoder.bpe.

I resolved the error by removing a whitespace in crop.py line 15 (there was a whitespace after "gpt-2/ ")

I changed it to:
r = requests.get("https://openaipublic.blob.core.windows.net/gpt-2/" + subdir + "/" + filename, stream=True)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions