Open Kontrolix opened 1 year ago
Add taking into account the env var TIKTOKEN_FORCE_CACHE. When TIKTOKEN_FORCE_CACHE is set to "1", tiktoken will read BPE files only from the local cache.
It allows us to have control over when BPE files are downloaded from the internet.
Add taking into account the env var TIKTOKEN_FORCE_CACHE. When TIKTOKEN_FORCE_CACHE is set to "1", tiktoken will read BPE files only from the local cache.
It allows us to have control over when BPE files are downloaded from the internet.