Skip to contents

Get basic information of BERT models.

Usage

BERT_info(models = NULL)

Arguments

models

Model names at HuggingFace.

Value

A data.table of model name, model file size, vocabulary size (of word/token embeddings), embedding dimensions (of word/token embeddings), and [MASK] token.

Examples

if (FALSE) { # \dontrun{
models = c("bert-base-uncased", "bert-base-cased")
BERT_info(models)

BERT_info()  # information of all downloaded models
} # }