.load_weights | R Documentation |
Loads specified pretrained weights into the given BERT model.
.load_weights(
model,
model_name = "microsoft/layoutlm-base-uncased",
redownload = FALSE,
timeout = 720
)
model |
A transformers-type |
model_name |
Character; which public Transformers model weights to use. Must be compatible
with |
redownload |
Logical: Shall we force redownload the model weights ? |
The number of model parameters updated. (This is to enable error checks; the function is called for side effects.)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.