| set_cache_folder | R Documentation |
This function allows you to change the default cache directory (when it lacks storage space) to another path (e.g., your portable SSD) temporarily.
set_cache_folder(path = NULL)
path |
Folder path to store HuggingFace models. If |
This function takes effect only for the current R session temporarily, so you should run this each time BEFORE you use other FMAT functions in an R session.
## Not run:
library(FMAT)
set_cache_folder("D:/huggingface_cache/")
# -> models would be saved to "D:/huggingface_cache/hub/"
# run this function each time before using FMAT functions
BERT_download()
BERT_info()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.