Datasets:

Languages:
code
Multilinguality:
multilingual
Size Categories:
unknown
ArXiv:
Tags:
License:
denisko commited on
Commit
a21ce4f
1 Parent(s): fe7f351

added some description

Browse files
Files changed (3) hide show
  1. README.md +106 -0
  2. images/structure.png +3 -0
  3. images/usage.png +3 -0
README.md ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ annotations_creators: []
3
+ language_creators:
4
+ - crowdsourced
5
+ - expert-generated
6
+ language:
7
+ - code
8
+ license:
9
+ - other
10
+ multilinguality:
11
+ - multilingual
12
+ pretty_name: The-Stack-Metadata
13
+ size_categories:
14
+ - unknown
15
+ source_datasets: []
16
+ task_categories:
17
+ - text-generation
18
+ task_ids: []
19
+
20
+ extra_gated_prompt: |-
21
+ ## Terms of Use for The Stack
22
+ The Stack Metadata is a collection of additional information for and is part of The Stack dataset, - a collection of source code in over 300 programming languages. We ask that you read and acknowledge the following points before using the dataset:
23
+ 1. The Stack is a collection of source code from repositories with various licenses. Any use of all or part of the code gathered in The Stack must abide by the terms of the original licenses, including attribution clauses when relevant. We facilitate this by providing provenance information for each data point.
24
+ 2. The Stack is regularly updated to enact validated data removal requests. By clicking on "Access repository", you agree to update your own version of The Stack to the most recent usable version specified by the maintainers in [the following thread](https://huggingface.co/datasets/bigcode/the-stack/discussions/7). If you have questions about dataset versions and allowed uses, please also ask them in the dataset’s [community discussions](https://huggingface.co/datasets/bigcode/the-stack/discussions/new). We will also notify users via email when the latest usable version changes.
25
+ 3. To host, share, or otherwise provide access to The Stack dataset, you must include [these Terms of Use](https://huggingface.co/datasets/bigcode/the-stack#terms-of-use-for-the-stack) and require users to agree to it.
26
+
27
+ By clicking on "Access repository" below, you accept that your contact information (email address and username) can be shared with the dataset maintainers as well.
28
+
29
+ extra_gated_fields:
30
+ Email: text
31
+ I have read the License and agree with its terms: checkbox
32
+ ---
33
+
34
+ # Dataset Card for The Stack Metadata
35
+
36
+ ## Table of Contents
37
+ - [Table of Contents](#table-of-contents)
38
+ - [Dataset Description](#dataset-description)
39
+ - [Changelog](#changelog)
40
+ - [Dataset Summary](#dataset-summary)
41
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
42
+ - [Languages](#languages)
43
+ - [Dataset Structure](#dataset-structure)
44
+ - [Data Instances](#data-instances)
45
+ - [Data Fields](#data-fields)
46
+ - [Data Splits](#data-splits)
47
+ - [Dataset Creation](#dataset-creation)
48
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
49
+ - [Additional Information](#additional-information)
50
+ - [Terms of Use for The Stack](#terms-of-use-for-the-stack)
51
+
52
+ ## Dataset Description
53
+
54
+ - **Homepage:** https://www.bigcode-project.org/
55
+ - **Repository:** https://github.com/bigcode-project
56
+ - **Paper:** https://arxiv.org/abs/2211.15533
57
+ - **Leaderboard:** N/A
58
+ - **Point of Contact:** contact@bigcode-project.org
59
+
60
+ ### Changelog
61
+
62
+ |Release|Description|
63
+ |-|-|
64
+ |v1.1| This is the first release of the metadata. It is for The Stack v1.1|
65
+
66
+ ### Dataset Summary
67
+
68
+ 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.
69
+
70
+ ### Supported Tasks and Leaderboards
71
+
72
+ The main task is to recreate repository structure from the files of The Stack. Also, the set can be used for computing statistics and custom filtering or aggregation operations on The Stack.
73
+
74
+ ## Dataset Structure
75
+
76
+ ### Data Fields
77
+ ![set structure](images/structure.png)
78
+ The set is split into buckets by repositories. There are 944 buckets. Additionally to the fields in the image, `ri` contains `min_repo_event_datetime` which is the ealiest data and time of an event for a repo after Jan 1 2015.
79
+
80
+
81
+ ![set usage](images/usage.png)
82
+
83
+ 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.
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.
87
+
88
+
89
+ [More Information Needed]
90
+
91
+ ## Dataset Creation
92
+
93
+ Please refer to [the section](https://huggingface.co/datasets/bigcode/the-stack#dataset-creation) in The Stack.
94
+
95
+ ## Considerations for Using the Data
96
+
97
+ Please refer to [the section](https://huggingface.co/datasets/bigcode/the-stack#considerations-for-using-the-data) in The Stack.
98
+
99
+ ## Additional Information
100
+
101
+ Please refer to [the section](https://huggingface.co/datasets/bigcode/the-stack#additional-information) in The Stack.
102
+
103
+
104
+ ## Terms of Use for The Stack
105
+
106
+ Please refer to [the section](https://huggingface.co/datasets/bigcode/the-stack#terms-of-use-for-the-stack) in The Stack.
images/structure.png ADDED

Git LFS Details

  • SHA256: cde425a4c548f8fae149a3be73c27f32563c395bd7cef54a761e7b9d8a4a5613
  • Pointer size: 131 Bytes
  • Size of remote file: 489 kB
images/usage.png ADDED

Git LFS Details

  • SHA256: 0ba3c58235e90601f8c32ee60e79ea3653d139a8abc08ec6f54424b88d63026f
  • Pointer size: 131 Bytes
  • Size of remote file: 382 kB