| hf_list_repo_files | R Documentation |
List files and directories in a model, dataset, or Space repository.
hf_list_repo_files(
repo_id,
repo_type = "model",
revision = "main",
recursive = TRUE,
token = NULL
)
repo_id |
Character string. Repository ID, e.g. "BAAI/bge-small-en-v1.5". |
repo_type |
Character string. One of "model", "dataset", or "space". |
revision |
Character string. Git revision, branch, or tag. Default: "main". |
recursive |
Logical. If TRUE, list files recursively. |
token |
Character string or NULL. API token for private repositories. |
A tibble with columns: path, type, size, oid.
## Not run:
hf_list_repo_files("BAAI/bge-small-en-v1.5")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.