Datasets:
Tasks:
Text Generation
Modalities:
Text
Formats:
json
Languages:
English
Size:
10K - 100K
Tags:
code
License:
WANG Ning
commited on
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-generation
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- code
|
| 9 |
+
pretty_name: vgen_cpp
|
| 10 |
+
size_categories:
|
| 11 |
+
- 1K<n<10K
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Dataset Card for Opencores
|
| 15 |
+
|
| 16 |
+
In the process of continual pre-training, we utilized the publicly available VGen dataset.
|
| 17 |
+
VGen aggregates Verilog repositories from GitHub, systematically filters out duplicates and excessively large files, and retains only those files containing \texttt{module} and \texttt{endmodule} statements.
|
| 18 |
+
|
| 19 |
+
We also incorporated the CodeSearchNet dataset \cite{codesearchnet}, which contains approximately 40MB function codes and their documentation.
|
| 20 |
+
|
| 21 |
+
## Dataset Features
|
| 22 |
+
|
| 23 |
+
- text (string): The pretraining corpus: nature language and Verilog/C code.
|
| 24 |
+
|
| 25 |
+
## Loading the dataset
|
| 26 |
+
|
| 27 |
+
```
|
| 28 |
+
from datasets import load_dataset
|
| 29 |
+
|
| 30 |
+
ds = load_dataset("WANGNingroci/vgen_cpp", split="train")
|
| 31 |
+
print(ds[0])
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
+
## Citation
|
| 35 |
+
|
| 36 |
+
|