Datasets:
Tasks:
Text Generation
Modalities:
Text
Sub-tasks:
language-modeling
Languages:
English
Size:
10M - 100M
License:
Commit
·
670eddb
1
Parent(s):
192b2ed
Update README.md
Browse files
README.md
CHANGED
|
@@ -46,14 +46,19 @@ task_ids:
|
|
| 46 |
- [Licensing Information](#licensing-information)
|
| 47 |
- [Citation Information](#citation-information)
|
| 48 |
- [Contributions](#contributions)
|
|
|
|
| 49 |
## Dataset Description
|
| 50 |
- **Repository:** [code-autocomplete](https://github.com/shibing624/code-autocomplete)
|
| 51 |
- **Leaderboard:** [leaderboard](https://github.com/shibing624/code-autocomplete) (located on the homepage)
|
| 52 |
- **Size of downloaded dataset files:** 105 MB
|
| 53 |
- **Total amount of disk used:** 570 MB
|
|
|
|
| 54 |
### Dataset Summary
|
|
|
|
| 55 |
Source code dataset is a collection of Github awesome repos, it contains Python, Java, C++, and other programming languages.
|
| 56 |
This dataset can be used in different NLP tasks like language modeling and text generation tasks.
|
|
|
|
|
|
|
| 57 |
```python
|
| 58 |
PYTHON_CODE_HOME = "https://github.com/bharathgs/Awesome-pytorch-list"
|
| 59 |
JAVA_CODE_HOME = "https://github.com/akullpp/awesome-java"
|
|
@@ -101,10 +106,13 @@ def _parse_args():
|
|
| 101 |
}
|
| 102 |
```
|
| 103 |
### Data Fields
|
|
|
|
| 104 |
The data fields are the same among all splits.
|
| 105 |
- `text`: a `string` feature.
|
|
|
|
| 106 |
### Data Splits
|
| 107 |
#### python
|
|
|
|
| 108 |
```shell
|
| 109 |
$ wc -l python/*
|
| 110 |
10000 python/test.txt
|
|
@@ -112,7 +120,9 @@ $ wc -l python/*
|
|
| 112 |
10000 python/valid.txt
|
| 113 |
5235412 total
|
| 114 |
```
|
|
|
|
| 115 |
#### java
|
|
|
|
| 116 |
```shell
|
| 117 |
$ wc -l java/*
|
| 118 |
950083 java/test.txt
|
|
@@ -120,7 +130,9 @@ $ wc -l java/*
|
|
| 120 |
940803 java/valid.txt
|
| 121 |
4693766 total
|
| 122 |
```
|
|
|
|
| 123 |
#### cpp
|
|
|
|
| 124 |
```shell
|
| 125 |
$ wc -l cpp/*
|
| 126 |
1060014 cpp/test.txt
|
|
@@ -128,6 +140,7 @@ $ wc -l cpp/*
|
|
| 128 |
1099124 cpp/valid.txt
|
| 129 |
5278379 total
|
| 130 |
```
|
|
|
|
| 131 |
## Dataset Creation
|
| 132 |
### Curation Rationale
|
| 133 |
As code generation dataset, I upload it to huggingface datasets.
|
|
|
|
| 46 |
- [Licensing Information](#licensing-information)
|
| 47 |
- [Citation Information](#citation-information)
|
| 48 |
- [Contributions](#contributions)
|
| 49 |
+
|
| 50 |
## Dataset Description
|
| 51 |
- **Repository:** [code-autocomplete](https://github.com/shibing624/code-autocomplete)
|
| 52 |
- **Leaderboard:** [leaderboard](https://github.com/shibing624/code-autocomplete) (located on the homepage)
|
| 53 |
- **Size of downloaded dataset files:** 105 MB
|
| 54 |
- **Total amount of disk used:** 570 MB
|
| 55 |
+
|
| 56 |
### Dataset Summary
|
| 57 |
+
|
| 58 |
Source code dataset is a collection of Github awesome repos, it contains Python, Java, C++, and other programming languages.
|
| 59 |
This dataset can be used in different NLP tasks like language modeling and text generation tasks.
|
| 60 |
+
|
| 61 |
+
|
| 62 |
```python
|
| 63 |
PYTHON_CODE_HOME = "https://github.com/bharathgs/Awesome-pytorch-list"
|
| 64 |
JAVA_CODE_HOME = "https://github.com/akullpp/awesome-java"
|
|
|
|
| 106 |
}
|
| 107 |
```
|
| 108 |
### Data Fields
|
| 109 |
+
|
| 110 |
The data fields are the same among all splits.
|
| 111 |
- `text`: a `string` feature.
|
| 112 |
+
|
| 113 |
### Data Splits
|
| 114 |
#### python
|
| 115 |
+
|
| 116 |
```shell
|
| 117 |
$ wc -l python/*
|
| 118 |
10000 python/test.txt
|
|
|
|
| 120 |
10000 python/valid.txt
|
| 121 |
5235412 total
|
| 122 |
```
|
| 123 |
+
|
| 124 |
#### java
|
| 125 |
+
|
| 126 |
```shell
|
| 127 |
$ wc -l java/*
|
| 128 |
950083 java/test.txt
|
|
|
|
| 130 |
940803 java/valid.txt
|
| 131 |
4693766 total
|
| 132 |
```
|
| 133 |
+
|
| 134 |
#### cpp
|
| 135 |
+
|
| 136 |
```shell
|
| 137 |
$ wc -l cpp/*
|
| 138 |
1060014 cpp/test.txt
|
|
|
|
| 140 |
1099124 cpp/valid.txt
|
| 141 |
5278379 total
|
| 142 |
```
|
| 143 |
+
|
| 144 |
## Dataset Creation
|
| 145 |
### Curation Rationale
|
| 146 |
As code generation dataset, I upload it to huggingface datasets.
|