-
Notifications
You must be signed in to change notification settings - Fork 728
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get_encoding error for gpt2, but other encodings fine #63
Comments
Hm, thanks for the detailed environment information, but I'm not able to reproduce. Can you set Note that even in the simple publicly available tests this code path is tested: tiktoken/tests/test_simple_public.py Line 9 in 3e86200
|
I tried to set the key, but not solved. Is there a specific path for the cache? I might need to delete the cache manually. |
The logic is here: Line 33 in 3e86200
So typically |
If that doesn't help, maybe you could set a breakpoint and see what the difference between those two dictionaries is. |
Woo, that works, after deleted the cached files, it turns right now. Thanks a lot! There might be an error of the file during or after downloading. Not sure if it is needed to check the cached file before use it, or in that |
The code is like this.
The error message is:
According to another issue that you suggest to run.
Since I don't have a python, but I have python3, so I run everything in venv.
Results are something like these.
Hopefully there is a solution. Many thanks!
The text was updated successfully, but these errors were encountered: