Skip to content

Commit

Permalink
[2024.7]
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce committed Aug 1, 2024
1 parent 8215b6c commit 9210be3
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
6 changes: 3 additions & 3 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Version: 2024.6
Date: 2024-06-12 14:38:07 UTC
SHA: 18cc22695b8c596044f4d2e85f6373ba37012258
Version: 2024.7
Date: 2024-07-29 13:00:24 UTC
SHA: 8215b6cf8ed15df403755fd5b32361ec25119bec
5 changes: 3 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: FMAT
Title: The Fill-Mask Association Test
Version: 2024.6
Date: 2024-06-12
Version: 2024.7
Date: 2024-07-29
Authors@R:
c(person(given = "Han-Wu-Shuang",
family = "Bao",
Expand All @@ -11,6 +11,7 @@ Authors@R:
Maintainer: Han-Wu-Shuang Bao <baohws@foxmail.com>
Description:
The Fill-Mask Association Test ('FMAT')
<doi:10.1037/pspa0000396>
is an integrative and probability-based method using
Masked Language Models to measure conceptual associations
(e.g., attitudes, biases, stereotypes, social norms, cultural values)
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
**Please check the [latest news (change log)](https://psychbruce.github.io/FMAT/news/index.html) and keep this package updated.**

# FMAT 2024.7

- Added the DOI link for the online published *JPSP* article: <https://doi.org/10.1037/pspa0000396>.

# FMAT 2024.6

- Fixed bugs: Now only `BERT_download()` connects to the Internet, while all the other functions run in an offline way.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

😷 The Fill-Mask Association Test (掩码填空联系测验).

The *Fill-Mask Association Test* (FMAT) is an integrative and probability-based method using [BERT Models] to measure conceptual associations (e.g., attitudes, biases, stereotypes, social norms, cultural values) as *propositions* in natural language ([Bao, 2024, *JPSP*](https://psychbruce.github.io/FMAT/#citation)).
The *Fill-Mask Association Test* (FMAT) is an integrative and probability-based method using [BERT Models] to measure conceptual associations (e.g., attitudes, biases, stereotypes, social norms, cultural values) as *propositions* in natural language ([Bao, 2024, *JPSP*](https://psycnet.apa.org/record/2025-01071-001)).

⚠️ *Please update this package to version ≥ 2024.6 for faster and more robust functionality.*

Expand All @@ -28,7 +28,7 @@ Han-Wu-Shuang (Bruce) Bao 包寒吴霜

- Bao, H.-W.-S. (2023). *FMAT: The Fill-Mask Association Test*. <https://CRAN.R-project.org/package=FMAT>
- *Note*: This is the original citation. Please refer to the information when you `library(FMAT)` for the APA-7 format of the version you installed.
- Bao, H.-W.-S. (2024). The Fill-Mask Association Test (FMAT): Measuring propositions in natural language. *Journal of Personality and Social Psychology*. Advance online publication. DOI: 10.1037/pspa0000396
- Bao, H.-W.-S. (2024). The Fill-Mask Association Test (FMAT): Measuring propositions in natural language. *Journal of Personality and Social Psychology*. Advance online publication. <https://doi.org/10.1037/pspa0000396>
- Bao, H.-W.-S., & Gries, P. (2024). Intersectional race–gender stereotypes in natural language. *British Journal of Social Psychology*. Advance online publication. <https://doi.org/10.1111/bjso.12748>

## Installation
Expand Down Expand Up @@ -89,7 +89,7 @@ Use `BERT_info()` and `BERT_vocab()` to find detailed information of BERT models

### Step 2: Design FMAT Queries

Design queries that conceptually represent the constructs you would measure (see [Bao, 2024, *JPSP*](https://psychbruce.github.io/FMAT/#citation) for how to design queries).
Design queries that conceptually represent the constructs you would measure (see [Bao, 2024, *JPSP*](https://psycnet.apa.org/record/2025-01071-001) for how to design queries).

Use `FMAT_query()` and/or `FMAT_query_bind()` to prepare a `data.table` of queries.

Expand Down

0 comments on commit 9210be3

Please sign in to comment.