| BERT_download | R Documentation |
Download and save BERT models to local cache folder "%USERPROFILE%/.cache/huggingface".
BERT_download(models = NULL, verbose = FALSE)
models |
A character vector of model names at HuggingFace. |
verbose |
Alert if a model has been downloaded.
Defaults to |
Invisibly return a data.table of basic file information of local models.
set_cache_folder()
BERT_info()
BERT_vocab()
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.