-
Notifications
You must be signed in to change notification settings - Fork 735
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
Is there a way for tiktoken to interoperate better with offline AI software? #232
Comments
Same question how to use it offline |
That solution works. Tested it myself. Thank you for finding it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For instance there are bug reports from users trying to run software in offline only mode, but because those libraries use tiktoken and it goes out to download vocab files, those users get an error like:
In that last issue for example the issue was:
Perhaps tiktoken could respect an environmental variable like
OFFLINE
similar toTERM=dumb
for terminals and throw an error ofvocab file.xyz not present, not downloading because OFFLINE=1 environmental variable set
?Thanks!
The text was updated successfully, but these errors were encountered: