hf_python_depends: Install Python Dependencies

View source: R/zzz.R

hf_python_dependsR Documentation

Install Python Dependencies

Description

Installs python packages needed to run huggingfaceR functions

Usage

hf_python_depends(
  packages = c("transformers", "sentencepiece", "huggingface_hub", "datasets",
    "sentence-transformers")
)

Arguments

packages

Python libraries needed for local model usage.
Defaults to transformers, sentencepiece, huggingface_hub, datasets, and sentence-transformers.


farach/huggingfaceR documentation built on Feb. 4, 2023, 10:31 p.m.