| hf_search_datasets | R Documentation |
Search for datasets using various filters.
hf_search_datasets(
search = NULL,
task = NULL,
language = NULL,
size = NULL,
sort = "downloads",
limit = 30,
token = NULL
)
search |
Character string. Search query to filter datasets. |
task |
Character string. Filter by task. |
language |
Character string. Filter by language. |
size |
Character string. Filter by size: "small", "medium", "large". |
sort |
Character string. Sort by: "downloads", "likes", "created", "updated". Default: "downloads". |
limit |
Integer. Maximum number of datasets to return. Default: 30. |
token |
Character string or NULL. API token for authentication. |
A tibble with dataset information.
## Not run:
# Search datasets
hf_search_datasets(search = "sentiment", limit = 10)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.