-
Notifications
You must be signed in to change notification settings - Fork 39
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
Downloading from Github Releases sometimes times out #9
Comments
That's an issue with file hosting via Github Releases. You're the second person to report this, I might check if it's possible to host the files elsewhere. tokenizer = Tokenizer("path/to/en_tokenizer.bin") |
gunzipping failed: Custom { kind: UnexpectedEof, error: "failed to fill whole buffer" } |
Can you paste your code? And make sure the version of the binary and the library match, maybe that's the issue. |
version info: code here(python3.7):
output here:
|
btw:unzip with bandizip(windows_64):http://www.bandisoft.com/ |
I tried: tokenizer = Tokenizer.load("D:\ai\test\helloworld\en_tokenizer.bin") tokenizer = Tokenizer.load(r"D:\ai\test\helloworld\en_tokenizer.bin") tokenizer = Tokenizer.load(f"D:\ai\test\helloworld\en_tokenizer.bin") tokenizer = Tokenizer.load(f"en_tokenizer.bin") I'm not quite understand the argument that func_load passes |
Thanks for the code. So This code should work: tokenizer = Tokenizer("en_tokenizer.bin") # no .load, just Tokenizer(..)! |
The binaries are now significantly smaller so I hope this won't happen anymore. I'm closing this for now, please comment / reopen if there's anymore issues with timeouts. |
tokenizer = Tokenizer.load("en")
ValueError: error decoding response body: operation timed out
The text was updated successfully, but these errors were encountered: