download_gender_model: Download neural network model files

View source: R/get_gender_nn.R

download_gender_modelR Documentation

Download neural network model files

Description

Downloads the pre-trained model weights and vocabulary from Hugging Face to a local cache directory. This is required before using get_gender_nn.

Usage

download_gender_model()

Details

Files are stored in tools::R_user_dir("genderBR", "cache") and only downloaded if not already present.

Value

Invisible character vector with the paths to the downloaded files.

Examples

## Not run: 
download_gender_model()

## End(Not run)


genderBR documentation built on July 13, 2026, 1:06 a.m.