File size: 1,908 Bytes
8dc00d5
f7957a4
 
50eba76
f7957a4
 
 
50eba76
8bc2099
f7957a4
 
 
 
 
d5328f2
f184516
d5328f2
 
8bc2099
d5328f2
 
 
ceedaec
d5328f2
 
 
 
 
3459a90
d5328f2
 
 
 
 
 
 
 
041d175
 
 
 
 
 
 
 
d5328f2
 
 
 
 
 
da0e222
d5328f2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8bc2099
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
---
annotations_creators: []
language:
- code
license:
- mit
pretty_name: github-code
size_categories:
- 100K<n<1M
source_datasets: []
task_categories:
- text-generation
task_ids:
- language-modeling
---
# Dataset Card for AI-HDLCoder

## Dataset Description
The GitHub Code dataset consists of 100M code files from GitHub in VHDL programming language with extensions totaling in 1.94 GB of data. The dataset was created from the public GitHub dataset on Google BiqQuery at Anhalt University of Applied Sciences.

## Considerations for Using the Data

The dataset is created for research purposes and consists of source code from a wide range of repositories. As such they can potentially include harmful or biased code as well as sensitive information like passwords or usernames.

### Languages

```python
{
    "VHDL": [".vhdl",".vhd" ]
}
```

## Dataset Structure

### Data Instances

```python
{
  "repo_name": "sebgod/linguist",
  "path": "samples/VHDL/foo.vhd",
  "copies": "91",
  "size": "217",
  "content": "-- VHDL example file\n\nlibrary ieee;\nuse ieee.std_logic_1164.all;\n\nentity inverter is\n\tport(a : in std_logic;\n\t     b : out std_logic);\nend entity;\n\narchitecture rtl of inverter is\nbegin\n\tb \u003c\u003d not a;\nend architecture;\n",
  "license": "mit"
}
```

### Data Fields

|Field|Type|Description|
|---|---|---|
|content|string|content of source file|
|repo_name|string|name of the GitHub repository|
|path|string|path of file in GitHub repository|
|license|string|license of GitHub repository|
|size|int|size of source file in bytes|

### Data Splits

The dataset contains a train split only

### Licensing Information

```python
[
  'agpl-3.0',
  'artistic-2.0',
  'mpl-2.0',
  'cc0-1.0',
  'mit',
  'gpl-2.0',
  'gpl-3.0',
  'lgpl-3.0',
  'apache-2.0',
  'bsd-3-clause'
 ]
```

### v1.0
- Initial release of dataset
- The query was executed on 21.07.2023, 00:02:38 UTC+2