.maybe_download_checkpoint | R Documentation |
Verify that the user has a specified checkpoint, and prompt to download if they don't (in interactive mode).
.maybe_download_checkpoint( model = c("bert_base_uncased", "bert_base_cased", "bert_large_uncased", "bert_large_cased", "bert_large_uncased_wwm", "bert_large_cased_wwm", "bert_base_multilingual_cased", "bert_base_chinese", "scibert_scivocab_uncased", "scibert_scivocab_cased", "scibert_basevocab_uncased", "scibert_basevocab_cased"), dir = NULL, ckpt_dir = NULL )
model |
Character vector. Which model checkpoint to download. |
dir |
Character vector. Destination directory for checkpoints. Leave
|
ckpt_dir |
The path to the subdir where this checkpoint should be saved. If model is given, ckpt_dir is inferred. |
TRUE (invisibly)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.