Datasets:
Tasks:
Text Generation
Modalities:
Text
Sub-tasks:
language-modeling
Languages:
English
Size:
10M - 100M
License:
shibing624
commited on
Commit
•
4f81cc3
1
Parent(s):
670eddb
Update README.md
Browse files
README.md
CHANGED
@@ -58,18 +58,16 @@ task_ids:
|
|
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 |
-
|
63 |
-
|
64 |
-
|
65 |
-
CPP_CODE_HOME = "https://github.com/fffaraz/awesome-cpp"
|
66 |
-
```
|
67 |
|
68 |
|
69 |
### Supported Tasks and Leaderboards
|
70 |
- language modeling
|
71 |
-
- code generation tasks
|
72 |
-
**Leaderboard:** [code-autocomplete](https://github.com/shibing624/code-autocomplete)
|
73 |
|
74 |
### Languages
|
75 |
|
@@ -106,13 +104,10 @@ def _parse_args():
|
|
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,9 +115,7 @@ $ wc -l python/*
|
|
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,9 +123,7 @@ $ wc -l java/*
|
|
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,7 +131,6 @@ $ wc -l cpp/*
|
|
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.
|
@@ -185,4 +175,3 @@ For research use only.
|
|
185 |
|
186 |
### Contributions
|
187 |
Thanks to [@shibing624](https://github.com/shibing624) add this dataset.
|
188 |
-
|
|
|
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 |
+
data source:
|
62 |
|
63 |
+
- PYTHON_CODE: https://github.com/bharathgs/Awesome-pytorch-list
|
64 |
+
- JAVA_CODE: https://github.com/akullpp/awesome-java
|
65 |
+
- CPP_CODE: https://github.com/fffaraz/awesome-cpp
|
|
|
|
|
66 |
|
67 |
|
68 |
### Supported Tasks and Leaderboards
|
69 |
- language modeling
|
70 |
+
- code generation tasks, **Leaderboard:** [code-autocomplete](https://github.com/shibing624/code-autocomplete)
|
|
|
71 |
|
72 |
### Languages
|
73 |
|
|
|
104 |
}
|
105 |
```
|
106 |
### Data Fields
|
|
|
107 |
The data fields are the same among all splits.
|
108 |
- `text`: a `string` feature.
|
|
|
109 |
### Data Splits
|
110 |
#### python
|
|
|
111 |
```shell
|
112 |
$ wc -l python/*
|
113 |
10000 python/test.txt
|
|
|
115 |
10000 python/valid.txt
|
116 |
5235412 total
|
117 |
```
|
|
|
118 |
#### java
|
|
|
119 |
```shell
|
120 |
$ wc -l java/*
|
121 |
950083 java/test.txt
|
|
|
123 |
940803 java/valid.txt
|
124 |
4693766 total
|
125 |
```
|
|
|
126 |
#### cpp
|
|
|
127 |
```shell
|
128 |
$ wc -l cpp/*
|
129 |
1060014 cpp/test.txt
|
|
|
131 |
1099124 cpp/valid.txt
|
132 |
5278379 total
|
133 |
```
|
|
|
134 |
## Dataset Creation
|
135 |
### Curation Rationale
|
136 |
As code generation dataset, I upload it to huggingface datasets.
|
|
|
175 |
|
176 |
### Contributions
|
177 |
Thanks to [@shibing624](https://github.com/shibing624) add this dataset.
|
|