Learn R Programming

wru (version 3.1.0)

resolve_ebisg_model: Resolve an ebisg.model argument into a config list

Description

Resolve an ebisg.model argument into a config list

Usage

resolve_ebisg_model(ebisg.model)

Value

A list with elements transformer, dim, surname_mlp, firstname_mlp, fullname_mlp, tag.

Arguments

ebisg.model

A character string giving the HuggingFace model ID of a built-in model (e.g., "intfloat/multilingual-e5-large"), or a named list with elements transformer, dim, surname_mlp, and optionally firstname_mlp.