Zanehpn commited on
Commit
cf3b629
·
verified ·
1 Parent(s): 3bd82dd

Update aligned test split to 1,783 examples

Browse files

Publish 44,964 training, 453 validation, and 1,783 test examples with aligned raw/content records.

README.md CHANGED
@@ -54,17 +54,17 @@ configs:
54
 
55
  Multilingual hardware code completion data for Chisel, Verilog/SystemVerilog,
56
  VHDL, and HLS C/C++. This repository contains the full training, validation,
57
- and test task splits: **47,175 examples** in total.
58
 
59
  ## Split sizes
60
 
61
  | Language | Train | Validation | Test |
62
  | --- | ---: | ---: | ---: |
63
- | Chisel | 2,573 | 119 | 319 |
64
- | Verilog / SystemVerilog | 25,586 | 107 | 492 |
65
- | VHDL | 13,039 | 104 | 491 |
66
  | HLS C/C++ | 3,766 | 123 | 456 |
67
- | **Total** | **44,964** | **453** | **1,758** |
68
 
69
  The raw and content files describe the same examples. The classified test file
70
  adds annotations to the test examples; it is not an additional split.
@@ -78,7 +78,7 @@ from datasets import load_dataset
78
  data = load_dataset("OvertureMMXXI/HDL-RepoBench-Sample", "chisel")
79
  print(data["train"].num_rows) # 2573
80
  print(data["validation"].num_rows) # 119
81
- print(data["test"].num_rows) # 319
82
  ```
83
 
84
  Available configurations: `chisel`, `systemverilog`, `vhdl`, and `hls`.
 
54
 
55
  Multilingual hardware code completion data for Chisel, Verilog/SystemVerilog,
56
  VHDL, and HLS C/C++. This repository contains the full training, validation,
57
+ and test task splits: **47,200 examples** in total.
58
 
59
  ## Split sizes
60
 
61
  | Language | Train | Validation | Test |
62
  | --- | ---: | ---: | ---: |
63
+ | Chisel | 2,573 | 119 | 323 |
64
+ | Verilog / SystemVerilog | 25,586 | 107 | 508 |
65
+ | VHDL | 13,039 | 104 | 496 |
66
  | HLS C/C++ | 3,766 | 123 | 456 |
67
+ | **Total** | **44,964** | **453** | **1,783** |
68
 
69
  The raw and content files describe the same examples. The classified test file
70
  adds annotations to the test examples; it is not an additional split.
 
78
  data = load_dataset("OvertureMMXXI/HDL-RepoBench-Sample", "chisel")
79
  print(data["train"].num_rows) # 2573
80
  print(data["validation"].num_rows) # 119
81
+ print(data["test"].num_rows) # 323
82
  ```
83
 
84
  Available configurations: `chisel`, `systemverilog`, `vhdl`, and `hls`.
chisel/test.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:eadb870e022943adf6264f753e75f3c3bab88d82fe5015e771f6badefc48065d
3
- size 122306
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3a7f7b2e9b2e800ac277a04e8d35953bbdc7e533b733587c84fc4084c46b064
3
+ size 123699
chisel/test_content.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c0790d2f543e1807aec1e439ba27a68802cfc31f45d8ebae10b5bd90f373484a
3
- size 1843610
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfe5a2d8e8111fe3a49811791029119f75b953a73f0f5e7b6fc6cde3d0f8af7f
3
+ size 1847096
chisel/test_content_classfied.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b626e606d10c96f8bd4e5de4071e1971023c68ec87fff5b4f463434dc4376706
3
- size 1888575
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:190c156bcb5ae2df30aae07a5c1e6e179a0633b9c5a43ab846bd8594d7556e49
3
+ size 1892642
sample_manifest.json CHANGED
@@ -4,17 +4,17 @@
4
  "chisel": {
5
  "train": 2573,
6
  "valid": 119,
7
- "test": 319
8
  },
9
  "systemverilog": {
10
  "train": 25586,
11
  "valid": 107,
12
- "test": 492
13
  },
14
  "vhdl": {
15
  "train": 13039,
16
  "valid": 104,
17
- "test": 491
18
  },
19
  "hls": {
20
  "train": 3766,
@@ -22,11 +22,11 @@
22
  "test": 456
23
  }
24
  },
25
- "unique_examples": 47175,
26
  "split_examples": {
27
  "train": 44964,
28
  "validation": 453,
29
- "test": 1758
30
  },
31
  "counting": "Raw, content, and classified files are representations of the same examples; do not sum them.",
32
  "files": {
@@ -51,19 +51,19 @@
51
  "sha256": "750de2b5b64083be89cdde2e821401b233e7b642192453f15320ea15fee5391d"
52
  },
53
  "chisel/test_content.jsonl": {
54
- "records": 319,
55
- "bytes": 1843610,
56
- "sha256": "c0790d2f543e1807aec1e439ba27a68802cfc31f45d8ebae10b5bd90f373484a"
57
  },
58
  "chisel/test.jsonl": {
59
- "records": 319,
60
- "bytes": 122306,
61
- "sha256": "eadb870e022943adf6264f753e75f3c3bab88d82fe5015e771f6badefc48065d"
62
  },
63
  "chisel/test_content_classfied.jsonl": {
64
- "records": 319,
65
- "bytes": 1888575,
66
- "sha256": "b626e606d10c96f8bd4e5de4071e1971023c68ec87fff5b4f463434dc4376706"
67
  },
68
  "systemverilog/train_content.jsonl": {
69
  "records": 25586,
@@ -86,19 +86,19 @@
86
  "sha256": "2d9176ce75c4d83e6257274a2071ce463d848c2622e4db22f013c5275e4b8435"
87
  },
88
  "systemverilog/test_content.jsonl": {
89
- "records": 492,
90
- "bytes": 18666571,
91
- "sha256": "bff7e6bb516e7defb75c8bec331d285f36aac26ba15122de692c165989164a09"
92
  },
93
  "systemverilog/test.jsonl": {
94
- "records": 492,
95
- "bytes": 207429,
96
- "sha256": "316d0d0bc9152ef80cc693f3ae13e3a43fe3b89a4dee20ce0623fdbfd6c26042"
97
  },
98
  "systemverilog/test_content_classfied.jsonl": {
99
- "records": 492,
100
- "bytes": 18740720,
101
- "sha256": "3c93117f120c05148b68334f2a5377c5168f7e8834dab71d70e99ac7ba1651e7"
102
  },
103
  "vhdl/train_content.jsonl": {
104
  "records": 13039,
@@ -121,19 +121,19 @@
121
  "sha256": "f351f8f5ded76b6b4e45089c5626e29b31ee183ff647c6f2194b6a639f7c0f0c"
122
  },
123
  "vhdl/test_content.jsonl": {
124
- "records": 491,
125
- "bytes": 16899730,
126
- "sha256": "2f0e570487b7b9b1ad8208d39f52e3ffcf6ca194718ee7a707d4d61f10559df9"
127
  },
128
  "vhdl/test.jsonl": {
129
- "records": 491,
130
- "bytes": 186814,
131
- "sha256": "bc3cbd42af931c48404a84e94ff3f318e2b5713b930ea54f9b594a187e6332c3"
132
  },
133
  "vhdl/test_content_classfied.jsonl": {
134
- "records": 491,
135
- "bytes": 16967614,
136
- "sha256": "ee27c8d3748fd1df01909961aa46ffab653e0be5e8afd724815c8d7e946d8ec1"
137
  },
138
  "hls/train_content.jsonl": {
139
  "records": 3766,
@@ -171,5 +171,5 @@
171
  "sha256": "f1200bb1dec805ed8ef04ff0b4fa435608ff8424233dc10f1e24d008e773b7a2"
172
  }
173
  },
174
- "jsonl_bytes": 3410136716
175
  }
 
4
  "chisel": {
5
  "train": 2573,
6
  "valid": 119,
7
+ "test": 323
8
  },
9
  "systemverilog": {
10
  "train": 25586,
11
  "valid": 107,
12
+ "test": 508
13
  },
14
  "vhdl": {
15
  "train": 13039,
16
  "valid": 104,
17
+ "test": 496
18
  },
19
  "hls": {
20
  "train": 3766,
 
22
  "test": 456
23
  }
24
  },
25
+ "unique_examples": 47200,
26
  "split_examples": {
27
  "train": 44964,
28
  "validation": 453,
29
+ "test": 1783
30
  },
31
  "counting": "Raw, content, and classified files are representations of the same examples; do not sum them.",
32
  "files": {
 
51
  "sha256": "750de2b5b64083be89cdde2e821401b233e7b642192453f15320ea15fee5391d"
52
  },
53
  "chisel/test_content.jsonl": {
54
+ "records": 323,
55
+ "bytes": 1847096,
56
+ "sha256": "cfe5a2d8e8111fe3a49811791029119f75b953a73f0f5e7b6fc6cde3d0f8af7f"
57
  },
58
  "chisel/test.jsonl": {
59
+ "records": 323,
60
+ "bytes": 123699,
61
+ "sha256": "f3a7f7b2e9b2e800ac277a04e8d35953bbdc7e533b733587c84fc4084c46b064"
62
  },
63
  "chisel/test_content_classfied.jsonl": {
64
+ "records": 323,
65
+ "bytes": 1892642,
66
+ "sha256": "190c156bcb5ae2df30aae07a5c1e6e179a0633b9c5a43ab846bd8594d7556e49"
67
  },
68
  "systemverilog/train_content.jsonl": {
69
  "records": 25586,
 
86
  "sha256": "2d9176ce75c4d83e6257274a2071ce463d848c2622e4db22f013c5275e4b8435"
87
  },
88
  "systemverilog/test_content.jsonl": {
89
+ "records": 508,
90
+ "bytes": 18847124,
91
+ "sha256": "614a017db5ca75287f6b85e5ac6a3b2d0c1f21c166e422351efbc0e2d9ba5391"
92
  },
93
  "systemverilog/test.jsonl": {
94
+ "records": 508,
95
+ "bytes": 214521,
96
+ "sha256": "e4a1cffa953088d0d400d716776aa9bb7a9b3d609b3574263f60c362c549ffac"
97
  },
98
  "systemverilog/test_content_classfied.jsonl": {
99
+ "records": 508,
100
+ "bytes": 18923574,
101
+ "sha256": "ba05f46cb85fb8ee3671c78902da98950a24966f199147d7ee163337915bc2e8"
102
  },
103
  "vhdl/train_content.jsonl": {
104
  "records": 13039,
 
121
  "sha256": "f351f8f5ded76b6b4e45089c5626e29b31ee183ff647c6f2194b6a639f7c0f0c"
122
  },
123
  "vhdl/test_content.jsonl": {
124
+ "records": 496,
125
+ "bytes": 17020635,
126
+ "sha256": "aef6b471df819556981d4b29592038b014ec069bdd9a8f1abda42f05bdaa1108"
127
  },
128
  "vhdl/test.jsonl": {
129
+ "records": 496,
130
+ "bytes": 188648,
131
+ "sha256": "d7f398ba131a2ac46f6f96ce3464166f5d2f8157d3e984205b78b751c2ab6f38"
132
  },
133
  "vhdl/test_content_classfied.jsonl": {
134
+ "records": 496,
135
+ "bytes": 17089233,
136
+ "sha256": "cf12c03927a7999bd5a7e35c75c7d3bfb3ece86af984053e189a2736e61a645e"
137
  },
138
  "hls/train_content.jsonl": {
139
  "records": 3766,
 
171
  "sha256": "f1200bb1dec805ed8ef04ff0b4fa435608ff8424233dc10f1e24d008e773b7a2"
172
  }
173
  },
174
+ "jsonl_bytes": 3410760519
175
  }
systemverilog/test.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:316d0d0bc9152ef80cc693f3ae13e3a43fe3b89a4dee20ce0623fdbfd6c26042
3
- size 207429
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4a1cffa953088d0d400d716776aa9bb7a9b3d609b3574263f60c362c549ffac
3
+ size 214521
systemverilog/test_content.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bff7e6bb516e7defb75c8bec331d285f36aac26ba15122de692c165989164a09
3
- size 18666571
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:614a017db5ca75287f6b85e5ac6a3b2d0c1f21c166e422351efbc0e2d9ba5391
3
+ size 18847124
systemverilog/test_content_classfied.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3c93117f120c05148b68334f2a5377c5168f7e8834dab71d70e99ac7ba1651e7
3
- size 18740720
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba05f46cb85fb8ee3671c78902da98950a24966f199147d7ee163337915bc2e8
3
+ size 18923574
vhdl/test.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bc3cbd42af931c48404a84e94ff3f318e2b5713b930ea54f9b594a187e6332c3
3
- size 186814
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7f398ba131a2ac46f6f96ce3464166f5d2f8157d3e984205b78b751c2ab6f38
3
+ size 188648
vhdl/test_content.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2f0e570487b7b9b1ad8208d39f52e3ffcf6ca194718ee7a707d4d61f10559df9
3
- size 16899730
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aef6b471df819556981d4b29592038b014ec069bdd9a8f1abda42f05bdaa1108
3
+ size 17020635
vhdl/test_content_classfied.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ee27c8d3748fd1df01909961aa46ffab653e0be5e8afd724815c8d7e946d8ec1
3
- size 16967614
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf12c03927a7999bd5a7e35c75c7d3bfb3ece86af984053e189a2736e61a645e
3
+ size 17089233