size_categories:n<1K license:apache-2.0 region:us
---
license: apache-2.0
pretty_name: Trending repositories on Hugging Face
size_categories:
- n<1K
configs:
- config_name: models
  data_files: "models.csv"
- config_name: datasets
  data_files: "datasets.csv"
- config_name: spaces
  data_files: "spaces.csv"
---

# Dataset Card for Dataset Name

## Dataset Description

- **Homepage:** 
- **Repository:** 
- **Paper:** 
- **Leaderboard:** 
- **Point of Contact:** Sylvain Lesage

### Dataset Summary

This dataset contains the 20 trending repositories of each type: models, datasets, and space, on Hugging Face, every day. Each type can be loaded from its own dataset config.

### Supported Tasks and Leaderboards

[More Information Needed]

### Languages

Not relevant.

## Dataset Structure

### Data Instances

The dataset contains three configurations:

**models**: the history of trending models on Hugging Face
**datasets**: the history of trending datasets on Hugging Face
**spaces**: the history of trending spaces on Hugging Face

### Data Fields

- date (string): the date of the lookup to the trending repositories
- author (string): id of the repository owner. It can be null.
- id (string): id of the repository
- rank (int64): rank in the trending repositories of its kind (model, dataset, or space). Starts at 1.
- recent_likes (int64): number of likes received lately (last week)
- likes (int64): total number of likes
- month_downloads (int64): number of downloads in the last month. Null for the spaces.

### Data Splits

Each configuration only has one split: `train` that contains all the rows.

## Dataset Creation

### Curation Rationale

The dataset is updated daily through a cron job that calls the `https://huggingface.co/api/trending?type=${repoType}&limit=20` endpoint for each repository type (model, dataset, space). The script runs in an [Observable](https://observablehq.com/@huggingface) notebook, and the files are uploaded using the [huggingface.js](https://github.com/huggingface/huggingface.js) library. 

### Source Data

#### Initial Data Collection and Normalization

Not relevant.

#### Who are the source language producers?

Not relevant.

### Annotations

#### Annotation process

Not relevant.

#### Who are the annotators?

Not relevant.

### Personal and Sensitive Information

Only public repositories are included in the trending repositories.

## Considerations for Using the Data

### Social Impact of Dataset

Not relevant.

### Discussion of Biases

The trending repositories reflect the likes given by Hugging Face users in the last week. Any bias that applies to the users can be reflected in this dataset. As a vanity metric, some users might also be tempted to generate fake likes.

### Other Known Limitations

Not relevant.

## Additional Information

### Dataset Curators

Sylvain Lesage, Hugging Face

### Licensing Information

Apache License 2.0

### Citation Information

Not relevant.

### Contributions

Not relevant.
