download_huggingface: Download 'Hugging Face' Model

View source: R/python.R

download_huggingfaceR Documentation

Download 'Hugging Face' Model

Description

Download a model from 'Hugging Face' to a local folder, to be used in e.g. get_embeddings.

Usage

download_huggingface(model, path, ...)

Arguments

model

Atomic character, referencing a model - typically of the form "user/model".

path

Atomic character, referencing a local folder where the model is installed.

...

Arguments passed to and from functions.

Value

On success: Atomic character, with the path to the local model. On failure: NULL.


theorytools documentation built on Feb. 7, 2026, 5:06 p.m.