Datasets:
Deduplicate exact function and docstring pairs
Browse files- README.md +33 -37
- manifest.json +7 -7
- random_shuffle/test-00000-of-00001.parquet +2 -2
- random_shuffle/train-00000-of-00001.parquet +2 -2
- random_shuffle/validation-00000-of-00001.parquet +2 -2
- repo_split_balanced/test-00000-of-00001.parquet +2 -2
- repo_split_balanced/train-00000-of-00001.parquet +2 -2
- repo_split_balanced/validation-00000-of-00001.parquet +2 -2
README.md
CHANGED
|
@@ -1,37 +1,33 @@
|
|
| 1 |
-
---
|
| 2 |
-
configs:
|
| 3 |
-
- config_name: repo_split_balanced
|
| 4 |
-
data_files:
|
| 5 |
-
- split: train
|
| 6 |
-
path: repo_split_balanced/train-*
|
| 7 |
-
- split: validation
|
| 8 |
-
path: repo_split_balanced/validation-*
|
| 9 |
-
- split: test
|
| 10 |
-
path: repo_split_balanced/test-*
|
| 11 |
-
- config_name: random_shuffle
|
| 12 |
-
data_files:
|
| 13 |
-
- split: train
|
| 14 |
-
path: random_shuffle/train-*
|
| 15 |
-
- split: validation
|
| 16 |
-
path: random_shuffle/validation-*
|
| 17 |
-
- split: test
|
| 18 |
-
path: random_shuffle/test-*
|
| 19 |
-
task_categories:
|
| 20 |
-
- text-retrieval
|
| 21 |
-
language:
|
| 22 |
-
- en
|
| 23 |
-
- zh
|
| 24 |
-
---
|
| 25 |
-
|
| 26 |
-
# ArkTS Code Docstring Pro
|
| 27 |
-
|
| 28 |
-
This version contains deduplicated ArkTS function-comment pairs from repositories with
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
- `repo_split_balanced`: repositories are isolated and assignments are weighted toward an 80%/10%/10% example split.
|
| 35 |
-
- `random_shuffle`: examples are shuffled with seed `20260714` and split 80%/10%/10%.
|
| 36 |
-
|
| 37 |
-
The dataset contains 36,678 examples. Users must comply with each source repository's license and attribution requirements.
|
|
|
|
| 1 |
+
---
|
| 2 |
+
configs:
|
| 3 |
+
- config_name: repo_split_balanced
|
| 4 |
+
data_files:
|
| 5 |
+
- split: train
|
| 6 |
+
path: repo_split_balanced/train-*
|
| 7 |
+
- split: validation
|
| 8 |
+
path: repo_split_balanced/validation-*
|
| 9 |
+
- split: test
|
| 10 |
+
path: repo_split_balanced/test-*
|
| 11 |
+
- config_name: random_shuffle
|
| 12 |
+
data_files:
|
| 13 |
+
- split: train
|
| 14 |
+
path: random_shuffle/train-*
|
| 15 |
+
- split: validation
|
| 16 |
+
path: random_shuffle/validation-*
|
| 17 |
+
- split: test
|
| 18 |
+
path: random_shuffle/test-*
|
| 19 |
+
task_categories:
|
| 20 |
+
- text-retrieval
|
| 21 |
+
language:
|
| 22 |
+
- en
|
| 23 |
+
- zh
|
| 24 |
+
---
|
| 25 |
+
|
| 26 |
+
# ArkTS Code Docstring Pro
|
| 27 |
+
|
| 28 |
+
This version contains deduplicated ArkTS function-comment pairs from open-source repositories with more than zero stars. License and copyright headers are removed, and cleaned documentation shorter than five characters is excluded.
|
| 29 |
+
|
| 30 |
+
Examples are deduplicated after cleaning using the exact pair `(function, docstring)`. It contains 36,650 examples.
|
| 31 |
+
|
| 32 |
+
- `repo_split_balanced`: repository-isolated and approximately 80%/10%/10% by example count.
|
| 33 |
+
- `random_shuffle`: shuffled with seed `20260714` and split 80%/10%/10%.
|
|
|
|
|
|
|
|
|
|
|
|
manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"rows":
|
| 3 |
"fields": [
|
| 4 |
"nwo",
|
| 5 |
"sha",
|
|
@@ -16,14 +16,14 @@
|
|
| 16 |
],
|
| 17 |
"splits": {
|
| 18 |
"repo_split_balanced": {
|
| 19 |
-
"train":
|
| 20 |
-
"validation":
|
| 21 |
-
"test":
|
| 22 |
},
|
| 23 |
"random_shuffle": {
|
| 24 |
-
"test":
|
| 25 |
-
"validation":
|
| 26 |
-
"train":
|
| 27 |
}
|
| 28 |
}
|
| 29 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"rows": 36650,
|
| 3 |
"fields": [
|
| 4 |
"nwo",
|
| 5 |
"sha",
|
|
|
|
| 16 |
],
|
| 17 |
"splits": {
|
| 18 |
"repo_split_balanced": {
|
| 19 |
+
"train": 29320,
|
| 20 |
+
"validation": 3665,
|
| 21 |
+
"test": 3665
|
| 22 |
},
|
| 23 |
"random_shuffle": {
|
| 24 |
+
"test": 3665,
|
| 25 |
+
"validation": 3665,
|
| 26 |
+
"train": 29320
|
| 27 |
}
|
| 28 |
}
|
| 29 |
}
|
random_shuffle/test-00000-of-00001.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:045e8287025a11149d950c17a13a8170a78dae8d6b8bb352f147883bf0d5f5bf
|
| 3 |
+
size 3744367
|
random_shuffle/train-00000-of-00001.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:81be6ac8b43199a89b7b7f6036a593d7150ece5462ac3d6e072e5ac927be313e
|
| 3 |
+
size 29082660
|
random_shuffle/validation-00000-of-00001.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:62a4c5d06f5d3f345cd61b72eff240965a67dcb2b8ea5dbf903e62a81ca6f07c
|
| 3 |
+
size 3713074
|
repo_split_balanced/test-00000-of-00001.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:f12613e6445e2811b6abf27ea41cd5d1f6b841915f9893f502c519d0aeaf79b0
|
| 3 |
+
size 2393407
|
repo_split_balanced/train-00000-of-00001.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:15567165cb51dfdbdcdeaa82b0ad9729e3c46e6491f6f1053cd2b9377aaacf40
|
| 3 |
+
size 20630413
|
repo_split_balanced/validation-00000-of-00001.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:995a2c5152bb96003e2188f94f1257ffc0a62b646a3309ed3192cbbcc17e9718
|
| 3 |
+
size 3026367
|