Datasets:
Update aligned test split to 1,783 examples
Browse filesPublish 44,964 training, 453 validation, and 1,783 test examples with aligned raw/content records.
- README.md +6 -6
- chisel/test.jsonl +2 -2
- chisel/test_content.jsonl +2 -2
- chisel/test_content_classfied.jsonl +2 -2
- sample_manifest.json +33 -33
- systemverilog/test.jsonl +2 -2
- systemverilog/test_content.jsonl +2 -2
- systemverilog/test_content_classfied.jsonl +2 -2
- vhdl/test.jsonl +2 -2
- vhdl/test_content.jsonl +2 -2
- vhdl/test_content_classfied.jsonl +2 -2
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,
|
| 58 |
|
| 59 |
## Split sizes
|
| 60 |
|
| 61 |
| Language | Train | Validation | Test |
|
| 62 |
| --- | ---: | ---: | ---: |
|
| 63 |
-
| Chisel | 2,573 | 119 |
|
| 64 |
-
| Verilog / SystemVerilog | 25,586 | 107 |
|
| 65 |
-
| VHDL | 13,039 | 104 |
|
| 66 |
| HLS C/C++ | 3,766 | 123 | 456 |
|
| 67 |
-
| **Total** | **44,964** | **453** | **1,
|
| 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) #
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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":
|
| 8 |
},
|
| 9 |
"systemverilog": {
|
| 10 |
"train": 25586,
|
| 11 |
"valid": 107,
|
| 12 |
-
"test":
|
| 13 |
},
|
| 14 |
"vhdl": {
|
| 15 |
"train": 13039,
|
| 16 |
"valid": 104,
|
| 17 |
-
"test":
|
| 18 |
},
|
| 19 |
"hls": {
|
| 20 |
"train": 3766,
|
|
@@ -22,11 +22,11 @@
|
|
| 22 |
"test": 456
|
| 23 |
}
|
| 24 |
},
|
| 25 |
-
"unique_examples":
|
| 26 |
"split_examples": {
|
| 27 |
"train": 44964,
|
| 28 |
"validation": 453,
|
| 29 |
-
"test":
|
| 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":
|
| 55 |
-
"bytes":
|
| 56 |
-
"sha256": "
|
| 57 |
},
|
| 58 |
"chisel/test.jsonl": {
|
| 59 |
-
"records":
|
| 60 |
-
"bytes":
|
| 61 |
-
"sha256": "
|
| 62 |
},
|
| 63 |
"chisel/test_content_classfied.jsonl": {
|
| 64 |
-
"records":
|
| 65 |
-
"bytes":
|
| 66 |
-
"sha256": "
|
| 67 |
},
|
| 68 |
"systemverilog/train_content.jsonl": {
|
| 69 |
"records": 25586,
|
|
@@ -86,19 +86,19 @@
|
|
| 86 |
"sha256": "2d9176ce75c4d83e6257274a2071ce463d848c2622e4db22f013c5275e4b8435"
|
| 87 |
},
|
| 88 |
"systemverilog/test_content.jsonl": {
|
| 89 |
-
"records":
|
| 90 |
-
"bytes":
|
| 91 |
-
"sha256": "
|
| 92 |
},
|
| 93 |
"systemverilog/test.jsonl": {
|
| 94 |
-
"records":
|
| 95 |
-
"bytes":
|
| 96 |
-
"sha256": "
|
| 97 |
},
|
| 98 |
"systemverilog/test_content_classfied.jsonl": {
|
| 99 |
-
"records":
|
| 100 |
-
"bytes":
|
| 101 |
-
"sha256": "
|
| 102 |
},
|
| 103 |
"vhdl/train_content.jsonl": {
|
| 104 |
"records": 13039,
|
|
@@ -121,19 +121,19 @@
|
|
| 121 |
"sha256": "f351f8f5ded76b6b4e45089c5626e29b31ee183ff647c6f2194b6a639f7c0f0c"
|
| 122 |
},
|
| 123 |
"vhdl/test_content.jsonl": {
|
| 124 |
-
"records":
|
| 125 |
-
"bytes":
|
| 126 |
-
"sha256": "
|
| 127 |
},
|
| 128 |
"vhdl/test.jsonl": {
|
| 129 |
-
"records":
|
| 130 |
-
"bytes":
|
| 131 |
-
"sha256": "
|
| 132 |
},
|
| 133 |
"vhdl/test_content_classfied.jsonl": {
|
| 134 |
-
"records":
|
| 135 |
-
"bytes":
|
| 136 |
-
"sha256": "
|
| 137 |
},
|
| 138 |
"hls/train_content.jsonl": {
|
| 139 |
"records": 3766,
|
|
@@ -171,5 +171,5 @@
|
|
| 171 |
"sha256": "f1200bb1dec805ed8ef04ff0b4fa435608ff8424233dc10f1e24d008e773b7a2"
|
| 172 |
}
|
| 173 |
},
|
| 174 |
-
"jsonl_bytes":
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cf12c03927a7999bd5a7e35c75c7d3bfb3ece86af984053e189a2736e61a645e
|
| 3 |
+
size 17089233
|