set_wordpiece_cache_dir: Set a Cache Directory for wordpiece

View source: R/utils.R

set_wordpiece_cache_dirR Documentation

Set a Cache Directory for wordpiece

Description

Use this function to override the cache path used by wordpiece for the current session. Set the WORDPIECE_CACHE_DIR environment variable for a more permanent change.

Usage

set_wordpiece_cache_dir(cache_dir = NULL)

Arguments

cache_dir

Character scalar; a path to a cache directory.

Value

A normalized path to a cache directory. The directory is created if the user has write access and the directory does not exist.


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