guanning's picture
Fix split to 35k train / 500 val / 500 test
28b4ca7 verified
{
"name": "stack_v2_sparse_classes_36k",
"source_dataset_dir": "data/stack_v2_sparse_classes_30k",
"source_dataset": "bigcode/the-stack-v2-dedup",
"source_data_files": "data/Python/*.parquet",
"snapshot_size": 36000,
"snapshot_seed": 42,
"bad_json_lines_skipped": 0,
"splits": {
"train": 35000,
"val": 500,
"test": 500
},
"format": "class-level Python code generation with prompt, skeleton, method bodies, and reconstructed solution",
"filters": {
"min_methods": 2,
"max_methods": 6,
"require_method_docstrings": true,
"min_body_lines": 3,
"max_body_lines": 30,
"max_total_tokens": 1500,
"min_length_bytes": 500,
"max_length_bytes": 50000,
"skip_tests_docs_examples_init": true,
"pyflakes_hard_filter": false
},
"method_count_distribution": {
"2": 21551,
"3": 8022,
"4": 3599,
"5": 1850,
"6": 978
},
"top_repos": [
[
"cohesity/management-sdk-python",
449
],
[
"microsoftgraph/msgraph-sdk-python",
394
],
[
"home-assistant/core",
286
],
[
"sungminoh/algorithms",
122
],
[
"jansel/pytorch-jit-paritybench",
122
],
[
"953250587/leetcode-python",
119
],
[
"Shiv2157k/leet_code",
117
],
[
"Jimmy-INL/google-research",
100
],
[
"metoppv/improver",
90
],
[
"bssrdf/pyleet",
90
],
[
"dealflowteam/Idfy",
76
],
[
"vsdrun/lc_public",
75
],
[
"JavaRod/SP_Python220B_2019",
74
],
[
"oxhead/CodingYourWay",
73
],
[
"vincent-lg/tsunami",
73
],
[
"mindspore-ai/models",
71
],
[
"inventree/InvenTree",
67
],
[
"log2timeline/plaso",
66
],
[
"luque/better-ways-of-thinking-about-software",
63
],
[
"yiming1012/MyLeetCode",
63
]
],
"avg_body_lines": 9.1440909372996,
"task": "Given class/method signatures and docstrings, generate class skeleton and method bodies for Diffusion + AR hybrid code generation experiments."
}