wordpiece_cache_dir: Retrieve Directory for wordpiece Cache

View source: R/utils.R

wordpiece_cache_dirR 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.dirUse set_wordpiece_cache_dir to set a specific cache directory for this session

  • Environment: WORDPIECE_CACHE_DIRSet this environment variable to specify a wordpiece cache directory for all sessions.

  • Environment: R_USER_CACHE_DIRSet 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.


wordpiece documentation built on March 18, 2022, 5:55 p.m.