Datasets:
Update README.md
#1
by lvwerra HF Staff - opened
59 unmodified lines606162636465666766686970718 unmodified lines80818281838485861 unmodified line888990899192939459 unmodified lines|Release|Description||-|-||v1.1| This is the first release of the metadata. It is for The Stack v1.1||v1.2| Metadata dataset matching The Stack v1.2|
### Dataset Summary
This is a set of additional information for repositotoreis used for The Stack. It contains file paths, detected licenes as well as some other information for the repostiories.This is a set of additional information for repositories used for The Stack. It contains file paths, detected licenes as well as some other information for the repositories.
### Supported Tasks and Leaderboards
8 unmodified lines

As na example of aggregation operation on The Stack, the image above shows conceptually a selection of stars ( and issues and PR count) for a file. Each unique file can be part of multiple repositories. So, The Stack releases unique files and aggregates meta information (e.g stars) from all repositories it belongs to. For example, for max_stars_count we take the maximum number of stars from all repositories the file is part of.As an example of an aggregation operation on The Stack, the image above shows conceptually a selection of stars ( and issues and PR count) for a file. Each unique file can be part of multiple repositories. So, The Stack releases unique files and aggregates meta information (e.g stars) from all repositories it belongs to. For example, for max_stars_count we take the maximum number of stars from all repositories the file is part of.
The meta data will allow you to reconstruct repository directory structures. For this, for each repository form `ri` tabele it is needed to take all its files from `fi` table, find them in The Stack by file's `hexsha` and save those files' content under its path for a repository from `fi` table. For speed it is preferable to index The Stack by hexsha first.1 unmodified line### Usage Example
Restore folder structure for python files in numpy repository``````pythonimport datasetsfrom pathlib import Pathfrom tqdm.auto import tqdmREADME.md+5-3