hf_list_datasets
Search, filter, and retrieve detailed metadata for datasets on the Hugging Face Hub, including downloads, likes, and tags. Refine results by author, search terms, or tags for targeted exploration.
Instructions
Get information from all datasets in the Hub. Supports filtering by search terms, authors, tags, and more. Returns paginated results with dataset metadata including downloads, likes, and tags.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
author | No | Filter datasets by author or organization (e.g., 'huggingface', 'microsoft') | |
config | No | Whether to also fetch the repo config | |
direction | No | Sort direction: '-1' for descending, anything else for ascending | |
filter | No | Filter based on tags (e.g., 'task_categories:text-classification', 'languages:en') | |
full | No | Whether to fetch most dataset data including all tags and files | |
limit | No | Limit the number of datasets fetched | |
search | No | Filter based on substrings for repos and their usernames (e.g., 'pets', 'microsoft') | |
sort | No | Property to use when sorting (e.g., 'downloads', 'author') |