BERT_download {FMAT} | R Documentation |
Download and save BERT models to local cache folder.
Description
Download and save BERT models to local cache folder "%USERPROFILE%/.cache/huggingface".
Usage
BERT_download(models = NULL, verbose = FALSE)
Arguments
models |
A character vector of model names at HuggingFace. |
verbose |
Alert if a model has been downloaded.
Defaults to |
Value
Invisibly return a data.table of basic file information of local models.
See Also
Examples
## Not run:
models = c("bert-base-uncased", "bert-base-cased")
BERT_download(models)
BERT_download() # check downloaded models
BERT_info() # information of all downloaded models
## End(Not run)
[Package FMAT version 2025.4 Index]