{
  "_id": "6ac0b2d191601a2ad2997807",
  "Package": "FMAT",
  "Title": "The Fill-Mask Association Test",
  "Version": "2026.1",
  "Date": "2026-01-01",
  "Authors@R": "c(person(given = \"Han Wu Shuang\",\nfamily = \"Bao\",\nrole = c(\"aut\", \"cre\"),\nemail = \"baohws@foxmail.com\",\ncomment = c(ORCID = \"0000-0003-3043-710X\")))",
  "Maintainer": "Han Wu Shuang Bao <baohws@foxmail.com>",
  "Description": "The Fill-Mask Association Test ('FMAT')\n<doi:10.1037/pspa0000396> is an integrative, probability-based\nsocial computing method using Masked Language Models to measure\nconceptual associations (e.g., attitudes, biases, stereotypes,\nsocial norms, cultural values) as propositional semantic\nrepresentations in natural language. Supported language models\ninclude 'BERT' <doi:10.48550/arXiv.1810.04805> and its variants\navailable at 'Hugging Face'\n<https://huggingface.co/models?pipeline_tag=fill-mask>.\nMethodological references and installation guidance are\nprovided at <https://psychbruce.github.io/FMAT/>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "URL": "https://psychbruce.github.io/FMAT/",
  "BugReports": "https://github.com/psychbruce/FMAT/issues",
  "SystemRequirements": "Python (>= 3.9.0)",
  "RoxygenNote": "7.3.3",
  "Roxygen": "list(markdown = TRUE)",
  "Config/pak/sysreqs": "libicu-dev libpng-dev libxml2-dev libssl-dev\npython3",
  "Repository": "https://psychbruce.r-universe.dev",
  "Date/Publication": "2026-03-07 08:47:15 UTC",
  "RemoteUrl": "https://github.com/psychbruce/fmat",
  "RemoteRef": "HEAD",
  "RemoteSha": "4341b67f87f65855e020e73f0155ac90d8d61f24",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-03 07:42:45 UTC",
    "User": "root"
  },
  "Author": "Han Wu Shuang Bao [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-3043-710X>)",
  "_user": "psychbruce",
  "_type": "src",
  "_file": "FMAT_2026.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/c9a5b40cbdb8e73c0d9aa506982f9b1b6f72300f3f1cf978da9983b86f701c0e",
  "_filesize": 198158,
  "_sha256": "c9a5b40cbdb8e73c0d9aa506982f9b1b6f72300f3f1cf978da9983b86f701c0e",
  "_expires": "2027-01-11T07:46:23.000Z",
  "_created": "2026-10-03T07:42:45.000Z",
  "_published": "2026-10-03T07:46:25.556Z",
  "_jobs": [
    {
      "job": 111158133154,
      "time": 182,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11267619138"
    },
    {
      "job": 111158133181,
      "time": 177,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11268581389"
    },
    {
      "job": 111158133102,
      "time": 112,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11268940358"
    },
    {
      "job": 111158133127,
      "time": 94,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11268451357"
    },
    {
      "job": 111157451554,
      "time": 256,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11268183499"
    },
    {
      "job": 111158133087,
      "time": 159,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11268376598"
    },
    {
      "job": 111158133124,
      "time": 95,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11267814087"
    },
    {
      "job": 111158133130,
      "time": 104,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11268371456"
    },
    {
      "job": 111158133163,
      "time": 91,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11267289219"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/psychbruce/actions/runs/37107006137",
  "_status": "success",
  "_upstream": "https://github.com/psychbruce/fmat",
  "_commit": {
    "id": "4341b67f87f65855e020e73f0155ac90d8d61f24",
    "author": "Bruce <psychbruce@qq.com>",
    "committer": "Bruce <psychbruce@qq.com>",
    "message": "[2026.1]\n",
    "time": 1772873235
  },
  "_maintainer": {
    "name": "Han Wu Shuang Bao",
    "email": "baohws@foxmail.com",
    "login": "psychbruce",
    "twitter": "@BaoHWS",
    "description": "🔮 Social Computing & Causal Discovery | Assistant Professor @ ECNU",
    "uuid": 34391475,
    "orcid": "0000-0003-3043-710X"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "reticulate",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "role": "Imports"
    },
    {
      "package": "rvest",
      "role": "Imports"
    },
    {
      "package": "psych",
      "role": "Imports"
    },
    {
      "package": "irr",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "crayon",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "plyr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "bruceR",
      "role": "Suggests"
    },
    {
      "package": "PsychWordVec",
      "role": "Suggests"
    },
    {
      "package": "text",
      "role": "Suggests"
    },
    {
      "package": "sweater",
      "role": "Suggests"
    },
    {
      "package": "nlme",
      "role": "Suggests"
    }
  ],
  "_owner": "psychbruce",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-50",
      "n": 3
    },
    {
      "week": "2025-51",
      "n": 1
    },
    {
      "week": "2025-52",
      "n": 1
    },
    {
      "week": "2026-10",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "ai",
    "artificial-intelligence",
    "bert",
    "bert-model",
    "bert-models",
    "contextualized-representation",
    "fill-in-the-blank",
    "fill-mask",
    "huggingface",
    "language-model",
    "language-models",
    "large-language-models",
    "masked-language-models",
    "natural-language-processing",
    "natural-language-understanding",
    "nlp",
    "pretrained-models",
    "transformer",
    "transformers"
  ],
  "_stars": 16,
  "_userbio": {
    "uuid": 34391475,
    "type": "user",
    "name": "Bruce H. W. S. Bao",
    "followers": 203,
    "description": "🔮 Social Computing & Causal Discovery | Assistant Professor @ ECNU"
  },
  "_downloads": {
    "count": 465,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/FMAT"
  },
  "_devurl": "https://github.com/psychbruce/fmat",
  "_pkgdown": "https://psychbruce.github.io/FMAT/",
  "_searchresults": 7,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/FMAT.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/psychbruce/fmat",
  "_realowner": "psychbruce",
  "_cranurl": true,
  "_releases": [
    {
      "version": "2023.8",
      "date": "2023-08-11"
    },
    {
      "version": "2024.3",
      "date": "2024-03-22"
    },
    {
      "version": "2024.4",
      "date": "2024-04-29"
    },
    {
      "version": "2024.5",
      "date": "2024-05-19"
    },
    {
      "version": "2024.6",
      "date": "2024-06-14"
    },
    {
      "version": "2024.7",
      "date": "2024-07-29"
    },
    {
      "version": "2025.3",
      "date": "2025-03-22"
    },
    {
      "version": "2025.4",
      "date": "2025-04-08"
    },
    {
      "version": "2025.8",
      "date": "2025-08-19"
    },
    {
      "version": "2025.12",
      "date": "2025-12-15"
    },
    {
      "version": "2026.1",
      "date": "2026-01-12"
    }
  ],
  "_exports": [
    ".",
    "BERT_download",
    "BERT_info",
    "BERT_info_date",
    "BERT_remove",
    "BERT_vocab",
    "fill_mask",
    "fill_mask_check",
    "FMAT_query",
    "FMAT_query_bind",
    "FMAT_run",
    "ICC_models",
    "LPR_reliability",
    "set_cache_folder",
    "special_case",
    "weight_decay"
  ],
  "_help": [
    {
      "page": "BERT_download",
      "title": "Download and save BERT models to local cache folder.",
      "topics": [
        "BERT_download"
      ]
    },
    {
      "page": "BERT_info",
      "title": "Get basic information of BERT models.",
      "topics": [
        "BERT_info"
      ]
    },
    {
      "page": "BERT_info_date",
      "title": "Scrape the initial commit date of BERT models.",
      "topics": [
        "BERT_info_date"
      ]
    },
    {
      "page": "BERT_remove",
      "title": "Remove BERT models from local cache folder.",
      "topics": [
        "BERT_remove"
      ]
    },
    {
      "page": "BERT_vocab",
      "title": "Check if mask words are in the model vocabulary.",
      "topics": [
        "BERT_vocab"
      ]
    },
    {
      "page": "fill_mask",
      "title": "Run the fill-mask pipeline and check the raw results.",
      "topics": [
        "fill_mask",
        "fill_mask_check"
      ]
    },
    {
      "page": "FMAT_query",
      "title": "Prepare a data.table of queries and variables for the FMAT.",
      "topics": [
        "FMAT_query"
      ]
    },
    {
      "page": "FMAT_query_bind",
      "title": "Combine multiple query data.tables and renumber query ids.",
      "topics": [
        "FMAT_query_bind"
      ]
    },
    {
      "page": "FMAT_run",
      "title": "Run the fill-mask pipeline on multiple models (CPU / GPU).",
      "topics": [
        "FMAT_run"
      ]
    },
    {
      "page": "ICC_models",
      "title": "Intraclass correlation coefficient (ICC) of BERT models.",
      "topics": [
        "ICC_models"
      ]
    },
    {
      "page": "LPR_reliability",
      "title": "Reliability analysis (Cronbach's alpha) of LPR.",
      "topics": [
        "LPR_reliability"
      ]
    },
    {
      "page": "set_cache_folder",
      "title": "Set (change) HuggingFace cache folder temporarily.",
      "topics": [
        "set_cache_folder"
      ]
    },
    {
      "page": "special_case",
      "title": "Specify models that require special treatment to ensure accuracy.",
      "topics": [
        "special_case"
      ]
    },
    {
      "page": "summary.fmat",
      "title": "[S3 method] Summarize the results for the FMAT.",
      "topics": [
        "summary.fmat"
      ]
    },
    {
      "page": "weight_decay",
      "title": "Compute a vector of weights with a decay rate.",
      "topics": [
        "weight_decay"
      ]
    }
  ],
  "_pkglogo": "https://github.com/psychbruce/fmat/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/psychbruce/fmat/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "cpp11",
    "crayon",
    "curl",
    "data.table",
    "dplyr",
    "forcats",
    "generics",
    "glue",
    "GPArotation",
    "here",
    "httr",
    "irr",
    "jsonlite",
    "lattice",
    "lifecycle",
    "lpSolve",
    "magrittr",
    "Matrix",
    "mime",
    "mnormt",
    "nlme",
    "openssl",
    "pillar",
    "pkgconfig",
    "plyr",
    "png",
    "psych",
    "purrr",
    "R6",
    "rappdirs",
    "Rcpp",
    "RcppTOML",
    "reticulate",
    "rlang",
    "rprojroot",
    "rvest",
    "selectr",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr",
    "xml2"
  ],
  "_score": 4.505149978319906,
  "_indexed": true,
  "_nocasepkg": "fmat",
  "_universes": [
    "psychbruce"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2026.1",
      "date": "2026-10-03T07:45:44.000Z",
      "distro": "resolute",
      "commit": "4341b67f87f65855e020e73f0155ac90d8d61f24",
      "fileid": "https://r2.ropensci.org/3acd9fc96d8ba8886ae5c83d405b8041e75f4035b08832598143500e51104917",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/psychbruce/actions/runs/37107006137"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2026.1",
      "date": "2026-10-03T07:45:39.000Z",
      "distro": "resolute",
      "commit": "4341b67f87f65855e020e73f0155ac90d8d61f24",
      "fileid": "https://r2.ropensci.org/5301c6fc95dcd25ade5ac51b7816f6f701704b411e6bbc941987628cc866422f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/psychbruce/actions/runs/37107006137"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2026.1",
      "date": "2026-10-03T07:45:06.000Z",
      "commit": "4341b67f87f65855e020e73f0155ac90d8d61f24",
      "fileid": "https://r2.ropensci.org/82e4116dfba976fa2ca500c84b8c0ad089f005c5ffc6495258135563355efe44",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/psychbruce/actions/runs/37107006137"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2026.1",
      "date": "2026-10-03T07:44:51.000Z",
      "commit": "4341b67f87f65855e020e73f0155ac90d8d61f24",
      "fileid": "https://r2.ropensci.org/fa578c4d451434e013f2e171516a3caca48c2c0a4c7235f52c46ecf56441a15c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/psychbruce/actions/runs/37107006137"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2026.1",
      "date": "2026-10-03T07:45:38.000Z",
      "commit": "4341b67f87f65855e020e73f0155ac90d8d61f24",
      "fileid": "https://r2.ropensci.org/0a8d4196bbcd55b0d5247242f57635013d7d3bd8dcfda1b9bba56cae320a2c30",
      "status": "success",
      "buildurl": "https://github.com/r-universe/psychbruce/actions/runs/37107006137"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2026.1",
      "date": "2026-10-03T07:44:12.000Z",
      "commit": "4341b67f87f65855e020e73f0155ac90d8d61f24",
      "fileid": "https://r2.ropensci.org/0eaf1546ce3db1f7270b800993e03cd519a6e8bb9fb72c132c0fc82677dae7e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/psychbruce/actions/runs/37107006137"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2026.1",
      "date": "2026-10-03T07:44:13.000Z",
      "commit": "4341b67f87f65855e020e73f0155ac90d8d61f24",
      "fileid": "https://r2.ropensci.org/6df83aaab2634bfa8b0286b7aeaf924c959ac2fd3ba575ab249235d4cd5c72cf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/psychbruce/actions/runs/37107006137"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2026.1",
      "date": "2026-10-03T07:44:08.000Z",
      "commit": "4341b67f87f65855e020e73f0155ac90d8d61f24",
      "fileid": "https://r2.ropensci.org/59d0d0d467731e123acf763f62b42813ea47418a62c910939adf675370e1bedb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/psychbruce/actions/runs/37107006137"
    }
  ]
}