Upload code2lora-data-smartcap artifacts
Browse files- SMART_CAP_README.json +37 -0
- qna/cr_test.parquet +3 -0
- qna/cr_val.parquet +3 -0
- qna/train.parquet +3 -0
SMART_CAP_README.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "code2lora_gru_commit_smartcap",
|
| 3 |
+
"in_dir": "/scratch/lhotsko/REPO_DATASET/commit_parquet_hf",
|
| 4 |
+
"max_per_file": 4,
|
| 5 |
+
"max_per_commit": 8,
|
| 6 |
+
"min_target_chars": 4,
|
| 7 |
+
"seed": 3407,
|
| 8 |
+
"splits_capped": [
|
| 9 |
+
"train"
|
| 10 |
+
],
|
| 11 |
+
"splits_passthrough": [
|
| 12 |
+
"cr_val",
|
| 13 |
+
"cr_test"
|
| 14 |
+
],
|
| 15 |
+
"per_split": {
|
| 16 |
+
"train": {
|
| 17 |
+
"qna_path_in": "/scratch/lhotsko/REPO_DATASET/commit_parquet_hf/qna/train.parquet",
|
| 18 |
+
"qna_path_out": "/scratch/lhotsko/REPO_DATASET/commit_parquet_hf_smartcap/qna/train.parquet",
|
| 19 |
+
"rows_in_total": 3639660,
|
| 20 |
+
"rows_in_train": 2667430,
|
| 21 |
+
"rows_in_eval": 972230,
|
| 22 |
+
"rows_out_train_capped": 215129,
|
| 23 |
+
"rows_out_eval_passthrough": 972230,
|
| 24 |
+
"rows_dropped_trivial_target": 550621,
|
| 25 |
+
"rows_dropped_smart_cap": 1901680,
|
| 26 |
+
"n_repos_seen": 400,
|
| 27 |
+
"n_repos_with_train_kept": 400,
|
| 28 |
+
"n_commits_with_train_kept": 45516,
|
| 29 |
+
"max_per_file": 4,
|
| 30 |
+
"max_per_commit": 8,
|
| 31 |
+
"min_target_chars": 4,
|
| 32 |
+
"seed": 3407,
|
| 33 |
+
"elapsed_sec": 212.08423447608948
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"notes": "Only in_repo_split=='train' rows are capped. val / test rows are passed through verbatim. Quality filter drops trivial targets (length < min_target_chars or bare ')' / leading-comma tokens). Smart cap interleaves rows across (test_file, test_function) groups before truncating to max_per_commit."
|
| 37 |
+
}
|
qna/cr_test.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e0f041450ab408956cb09d40bdd8660535066ac336d06e8eda01e9f0de5ee938
|
| 3 |
+
size 2964967977
|
qna/cr_val.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba09a15bb5cea390571a90538f7a666e44732b760d540b9dfd77ba0c398b9a3f
|
| 3 |
+
size 4121938729
|
qna/train.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f8a07994e53aba06f7e7ff5acde62bcd4a346e17a4a218f3c206d6914f9aecf4
|
| 3 |
+
size 6210960872
|