hf_model_info: Get Model Information

View source: R/hub.R

hf_model_infoR Documentation

Get Model Information

Description

Retrieve detailed information about a specific model.

Usage

hf_model_info(model_id, token = NULL)

Arguments

model_id

Character string. The model ID (e.g., "bert-base-uncased").

token

Character string or NULL. API token for authentication.

Value

A list with detailed model information.

Examples

## Not run: 
# Get model details
hf_model_info("sentence-transformers/all-MiniLM-L6-v2")

## End(Not run)

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