Learn R Programming

FMAT

Copy Link

Version

Install

install.packages('FMAT')

Monthly Downloads

486

Version

2025.4

License

GPL-3

Maintainer

Han-Wu-Shuang Bao

Last Published

April 8th, 2025

Functions in FMAT (2025.4)

set_cache_folder

Set (change) HuggingFace cache folder temporarily.
summary.fmat

[S3 method] Summarize the results for the FMAT.
BERT_info

Get basic information of BERT models.
FMAT_query

Prepare a data.table of queries and variables for the FMAT.
BERT_download

Download and save BERT models to local cache folder.
BERT_vocab

Check if mask words are in the model vocabulary.
ICC_models

Intraclass correlation coefficient (ICC) of BERT models.
LPR_reliability

Reliability analysis (Cronbach's \(\alpha\)) of LPR.
FMAT_run

Run the fill-mask pipeline on multiple models (CPU / GPU).
BERT_info_date

Scrape the initial commit date of BERT models.
BERT_remove

Remove BERT models from local cache folder.
FMAT_query_bind

Combine multiple query data.tables and renumber query ids.
.

A simple function equivalent to list.
fill_mask

Run the fill-mask pipeline and check the raw results.