Update README.md
Browse files
README.md
CHANGED
@@ -1,11 +1,30 @@
|
|
1 |
# jm52m
|
2 |
jm52m is a dataset we created containing 52m Java methods from 52k Java projects. The source code originated from the Merobase and Sourcerer data releases, supplemented by our own prior work in LeClair et al. It contains code uploaded to code repositories between 2008 and 2018. We then extracted every Java method from every file and project. We removed empty methods, methods from corrupt files, and methods with parsing errors.
|
3 |
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# jm52m
|
2 |
jm52m is a dataset we created containing 52m Java methods from 52k Java projects. The source code originated from the Merobase and Sourcerer data releases, supplemented by our own prior work in LeClair et al. It contains code uploaded to code repositories between 2008 and 2018. We then extracted every Java method from every file and project. We removed empty methods, methods from corrupt files, and methods with parsing errors.
|
3 |
|
4 |
+
---
|
5 |
+
## jm52m file list
|
6 |
+
|
7 |
+
- fc_lsh_parts_0.X0 -- lsh directory where: X = threshold e.g. if threshold=0.5, X will be 5.
|
8 |
+
|
9 |
+
- fundats-j1.pkl -- a pickle file that is a dictionary for raw function code files with key = function id and value = raw code
|
10 |
+
|
11 |
+
- fundats-j1.json.gz -- a compressed version of json file that is a dictionary for raw function code files with key = function id and value = raw code
|
12 |
+
|
13 |
+
- q90testfids.pkl -- funcom Java methods test set ID files
|
14 |
+
|
15 |
+
- train.bin; val.bin -- bin files for training and fine-tuning models
|
16 |
+
|
17 |
+
- jm52m.sql.gz -- a compressed version of sql files for 52m Java methods
|
18 |
+
|
19 |
+
---
|
20 |
+
## jm52m dataset details
|
21 |
+
| Config | Value |
|
22 |
+
| ------- | ------- |
|
23 |
+
|number of tokens | 8,752,695,577|
|
24 |
+
|number of documents | 51,841,717|
|
25 |
+
|number of files | 8,402,038 |
|
26 |
+
|number of projects | 52,933 |
|
27 |
+
|megabytes after processing |16,695 |
|
28 |
+
|
29 |
+
|
30 |
+
|