guanning commited on
Commit
28b4ca7
·
verified ·
1 Parent(s): 898cbea

Fix split to 35k train / 500 val / 500 test

Browse files
Files changed (6) hide show
  1. README.md +3 -5
  2. all.jsonl +2 -2
  3. metadata.json +35 -36
  4. test.jsonl +2 -2
  5. train.jsonl +2 -2
  6. val.jsonl +2 -2
README.md CHANGED
@@ -20,13 +20,11 @@ The data is extracted from `bigcode/the-stack-v2-dedup`, Python subset. The extr
20
 
21
  ## Splits
22
 
23
- - `train.jsonl`: 26,000
24
- - `val.jsonl`: 5,000
25
- - `test.jsonl`: 5,000
26
  - `all.jsonl`: 36,000
27
 
28
- Note: the requested split `35k/5k/5k` sums to 45k, not 36k. This 36k snapshot keeps validation and test at 5k each and assigns the remaining 26k to train.
29
-
30
  ## Record Format
31
 
32
  Each JSONL row is one Python class sample. Important fields include:
 
20
 
21
  ## Splits
22
 
23
+ - `train.jsonl`: 35,000
24
+ - `val.jsonl`: 500
25
+ - `test.jsonl`: 500
26
  - `all.jsonl`: 36,000
27
 
 
 
28
  ## Record Format
29
 
30
  Each JSONL row is one Python class sample. Important fields include:
all.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:06fc3f22d8fea4edfa0b2230f24110c75d1098184f7f603dbb52a9ffefcf72cc
3
- size 444140865
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a2be28fdd4e89ae72ae5f1bbfb7e1fc5e535f3c8186a44d7ec96aa989aa26ea
3
+ size 444179967
metadata.json CHANGED
@@ -6,11 +6,10 @@
6
  "snapshot_size": 36000,
7
  "snapshot_seed": 42,
8
  "bad_json_lines_skipped": 0,
9
- "requested_split_note": "User requested a 36k dataset and also 35k/5k/5k splits, which sums to 45k. This 36k snapshot uses 26k/5k/5k to keep validation and test at 5k each.",
10
  "splits": {
11
- "train": 26000,
12
- "val": 5000,
13
- "test": 5000
14
  },
15
  "format": "class-level Python code generation with prompt, skeleton, method bodies, and reconstructed solution",
16
  "filters": {
@@ -26,48 +25,48 @@
26
  "pyflakes_hard_filter": false
27
  },
28
  "method_count_distribution": {
29
- "2": 21570,
30
- "3": 8008,
31
- "4": 3586,
32
- "5": 1856,
33
- "6": 980
34
  },
35
  "top_repos": [
36
  [
37
  "cohesity/management-sdk-python",
38
- 456
39
  ],
40
  [
41
  "microsoftgraph/msgraph-sdk-python",
42
- 401
43
  ],
44
  [
45
  "home-assistant/core",
46
- 291
47
  ],
48
  [
49
- "jansel/pytorch-jit-paritybench",
50
- 124
51
  ],
52
  [
53
- "sungminoh/algorithms",
54
- 124
55
  ],
56
  [
57
  "953250587/leetcode-python",
58
- 121
59
  ],
60
  [
61
  "Shiv2157k/leet_code",
62
- 118
63
  ],
64
  [
65
  "Jimmy-INL/google-research",
66
- 101
67
  ],
68
  [
69
  "metoppv/improver",
70
- 91
71
  ],
72
  [
73
  "bssrdf/pyleet",
@@ -75,45 +74,45 @@
75
  ],
76
  [
77
  "dealflowteam/Idfy",
78
- 78
79
- ],
80
- [
81
- "vincent-lg/tsunami",
82
  76
83
  ],
84
- [
85
- "oxhead/CodingYourWay",
86
- 75
87
- ],
88
  [
89
  "vsdrun/lc_public",
90
  75
91
  ],
92
  [
93
  "JavaRod/SP_Python220B_2019",
94
- 75
95
  ],
96
  [
97
- "mindspore-ai/models",
98
- 72
99
  ],
100
  [
101
- "log2timeline/plaso",
102
- 68
 
 
 
 
103
  ],
104
  [
105
  "inventree/InvenTree",
106
  67
107
  ],
108
  [
109
- "yiming1012/MyLeetCode",
110
- 64
111
  ],
112
  [
113
  "luque/better-ways-of-thinking-about-software",
114
  63
 
 
 
 
115
  ]
116
  ],
117
- "avg_body_lines": 9.144970414201184,
118
  "task": "Given class/method signatures and docstrings, generate class skeleton and method bodies for Diffusion + AR hybrid code generation experiments."
119
  }
 
6
  "snapshot_size": 36000,
7
  "snapshot_seed": 42,
8
  "bad_json_lines_skipped": 0,
 
9
  "splits": {
10
+ "train": 35000,
11
+ "val": 500,
12
+ "test": 500
13
  },
14
  "format": "class-level Python code generation with prompt, skeleton, method bodies, and reconstructed solution",
15
  "filters": {
 
25
  "pyflakes_hard_filter": false
26
  },
27
  "method_count_distribution": {
28
+ "2": 21551,
29
+ "3": 8022,
30
+ "4": 3599,
31
+ "5": 1850,
32
+ "6": 978
33
  },
34
  "top_repos": [
35
  [
36
  "cohesity/management-sdk-python",
37
+ 449
38
  ],
39
  [
40
  "microsoftgraph/msgraph-sdk-python",
41
+ 394
42
  ],
43
  [
44
  "home-assistant/core",
45
+ 286
46
  ],
47
  [
48
+ "sungminoh/algorithms",
49
+ 122
50
  ],
51
  [
52
+ "jansel/pytorch-jit-paritybench",
53
+ 122
54
  ],
55
  [
56
  "953250587/leetcode-python",
57
+ 119
58
  ],
59
  [
60
  "Shiv2157k/leet_code",
61
+ 117
62
  ],
63
  [
64
  "Jimmy-INL/google-research",
65
+ 100
66
  ],
67
  [
68
  "metoppv/improver",
69
+ 90
70
  ],
71
  [
72
  "bssrdf/pyleet",
 
74
  ],
75
  [
76
  "dealflowteam/Idfy",
 
 
 
 
77
  76
78
  ],
 
 
 
 
79
  [
80
  "vsdrun/lc_public",
81
  75
82
  ],
83
  [
84
  "JavaRod/SP_Python220B_2019",
85
+ 74
86
  ],
87
  [
88
+ "oxhead/CodingYourWay",
89
+ 73
90
  ],
91
  [
92
+ "vincent-lg/tsunami",
93
+ 73
94
+ ],
95
+ [
96
+ "mindspore-ai/models",
97
+ 71
98
  ],
99
  [
100
  "inventree/InvenTree",
101
  67
102
  ],
103
  [
104
+ "log2timeline/plaso",
105
+ 66
106
  ],
107
  [
108
  "luque/better-ways-of-thinking-about-software",
109
  63
110
+ ],
111
+ [
112
+ "yiming1012/MyLeetCode",
113
+ 63
114
  ]
115
  ],
116
+ "avg_body_lines": 9.1440909372996,
117
  "task": "Given class/method signatures and docstrings, generate class skeleton and method bodies for Diffusion + AR hybrid code generation experiments."
118
  }
test.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:45bb3d8da6ea0f12a501f16316d4edfa56f3caaba3656c0e3b3a6844139806c1
3
- size 61490756
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45428812dea1255651ef87f387dcdc9fda1dc948c77f439fb93814cc0b1a363f
3
+ size 6119695
train.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bfe4cc8c0d8451b01dbfdb0591e4bfad53f55e5b19f9784d0276a4847a09938d
3
- size 320962541
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2085f61548444e77c5d824a18111f593779d70060833f336435a93f82ae232b5
3
+ size 431871109
val.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bff1b6b656ddd819af37d18d505169ee8432ab0aed08156963202af330156a6f
3
- size 61687568
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ed2725fd07e42e8d4557667a7edbd5eeab56399c024afb5e559de11b95a9a77
3
+ size 6189163