BERT_info {FMAT}R Documentation

Get basic information of BERT models.

Description

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.

See Also

BERT_download

BERT_vocab

Examples

## Not run: 
models = c("bert-base-uncased", "bert-base-cased")
BERT_info(models)

BERT_info()  # information of all downloaded models

## End(Not run)


[Package FMAT version 2024.7 Index]