File size: 2,279 Bytes
915a0df
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d649472
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
915a0df
 
 
 
 
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
---
license: mit
task_categories:
- text-generation
language:
- en
tags:
- code
- java
size_categories:
- 10M<n<100M
---

**Java-Code-Large**

Java-Code-Large is a large-scale corpus of publicly available Java source code comprising more than **15 million** java codes. The dataset is designed to support research in large language model (LLM) pretraining, code intelligence, software engineering automation, and program analysis.

By providing a high-volume, language-specific corpus, Java-Code-Large enables systematic experimentation in Java-focused model training, domain adaptation, and downstream code understanding tasks.


**1. Introduction**

Large-scale code corpora have become fundamental resources for training and evaluating machine learning models for code-related tasks. While multilingual code datasets exist, there is increasing interest in language-specialized corpora to:

- Improve domain-specific performance

- Reduce cross-language noise

- Enable controlled experimental settings

- Support Java-specific tooling and research

Java-Code-Large addresses this need by providing a dedicated Java-only dataset at substantial scale.


**2. Dataset Composition**

Programming Language: Java

File Count: 15M+ Java files

File Format: .jsonl

Content Types:

- Classes

- Interfaces

- Enums

- Methods

- Annotations

- JavaDoc comments

- Exception handling structures

- Generics and concurrency constructs

The dataset consists of source code extracted from publicly accessible open-source repositories.


**3. Intended Research Applications**

   
3.1 Pretraining

- Training code foundation models from scratch

- Continued pretraining of existing LLMs

- Java-specialized language modeling

  

3.2 Fine-Tuning and Adaptation

- Code completion systems

- Automated refactoring tools

- IDE copilots

- Java-specific conversational assistants

  

3.3 Code Intelligence Tasks

- Code summarization

- Code-to-text generation

- Bug detection

- Vulnerability detection

- Clone detection

- Code similarity modeling

- Static and structural analysis

  

3.4 Software Engineering Research

- Empirical studies of Java programming patterns

- Tokenization and AST modeling experiments




Thanks to open source community for all the guidance & support!!