BERT_info: Get basic information of BERT models.

View source: R/FMAT.R

BERT_infoR 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)


FMAT documentation built on Sept. 11, 2024, 8:28 p.m.