Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -53,8 +53,8 @@ configs:
|
|
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
|
57 |
-
In the table below one can find the comparsion between the Kotlin part of
|
58 |
| | Files | Repositories | Lines | Tokens |
|
59 |
|------------------------|:-----:|:------------:|:-----:|:------:|
|
60 |
| Kotlin in The Stack v2 | 2M | 109,457 | 162M | 1.7B |
|
@@ -63,16 +63,16 @@ In the table below one can find the comparsion between the Kotlin part of the St
|
|
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
|
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 [
|
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
|
76 |
|
77 |
# Column description
|
78 |
The dataset contains the following columns:
|
|
|
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 |
|
|
|
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:
|