wordpiece_cache_dir {wordpiece} | R Documentation |
Retrieve Directory for wordpiece Cache
Description
The wordpiece cache directory is a platform- and user-specific path where wordpiece saves caches (such as a downloaded vocabulary). You can override the default location in a few ways:
Option:
wordpiece.dir
Useset_wordpiece_cache_dir
to set a specific cache directory for this sessionEnvironment:
WORDPIECE_CACHE_DIR
Set this environment variable to specify a wordpiece cache directory for all sessions.Environment:
R_USER_CACHE_DIR
Set this environment variable to specify a cache directory root for all packages that use the caching system.
Usage
wordpiece_cache_dir()
Value
A character vector with the normalized path to the cache.
[Package wordpiece version 2.1.3 Index]