Datasets:
Update README.md
#1
by
Areyde
- opened
- .gitattributes +55 -0
- README.md +29 -32
- data/train-00000-of-00024.parquet +2 -2
- data/train-00001-of-00024.parquet +2 -2
- data/train-00002-of-00024.parquet +2 -2
- data/train-00003-of-00024.parquet +2 -2
- data/train-00004-of-00024.parquet +2 -2
- data/train-00005-of-00024.parquet +2 -2
- data/train-00006-of-00024.parquet +2 -2
- data/train-00007-of-00024.parquet +2 -2
- data/train-00008-of-00024.parquet +2 -2
- data/train-00009-of-00024.parquet +2 -2
- data/train-00010-of-00024.parquet +2 -2
- data/train-00011-of-00024.parquet +2 -2
- data/train-00012-of-00024.parquet +2 -2
- data/train-00013-of-00024.parquet +2 -2
- data/train-00014-of-00024.parquet +2 -2
- data/train-00015-of-00024.parquet +2 -2
- data/train-00016-of-00024.parquet +2 -2
- data/train-00017-of-00024.parquet +2 -2
- data/train-00018-of-00024.parquet +2 -2
- data/train-00019-of-00024.parquet +2 -2
- data/train-00020-of-00024.parquet +2 -2
- data/train-00021-of-00024.parquet +2 -2
- data/train-00022-of-00024.parquet +2 -2
- data/train-00023-of-00024.parquet +2 -2
.gitattributes
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
12 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
13 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
14 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
15 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
16 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
17 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
18 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
19 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
20 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
21 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
22 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
23 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
24 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
25 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
26 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
27 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
29 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
30 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
31 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
32 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
33 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
34 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
35 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
36 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
37 |
+
# Audio files - uncompressed
|
38 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
39 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
40 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
41 |
+
# Audio files - compressed
|
42 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
43 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
44 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
45 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
46 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
47 |
+
# Image files - uncompressed
|
48 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
49 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
50 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
51 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
52 |
+
# Image files - compressed
|
53 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
54 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
55 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -35,14 +35,12 @@ dataset_info:
|
|
35 |
dtype: int64
|
36 |
- name: name
|
37 |
dtype: string
|
38 |
-
- name: license
|
39 |
-
dtype: string
|
40 |
splits:
|
41 |
- name: train
|
42 |
-
num_bytes:
|
43 |
-
num_examples:
|
44 |
-
download_size:
|
45 |
-
dataset_size:
|
46 |
configs:
|
47 |
- config_name: default
|
48 |
data_files:
|
@@ -52,29 +50,7 @@ configs:
|
|
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 |
-
|
56 |
-
## Comparison with The Stack v2
|
57 |
-
In the table below one can find the comparsion between the Kotlin part of The Stack v2 and KStack:
|
58 |
-
| | Files | Repositories | Lines | Tokens |
|
59 |
-
|------------------------|:-----:|:------------:|:-----:|:------:|
|
60 |
-
| Kotlin in The Stack v2 | 2M | 109,457 | 162M | 1.7B |
|
61 |
-
| Kstack | 4M | 168,902 | 292M | 3.1B |
|
62 |
-
|
63 |
-
# Dataset Creation
|
64 |
-
|
65 |
-
## Collection procedure
|
66 |
-
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 The 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.
|
67 |
-
|
68 |
-
## Initial filtering
|
69 |
-
We conducted full deduplication, using the hash of file content, as well as near deduplication using the same method as in [The Stack v1.2](https://arxiv.org/pdf/2211.15533). We aggregated the files from one near-deduplicated cluster into a file from the repository with the most stars.
|
70 |
-
## Detecting permissive licenses
|
71 |
-
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.
|
72 |
-
The list of permissive licenses used in dataset can be found [here](https://huggingface.co/datasets/JetBrains/KStack/blob/main/licenses.json).
|
73 |
-
|
74 |
-
## Personal and Sensitive Information
|
75 |
-
To filter out personal information, we applied the same model that was used for The Stack v2 — [star-pii](https://arxiv.org/abs/2402.19173).
|
76 |
-
|
77 |
-
# Column description
|
78 |
The dataset contains the following columns:
|
79 |
|
80 |
- `size` — size of the file in bytes
|
@@ -89,8 +65,29 @@ The dataset contains the following columns:
|
|
89 |
- `issues` — number of issues in the repo at the moment of collection
|
90 |
- `is_fork` — `true` if the repo is a fork or not as defined by GitHub
|
91 |
- `main_language` — main language of the repo as defined by GitHub
|
92 |
-
- `languages_distribution` — JSON with the distribution of languages by size in bytes in the repo
|
93 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
|
95 |
-
|
96 |
If you want your data to be removed from dataset, or have any other questions, please reach out to Sergey Titov: <[email protected]>
|
|
|
35 |
dtype: int64
|
36 |
- name: name
|
37 |
dtype: string
|
|
|
|
|
38 |
splits:
|
39 |
- name: train
|
40 |
+
num_bytes: 11610432277.542328
|
41 |
+
num_examples: 4049918
|
42 |
+
download_size: 4314441901
|
43 |
+
dataset_size: 11610432277.542328
|
44 |
configs:
|
45 |
- config_name: default
|
46 |
data_files:
|
|
|
50 |
# Dataset Summary
|
51 |
KStack is the largest collection of permissively licensed Kotlin code.
|
52 |
![banner](https://huggingface.co/datasets/JetBrains/KStack/resolve/main/banner.png)
|
53 |
+
## Column description
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
The dataset contains the following columns:
|
55 |
|
56 |
- `size` — size of the file in bytes
|
|
|
65 |
- `issues` — number of issues in the repo at the moment of collection
|
66 |
- `is_fork` — `true` if the repo is a fork or not as defined by GitHub
|
67 |
- `main_language` — main language of the repo as defined by GitHub
|
68 |
+
- `languages_distribution` — JSON with the distribution of languages by size in bytes in the repo
|
69 |
+
|
70 |
+
## Comparison with the Stack v2
|
71 |
+
In the table below one can find the comparsion between the Kotlin part of the Stack v2 and KStack:
|
72 |
+
| | Files | Repositories | Lines | Tokens |
|
73 |
+
|--------------|:-----:|:------------:|:-----:|:------:|
|
74 |
+
| The Stack v2 | 2M | 109457 | 162M | 1.7B |
|
75 |
+
| Kstack | 4M | 168902 | 292M | 3.1B |
|
76 |
+
|
77 |
+
# Dataset Creation
|
78 |
+
|
79 |
+
## Collection procedure
|
80 |
+
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.
|
81 |
+
|
82 |
+
## Initial filtering
|
83 |
+
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.
|
84 |
+
|
85 |
+
## Detecting permissive licenses
|
86 |
+
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.
|
87 |
+
The list of permissive licenses used in dataset can be found [here](https://huggingface.co/datasets/JetBrains/KStack/blob/main/licenses.json).
|
88 |
+
|
89 |
+
## Personal and Sensitive Information
|
90 |
+
We used the [star-pii](https://arxiv.org/abs/2402.19173) model to filter out personal information.
|
91 |
|
92 |
+
## Opt-out
|
93 |
If you want your data to be removed from dataset, or have any other questions, please reach out to Sergey Titov: <[email protected]>
|
data/train-00000-of-00024.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7328f7b3a79f4487ab3ae276ee2c166f359de1eb2a23bd0410852ff1f4e8cf5f
|
3 |
+
size 177752874
|
data/train-00001-of-00024.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:92a05dd245020ece92ae84754e7bb12ba05a9d7af12f1afc1706757f97b97179
|
3 |
+
size 179102927
|
data/train-00002-of-00024.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b8bb06efde87a53ea916a19b2f528988661d156df9aab4c20eb6ec59e10240c7
|
3 |
+
size 182145547
|
data/train-00003-of-00024.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:507cdabce102880188d155970e5c866245bad66ec21d4ad0608388ed6216a39d
|
3 |
+
size 179939354
|
data/train-00004-of-00024.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d575c000ba45a83b066e5eea9884bd7c02e78af724182db4876a6f640bb929c3
|
3 |
+
size 179026072
|
data/train-00005-of-00024.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:adff5e5dfde5e7bfa01561f843b9247ab70e0f798f91587a61ec11a9cd135990
|
3 |
+
size 179539223
|
data/train-00006-of-00024.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1aa4724bee041a2c11ad93d4d6d53ec71ab7a0c9bedaca330dcc90229aa89c74
|
3 |
+
size 180912104
|
data/train-00007-of-00024.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3339582062ead29ee864e6c4e0d0675c8f236599ed8f33cbee0b14052fa2d56e
|
3 |
+
size 178852638
|
data/train-00008-of-00024.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:51c10c581404b2cc2360ad9685dcee6526f50461f6d4648ee0f55c1e1fec304a
|
3 |
+
size 180613455
|
data/train-00009-of-00024.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7cf0c4d8dca018443b55cb27d54e6c186251dbde4a1465af83bd9e353578f254
|
3 |
+
size 179022316
|
data/train-00010-of-00024.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d9fa5c2c71275693c386b3404b12592525106a82ae5b381f3b061882bb707401
|
3 |
+
size 179761239
|
data/train-00011-of-00024.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:69784549b5d22d2b9ef3598a11cd21d456e6817fc265bba8ed6a829319d4f980
|
3 |
+
size 180356800
|
data/train-00012-of-00024.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:027f34cdda9f35b44525aed637be5d2e92c974acde65c1de60484032de0bd6d2
|
3 |
+
size 179680020
|
data/train-00013-of-00024.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:866ecf489ebd2126374b4b5c7ea9222a69b3b771a882ffb986c37d9d74f659f5
|
3 |
+
size 179851882
|
data/train-00014-of-00024.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:54bc1fda14d10ca0aa4ca1ad57b012276b97cb41cafecb9d64905129e6a9a857
|
3 |
+
size 180073854
|
data/train-00015-of-00024.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:efe6f5e331a7da3c513427744c3dfd2a9861da4cd3295b34fbe11711cb362675
|
3 |
+
size 180731291
|
data/train-00016-of-00024.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a94411d3eb02fc65014d95424a67359774990bf884bc66b5873693f18157d9c9
|
3 |
+
size 179135603
|
data/train-00017-of-00024.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d6084e33142a1e3fe1e32e8d0a5b77fc06ed6e3b93188b0278c71b405d005386
|
3 |
+
size 178716976
|
data/train-00018-of-00024.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8b19eabfb8c1af3a9c682db512ae940ad5f22e9e5fa2d43aeb9f312998ec6437
|
3 |
+
size 178023545
|
data/train-00019-of-00024.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ebc75565270b156bbb1ebbb2142e4fe8cbbf801e14796d287ba0a0b15ea91838
|
3 |
+
size 181433787
|
data/train-00020-of-00024.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:297a28a268b54fad732c5d41f5fe6a4863f74f9314051c948cb49197c8816f74
|
3 |
+
size 178610559
|
data/train-00021-of-00024.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b8f5f47411cf9ea7c80c73a6cd43c69f122862213bcc1c83a3160c74dfdc3563
|
3 |
+
size 181201752
|
data/train-00022-of-00024.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5f022e1f4511010ec3fb2c04589d9f6237cb077970eb8d37d8dab6a3ed12c2c5
|
3 |
+
size 179570247
|
data/train-00023-of-00024.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4a60178ff29eaeb512ca857d4aaf8d543b9a72efcc0014efa90adb7eedc5c827
|
3 |
+
size 180387836
|