Datasets:

Modalities:
Tabular
Text
Formats:
parquet
Languages:
code
ArXiv:
Libraries:
Datasets
Dask
License:
parquet-converter commited on
Commit
5dae278
1 Parent(s): d60a784

Update parquet files

Browse files
Files changed (28) hide show
  1. .gitattributes +24 -0
  2. README.md +0 -96
  3. banner.png +0 -3
  4. data/train-00000-of-00024.parquet → default/train/0000.parquet +0 -0
  5. data/train-00001-of-00024.parquet → default/train/0001.parquet +0 -0
  6. data/train-00002-of-00024.parquet → default/train/0002.parquet +0 -0
  7. data/train-00003-of-00024.parquet → default/train/0003.parquet +0 -0
  8. data/train-00004-of-00024.parquet → default/train/0004.parquet +0 -0
  9. data/train-00005-of-00024.parquet → default/train/0005.parquet +0 -0
  10. data/train-00006-of-00024.parquet → default/train/0006.parquet +0 -0
  11. data/train-00007-of-00024.parquet → default/train/0007.parquet +0 -0
  12. data/train-00008-of-00024.parquet → default/train/0008.parquet +0 -0
  13. data/train-00009-of-00024.parquet → default/train/0009.parquet +0 -0
  14. data/train-00010-of-00024.parquet → default/train/0010.parquet +0 -0
  15. data/train-00011-of-00024.parquet → default/train/0011.parquet +0 -0
  16. data/train-00012-of-00024.parquet → default/train/0012.parquet +0 -0
  17. data/train-00013-of-00024.parquet → default/train/0013.parquet +0 -0
  18. data/train-00014-of-00024.parquet → default/train/0014.parquet +0 -0
  19. data/train-00015-of-00024.parquet → default/train/0015.parquet +0 -0
  20. data/train-00016-of-00024.parquet → default/train/0016.parquet +0 -0
  21. data/train-00017-of-00024.parquet → default/train/0017.parquet +0 -0
  22. data/train-00018-of-00024.parquet → default/train/0018.parquet +0 -0
  23. data/train-00019-of-00024.parquet → default/train/0019.parquet +0 -0
  24. data/train-00020-of-00024.parquet → default/train/0020.parquet +0 -0
  25. data/train-00021-of-00024.parquet → default/train/0021.parquet +0 -0
  26. data/train-00022-of-00024.parquet → default/train/0022.parquet +0 -0
  27. data/train-00023-of-00024.parquet → default/train/0023.parquet +0 -0
  28. licenses.json +0 -193
.gitattributes ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default/train/0000.parquet filter=lfs diff=lfs merge=lfs -text
2
+ default/train/0001.parquet filter=lfs diff=lfs merge=lfs -text
3
+ default/train/0002.parquet filter=lfs diff=lfs merge=lfs -text
4
+ default/train/0003.parquet filter=lfs diff=lfs merge=lfs -text
5
+ default/train/0004.parquet filter=lfs diff=lfs merge=lfs -text
6
+ default/train/0005.parquet filter=lfs diff=lfs merge=lfs -text
7
+ default/train/0006.parquet filter=lfs diff=lfs merge=lfs -text
8
+ default/train/0007.parquet filter=lfs diff=lfs merge=lfs -text
9
+ default/train/0008.parquet filter=lfs diff=lfs merge=lfs -text
10
+ default/train/0009.parquet filter=lfs diff=lfs merge=lfs -text
11
+ default/train/0010.parquet filter=lfs diff=lfs merge=lfs -text
12
+ default/train/0011.parquet filter=lfs diff=lfs merge=lfs -text
13
+ default/train/0012.parquet filter=lfs diff=lfs merge=lfs -text
14
+ default/train/0013.parquet filter=lfs diff=lfs merge=lfs -text
15
+ default/train/0014.parquet filter=lfs diff=lfs merge=lfs -text
16
+ default/train/0015.parquet filter=lfs diff=lfs merge=lfs -text
17
+ default/train/0016.parquet filter=lfs diff=lfs merge=lfs -text
18
+ default/train/0017.parquet filter=lfs diff=lfs merge=lfs -text
19
+ default/train/0018.parquet filter=lfs diff=lfs merge=lfs -text
20
+ default/train/0019.parquet filter=lfs diff=lfs merge=lfs -text
21
+ default/train/0020.parquet filter=lfs diff=lfs merge=lfs -text
22
+ default/train/0021.parquet filter=lfs diff=lfs merge=lfs -text
23
+ default/train/0022.parquet filter=lfs diff=lfs merge=lfs -text
24
+ default/train/0023.parquet filter=lfs diff=lfs merge=lfs -text
README.md DELETED
@@ -1,96 +0,0 @@
1
- ---
2
- language:
3
- - code
4
- license: other
5
- size_categories:
6
- - 100M<n<1B
7
- task_categories:
8
- - text-generation
9
- pretty_name: KExercises
10
- dataset_info:
11
- features:
12
- - name: path
13
- dtype: string
14
- - name: owner
15
- dtype: string
16
- - name: repo_id
17
- dtype: int64
18
- - name: is_fork
19
- dtype: bool
20
- - name: languages_distribution
21
- dtype: string
22
- - name: content
23
- dtype: string
24
- - name: issues
25
- dtype: float64
26
- - name: main_language
27
- dtype: string
28
- - name: forks
29
- dtype: int64
30
- - name: stars
31
- dtype: int64
32
- - name: commit_sha
33
- dtype: string
34
- - name: size
35
- dtype: int64
36
- - name: name
37
- dtype: string
38
- - name: license
39
- dtype: string
40
- splits:
41
- - name: train
42
- num_bytes: 11547281532
43
- num_examples: 4000514
44
- download_size: 4257401542
45
- dataset_size: 11547281532
46
- configs:
47
- - config_name: default
48
- data_files:
49
- - split: train
50
- path: data/train-*
51
- ---
52
- # Dataset Summary
53
- KStack is the largest collection of permissively licensed Kotlin code.
54
- ![banner](https://huggingface.co/datasets/JetBrains/KStack/resolve/main/banner.png)
55
- ## Column description
56
- The dataset contains the following columns:
57
-
58
- - `size` — size of the file in bytes
59
- - `content` — text (content) of the file after removing personal identifiable information
60
- - `repo_id` — GitHub ID of the repository
61
- - `path` — path to a file
62
- - `owner` — repo owner on GitHub
63
- - `name` — repo name on GitHub
64
- - `commit_sha` — hash of the commit, from which the revision of the file is taken
65
- - `stars` — number of stars in the repo at the moment of collection
66
- - `forks` — number of forks in the repo at the moment of collection
67
- - `issues` — number of issues in the repo at the moment of collection
68
- - `is_fork` — `true` if the repo is a fork or not as defined by GitHub
69
- - `main_language` — main language of the repo as defined by GitHub
70
- - `languages_distribution` — JSON with the distribution of languages by size in bytes in the repo
71
- - `license` - the name of the permissive license
72
-
73
- ## Comparison with the Stack v2
74
- In the table below one can find the comparsion between the Kotlin part of the Stack v2 and KStack:
75
- | | Files | Repositories | Lines | Tokens |
76
- |--------------|:-----:|:------------:|:-----:|:------:|
77
- | The Stack v2 | 2M | 109457 | 162M | 1.7B |
78
- | Kstack | 4M | 168902 | 292M | 3.1B |
79
-
80
- # Dataset Creation
81
-
82
- ## Collection procedure
83
- We collected repositories from GitHub with the main language being Kotlin, as well as any repositories with Kotlin files that have received 10 or more stars (as of February 2024). Additionally, we gathered repositories with Kotlin files from Stack v1.2. Kotlin files were identified using [go-enry](https://github.com/go-enry/go-enry) and include files with extensions such as `.kt`, `.kts`, and `.gradle.kts`. It is estimated that we have collected 97% of available Kotlin repositories as of February 2024.
84
-
85
- ## Initial filtering
86
- We conducted full deduplication, using the hash of file content, as well as near deduplication using the same method as in [Stack v1.2](https://arxiv.org/pdf/2211.15533). We then aggregated the files from one near-deduplicated cluster into a single file from that cluster.
87
-
88
- ## Detecting permissive licenses
89
- We filtered permissive repositories based on the licenses detected by GitHub, and using [go-license-detector](https://github.com/src-d/go-license-detector) if GitHub did not have licensing information available.
90
- The list of permissive licenses used in dataset can be found [here](https://huggingface.co/datasets/JetBrains/KStack/blob/main/licenses.json).
91
-
92
- ## Personal and Sensitive Information
93
- To filter personal information, we applied the same model that used for Stack v2. -- the [star-pii](https://arxiv.org/abs/2402.19173).
94
-
95
- ## Opt-out
96
- If you want your data to be removed from dataset, or have any other questions, please reach out to Sergey Titov: <[email protected]>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
banner.png DELETED

Git LFS Details

  • SHA256: 2fbee07bee384c0ee8c372f50fbddbb9b70c8ef9391fd20e364c8bde8f1fcaf4
  • Pointer size: 131 Bytes
  • Size of remote file: 676 kB
data/train-00000-of-00024.parquet → default/train/0000.parquet RENAMED
File without changes
data/train-00001-of-00024.parquet → default/train/0001.parquet RENAMED
File without changes
data/train-00002-of-00024.parquet → default/train/0002.parquet RENAMED
File without changes
data/train-00003-of-00024.parquet → default/train/0003.parquet RENAMED
File without changes
data/train-00004-of-00024.parquet → default/train/0004.parquet RENAMED
File without changes
data/train-00005-of-00024.parquet → default/train/0005.parquet RENAMED
File without changes
data/train-00006-of-00024.parquet → default/train/0006.parquet RENAMED
File without changes
data/train-00007-of-00024.parquet → default/train/0007.parquet RENAMED
File without changes
data/train-00008-of-00024.parquet → default/train/0008.parquet RENAMED
File without changes
data/train-00009-of-00024.parquet → default/train/0009.parquet RENAMED
File without changes
data/train-00010-of-00024.parquet → default/train/0010.parquet RENAMED
File without changes
data/train-00011-of-00024.parquet → default/train/0011.parquet RENAMED
File without changes
data/train-00012-of-00024.parquet → default/train/0012.parquet RENAMED
File without changes
data/train-00013-of-00024.parquet → default/train/0013.parquet RENAMED
File without changes
data/train-00014-of-00024.parquet → default/train/0014.parquet RENAMED
File without changes
data/train-00015-of-00024.parquet → default/train/0015.parquet RENAMED
File without changes
data/train-00016-of-00024.parquet → default/train/0016.parquet RENAMED
File without changes
data/train-00017-of-00024.parquet → default/train/0017.parquet RENAMED
File without changes
data/train-00018-of-00024.parquet → default/train/0018.parquet RENAMED
File without changes
data/train-00019-of-00024.parquet → default/train/0019.parquet RENAMED
File without changes
data/train-00020-of-00024.parquet → default/train/0020.parquet RENAMED
File without changes
data/train-00021-of-00024.parquet → default/train/0021.parquet RENAMED
File without changes
data/train-00022-of-00024.parquet → default/train/0022.parquet RENAMED
File without changes
data/train-00023-of-00024.parquet → default/train/0023.parquet RENAMED
File without changes
licenses.json DELETED
@@ -1,193 +0,0 @@
1
- [
2
- "MIT",
3
- "Apache-2.0",
4
- "BSD-3-Clause",
5
- "Unlicense",
6
- "CC0-1.0",
7
- "BSD-2-Clause",
8
- "CC-BY-4.0",
9
- "CC-BY-3.0",
10
- "0BSD",
11
- "RSA-MD",
12
- "WTFPL",
13
- "MIT-0",
14
- "ISC",
15
- "ADSL",
16
- "BSL-1.0",
17
- "Zlib",
18
- "Artistic-2.0",
19
- "FTL",
20
- "MS-PL",
21
- "BSD-2-Clause-FreeBSD",
22
- "FSFAP",
23
- "BSD-Source-Code",
24
- "Apache-1.1",
25
- "BSD-4-Clause",
26
- "Ruby",
27
- "Artistic-1.0",
28
- "MulanPSL-1.0",
29
- "BSD-1-Clause",
30
- "X11",
31
- "CNRI-Python",
32
- "Beerware",
33
- "Condor-1.1",
34
- "PostgreSQL",
35
- "Intel",
36
- "Vim",
37
- "Naumen",
38
- "OML",
39
- "BSD-3-Clause-Clear",
40
- "AML",
41
- "PHP-3.01",
42
- "OpenSSL",
43
- "PSF-2.0",
44
- "Xnet",
45
- "Linux-OpenIB",
46
- "BSD-3-Clause-LBNL",
47
- "UPL-1.0",
48
- "AFL-3.0",
49
- "BlueOak-1.0.0",
50
- "Info-ZIP",
51
- "BSD-4-Clause-UC",
52
- "AAL",
53
- "LPPL-1.3c",
54
- "bzip2-1.0.6",
55
- "W3C",
56
- "W3C-20150513",
57
- "AFL-1.1",
58
- "DOC",
59
- "ICU",
60
- "CC-BY-2.0",
61
- "curl",
62
- "MTLL",
63
- "OLDAP-2.2.1",
64
- "ECL-2.0",
65
- "Adobe-Glyph",
66
- "CNRI-Python-GPL-Compatible",
67
- "BSD-2-Clause-Patent",
68
- "IJG",
69
- "PHP-3.0",
70
- "ZPL-2.1",
71
- "MIT-advertising",
72
- "NCSA",
73
- "Fair",
74
- "BSD-3-Clause-Attribution",
75
- "OLDAP-2.3",
76
- "NLPL",
77
- "BSD-3-Clause-Open-MPI",
78
- "Python-2.0",
79
- "NASA-1.3",
80
- "TCL",
81
- "Artistic-1.0-Perl",
82
- "blessing",
83
- "BSD-3-Clause-No-Nuclear-Warranty",
84
- "ImageMagick",
85
- "Net-SNMP",
86
- "Artistic-1.0-cl8",
87
- "OLDAP-2.5",
88
- "MIT-feh",
89
- "OLDAP-2.4",
90
- "MITNFA",
91
- "AFL-2.1",
92
- "libpng-2.0",
93
- "EFL-2.0",
94
- "OLDAP-2.7",
95
- "IBM-pibs",
96
- "libtiff",
97
- "OLDAP-2.8",
98
- "Cube",
99
- "Adobe-2006",
100
- "BSD-2-Clause-NetBSD",
101
- "zlib-acknowledgement",
102
- "OLDAP-2.6",
103
- "BSD-3-Clause-No-Nuclear-License-2014",
104
- "OLDAP-1.4",
105
- "Libpng",
106
- "MIT-CMU",
107
- "AFL-2.0",
108
- "JasPer-2.0",
109
- "LPL-1.02",
110
- "Zend-2.0",
111
- "TCP-wrappers",
112
- "XFree86-1.1",
113
- "FSFUL",
114
- "OLDAP-1.3",
115
- "SGI-B-2.0",
116
- "NetCDF",
117
- "CNRI-Jython",
118
- "Zed",
119
- "ZPL-2.0",
120
- "AFL-1.2",
121
- "Apache-1.0",
122
- "CC-BY-1.0",
123
- "OLDAP-2.1",
124
- "OLDAP-1.2",
125
- "OLDAP-2.0",
126
- "NTP",
127
- "LPL-1.0",
128
- "AMPAS",
129
- "Barr",
130
- "mpich2",
131
- "ANTLR-PD",
132
- "Xerox",
133
- "Spencer-94",
134
- "AMDPLPA",
135
- "BSD-3-Clause-No-Nuclear-License",
136
- "HPND",
137
- "ECL-1.0",
138
- "MirOS",
139
- "Qhull",
140
- "ZPL-1.1",
141
- "TU-Berlin-2.0",
142
- "Spencer-86",
143
- "SMLNJ",
144
- "xinetd",
145
- "OLDAP-2.2.2",
146
- "OGTSL",
147
- "MIT-enna",
148
- "Font-exception-2.0",
149
- "FSFULLR",
150
- "TU-Berlin-1.0",
151
- "xpp",
152
- "NRL",
153
- "W3C-19980720",
154
- "EFL-1.0",
155
- "eGenix",
156
- "Unicode-DFS-2016",
157
- "SWL",
158
- "Spencer-99",
159
- "Plexus",
160
- "VSL-1.0",
161
- "Leptonica",
162
- "Unicode-DFS-2015",
163
- "Mup",
164
- "Giftware",
165
- "OLDAP-2.2",
166
- "APAFML",
167
- "NBPL-1.0",
168
- "OLDAP-1.1",
169
- "Entessa",
170
- "Multics",
171
- "Newsletr",
172
- "psutils",
173
- "bzip2-1.0.5",
174
- "Afmparse",
175
- "diffmark",
176
- "BSD-2-Clause-Views",
177
- "DSDP",
178
- "MIT-Modern-Variant",
179
- "ANTLR-PD-fallback",
180
- "Bahyph",
181
- "BSD-3-Clause-Modification",
182
- "BSD-4-Clause-Shortened",
183
- "HTMLTIDY",
184
- "MIT-open-group",
185
- "MulanPSL-2.0",
186
- "OLDAP-2.0.1",
187
- "Saxpath",
188
- "Borceux",
189
- "Crossword",
190
- "CrystalStacker",
191
- "Rdisc",
192
- "Wsuipa"
193
- ]