Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -60,10 +60,12 @@ extra_gated_fields:
|
|
60 |
|Release|Description|
|
61 |
|-|-|
|
62 |
|v1.1| This is the first release of the metadata. It is for The Stack v1.1|
|
|
|
|
|
63 |
|
64 |
### Dataset Summary
|
65 |
|
66 |
-
This is a set of additional information for
|
67 |
|
68 |
### Supported Tasks and Leaderboards
|
69 |
|
@@ -78,7 +80,7 @@ The set is split into buckets by repositories. There are 944 buckets. Additional
|
|
78 |
|
79 |
![set usage](images/usage.png)
|
80 |
|
81 |
-
As
|
82 |
|
83 |
|
84 |
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.
|
@@ -86,7 +88,7 @@ The meta data will allow you to reconstruct repository directory structures. For
|
|
86 |
### Usage Example
|
87 |
|
88 |
Restore folder structure for python files in numpy repository
|
89 |
-
```
|
90 |
import datasets
|
91 |
from pathlib import Path
|
92 |
from tqdm.auto import tqdm
|
|
|
60 |
|Release|Description|
|
61 |
|-|-|
|
62 |
|v1.1| This is the first release of the metadata. It is for The Stack v1.1|
|
63 |
+
|v1.2| Metadata dataset matching The Stack v1.2|
|
64 |
+
|
65 |
|
66 |
### Dataset Summary
|
67 |
|
68 |
+
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.
|
69 |
|
70 |
### Supported Tasks and Leaderboards
|
71 |
|
|
|
80 |
|
81 |
![set usage](images/usage.png)
|
82 |
|
83 |
+
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.
|
84 |
|
85 |
|
86 |
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.
|
|
|
88 |
### Usage Example
|
89 |
|
90 |
Restore folder structure for python files in numpy repository
|
91 |
+
```python
|
92 |
import datasets
|
93 |
from pathlib import Path
|
94 |
from tqdm.auto import tqdm
|