| .download_weights | R Documentation |
Download weights for this model to the torchtransformers cache, or load them if they're already downloaded.
.download_weights(bert_type = "bert_tiny_uncased", redownload = FALSE)
bert_type |
Character; which flavor of BERT to use. See
|
redownload |
Logical; should the weights be downloaded fresh even if they're cached? |
The parsed weights as a named list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.