download_data.Rd
This function gives access to key datasets included in the baserater
package.
download_data(
which = c("database", "validation_ratings", "typicality_matrix_gpt4",
"typicality_matrix_llama3.3", "material"),
dest = NULL
)
A tibble with the requested data.
The "database"
object includes all base-rate items along with stereotype strength estimates from GPT-4 and LLaMA 3.3.
The "validation_ratings"
object contains average typicality judgments from 50 human participants on 100 group–adjective pairs, as well as ratings from GPT-4 and LLaMA 3.3.
The "typicality_matrix_gpt4"
and "typicality_matrix_llama3.3"
objects are raw typicality matrices generated by each model.
The "material"
object contains the lists of individual groups and adjectives used to build the base-rate database.
# Load the full base-rate database (LLM-generated stereotype strengths)
database <- download_data("database")
# Load validation ratings (human, GPT-4, LLaMA 3.3) for 100 items
ratings <- download_data("validation_ratings")
# Load the raw typicality matrix from GPT-4
gpt4_matrix <- download_data("typicality_matrix_gpt4")
# Load the raw typicality matrix from LLaMA 3.3
llama3_matrix <- download_data("typicality_matrix_llama3.3")
# Load group and adjective material used to build the database
material <- download_data("material")