hreyulog commited on
Commit
33d3077
·
verified ·
1 Parent(s): 5da59ca

Deduplicate exact function and docstring pairs

Browse files
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 locally identified open-source licenses and more than zero stars.
29
-
30
- License and copyright header comments are removed, as are examples whose cleaned documentation is shorter than five characters. The legacy column format is preserved.
31
-
32
- Configurations:
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": 36678,
3
  "fields": [
4
  "nwo",
5
  "sha",
@@ -16,14 +16,14 @@
16
  ],
17
  "splits": {
18
  "repo_split_balanced": {
19
- "train": 29344,
20
- "validation": 3667,
21
- "test": 3667
22
  },
23
  "random_shuffle": {
24
- "test": 3668,
25
- "validation": 3668,
26
- "train": 29342
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:c3906fbdc369f8643cf9a1da38617498ba1ea93ea16e6d63d389c07d8fe27053
3
- size 3681533
 
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:99ba6b1ef489b842ea6a470a389717a51d2f96bde01f7de938e430d1bc6ed235
3
- size 29230975
 
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:20419b800635e7f4cac8a6ff1d060051b85783a6d57ba5a1abdaef1b633b3d94
3
- size 3639763
 
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:1fb8842011db2f3ef9a12e5f30a0f4068bac24e97cc6785054c7d6010b93a557
3
- size 2362791
 
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:3aa2836d05f7c8f24d14252a750573f37abd55534bdd6b011f7ac1657bcf5057
3
- size 20729511
 
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:47801a0a38cac9d3e246a82901a191ed3cf6fb116986490d36c07f2de84ba121
3
- size 2976859
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:995a2c5152bb96003e2188f94f1257ffc0a62b646a3309ed3192cbbcc17e9718
3
+ size 3026367