huggingfaceR: Access 'Hugging Face' Models and Datasets

Access models and datasets hosted on the 'Hugging Face' Hub through its Inference Application Programming Interface (API). Run text classification, embeddings, chat, translation, image, audio, and other tasks from tidy 'R' workflows without installing 'Python' by default. Results are returned as data frames or simple 'R' objects so they can be composed with 'dplyr', 'tidyr', and related tooling. Helpers also support Hub search, file download, provider discovery, and guarded uploads for authenticated workflows.

Getting started

Package details

AuthorAlex Farach [aut, cre, cph], Sam Terfa [aut, cph], Jack Penzer [aut, cph]
MaintainerAlex Farach <alexfarach@gmail.com>
LicenseMIT + file LICENSE
Version2.2.0
URL https://farach.github.io/huggingfaceR/ https://github.com/farach/huggingfaceR
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("huggingfaceR")

Try the huggingfaceR package in your browser

Any scripts or data that you put into this service are public.

huggingfaceR documentation built on Aug. 30, 2026, 1:06 a.m.