| BERT_info | R Documentation |
Get basic information of BERT models.
BERT_info(models = NULL)
models |
A character vector of model names at HuggingFace. |
A data.table:
model name
model type
number of parameters
vocabulary size (of input token embeddings)
embedding dimensions (of input token embeddings)
hidden layers
attention heads
[MASK] token
BERT_download()
BERT_vocab()
## Not run:
models = c("bert-base-uncased", "bert-base-cased")
BERT_info(models)
BERT_info() # information of all downloaded models
# speed: ~1.2s/model for first use; <1s afterwards
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.