Update README.md
Browse files
README.md
CHANGED
@@ -170,6 +170,46 @@ Each example is also annotated with the license of the associated repository. Th
|
|
170 |
]
|
171 |
```
|
172 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
## Dataset Creation
|
174 |
|
175 |
The dataset was created in two steps:
|
|
|
170 |
]
|
171 |
```
|
172 |
|
173 |
+
## Dataset Statistics
|
174 |
+
|
175 |
+
The dataset contains 115M files and the sum of all the source code file sizes is 873 GB (note that the size of the dataset is larger due to the extra fields). A breakdown per language is given in the plot and table below:
|
176 |
+
|
177 |
+
![dataset-statistics](https://huggingface.co/datasets/lvwerra/github-code/resolve/main/github-code-stats-alpha.png)
|
178 |
+
|
179 |
+
| | Language |File Count| Size (GB)|
|
180 |
+
|---:|:-------------|---------:|-------:|
|
181 |
+
| 0 | Java | 19548190 | 107.70 |
|
182 |
+
| 1 | C | 14143113 | 183.83 |
|
183 |
+
| 2 | JavaScript | 11839883 | 87.82 |
|
184 |
+
| 3 | HTML | 11178557 | 118.12 |
|
185 |
+
| 4 | PHP | 11177610 | 61.41 |
|
186 |
+
| 5 | Markdown | 8464626 | 23.09 |
|
187 |
+
| 6 | C++ | 7380520 | 87.73 |
|
188 |
+
| 7 | Python | 7226626 | 52.03 |
|
189 |
+
| 8 | C# | 6811652 | 36.83 |
|
190 |
+
| 9 | Ruby | 4473331 | 10.95 |
|
191 |
+
| 10 | GO | 2265436 | 19.28 |
|
192 |
+
| 11 | TypeScript | 1940406 | 24.59 |
|
193 |
+
| 12 | CSS | 1734406 | 22.67 |
|
194 |
+
| 13 | Shell | 1385648 | 3.01 |
|
195 |
+
| 14 | Scala | 835755 | 3.87 |
|
196 |
+
| 15 | Makefile | 679430 | 2.92 |
|
197 |
+
| 16 | SQL | 656671 | 5.67 |
|
198 |
+
| 17 | Lua | 578554 | 2.81 |
|
199 |
+
| 18 | Perl | 497949 | 4.70 |
|
200 |
+
| 19 | Dockerfile | 366505 | 0.71 |
|
201 |
+
| 20 | Haskell | 340623 | 1.85 |
|
202 |
+
| 21 | Rust | 322431 | 2.68 |
|
203 |
+
| 22 | TeX | 251015 | 2.15 |
|
204 |
+
| 23 | Batchfile | 236945 | 0.70 |
|
205 |
+
| 24 | CMake | 175282 | 0.54 |
|
206 |
+
| 25 | Visual Basic | 155652 | 1.91 |
|
207 |
+
| 26 | FORTRAN | 142038 | 1.62 |
|
208 |
+
| 27 | PowerShell | 136846 | 0.69 |
|
209 |
+
| 28 | Assembly | 82905 | 0.78 |
|
210 |
+
| 29 | Julia | 58317 | 0.29 |
|
211 |
+
|
212 |
+
|
213 |
## Dataset Creation
|
214 |
|
215 |
The dataset was created in two steps:
|