You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently cache config for BPE tokenizers is set either via BpeBuilder or via config in tokenizer.json for pretrained tokenizers, hence for tokenizers loaded from a file there is no API to disable caching. This is a request to add one.
The text was updated successfully, but these errors were encountered:
because it grows uncontrollably unless one actively calls clear_cache. At the very least it should not be default behavior (it's on by default for configs that dont ever mention cache). If one wants to load a pretrained tokenizer there is no option to disable it unless manually modifying tokenizer config file.
Related to this.
Currently cache config for BPE tokenizers is set either via
BpeBuilder
or via config intokenizer.json
for pretrained tokenizers, hence for tokenizers loaded from a file there is no API to disable caching. This is a request to add one.The text was updated successfully, but these errors were encountered: