ajibawa-2023 commited on
Commit
b0008fe
·
verified ·
1 Parent(s): af0d479

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +180 -3
README.md CHANGED
@@ -1,3 +1,180 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ task_categories:
4
+ - text-generation
5
+ language:
6
+ - en
7
+ tags:
8
+ - Python
9
+ - code
10
+ size_categories:
11
+ - 1M<n<10M
12
+ ---
13
+
14
+
15
+ **Python-Code-Large**
16
+
17
+ Python-Code-Large is a large-scale corpus of Python source code comprising more than **2 million** rows of Python code. The dataset is designed to support research in large language model (LLM) pretraining, code intelligence, software engineering automation, and program analysis for the Python ecosystem.
18
+
19
+ By providing a high-volume, language-specific corpus, Python-Code-Large enables systematic experimentation in Python-focused model training, domain adaptation, and downstream code understanding tasks.
20
+
21
+ Python-Code-Large addresses the need for a dedicated Python-only dataset at substantial scale, enabling focused research across data science, backend systems, automation, scientific computing, and AI-driven Python environments.
22
+
23
+
24
+ **1. Dataset Composition**
25
+
26
+ Programming Language: Python
27
+
28
+ Size: 2M+ rows of Python code
29
+
30
+ File Format: .jsonl
31
+
32
+ Each record is stored as structured JSON Lines format for efficient streaming, large-scale training, and distributed processing.
33
+
34
+
35
+ Content Types
36
+
37
+ The dataset includes a wide variety of Python constructs and paradigms, such as:
38
+
39
+ - Function definitions and decorators
40
+
41
+ - Class-based and object-oriented programming
42
+
43
+ - Inheritance and multiple inheritance patterns
44
+
45
+ - Async programming (async / await)
46
+
47
+ - Generators and iterators
48
+
49
+ - Context managers
50
+
51
+ - Exception handling patterns
52
+
53
+ - Type hints and annotations
54
+
55
+ - Functional programming constructs (map, filter, lambda)
56
+
57
+ - List, dictionary, and set comprehensions
58
+
59
+ - Metaprogramming patterns
60
+
61
+ - Data processing pipelines
62
+
63
+ - Web framework logic
64
+
65
+ - REST API implementations
66
+
67
+ - Machine learning scripts
68
+
69
+ - Data science notebooks (converted to .py where applicable)
70
+
71
+ - CLI utilities
72
+
73
+ - Testing frameworks (unit tests, integration tests)
74
+
75
+ - Configuration and environment management code
76
+
77
+ - Docstrings and inline documentation
78
+
79
+ - Modern Python 3.x features
80
+
81
+
82
+
83
+ **2. Intended Research Applications**
84
+
85
+ 2.1 Pretraining
86
+
87
+ - Training Python code foundation models from scratch
88
+
89
+ - Continued pretraining of existing LLMs
90
+
91
+ - Python-specialized language modeling
92
+
93
+ - Tokenizer training optimized for Python syntax
94
+
95
+ - AST-aware pretraining experiments
96
+
97
+
98
+ 2.2 Fine-Tuning and Adaptation
99
+
100
+ - Code completion systems
101
+
102
+ - Intelligent IDE assistants
103
+
104
+ - Automated refactoring tools
105
+
106
+ - Conversational programming agents
107
+
108
+ - Python-specific copilots
109
+
110
+ - Docstring generation systems
111
+
112
+ - Type inference assistants
113
+
114
+
115
+
116
+ 2.3 Code Intelligence Tasks
117
+
118
+ - Code summarization
119
+
120
+ - Code-to-text generation
121
+
122
+ - Documentation generation
123
+
124
+ - Bug detection
125
+
126
+ - Vulnerability detection
127
+
128
+ - Clone detection
129
+
130
+ - Code similarity modeling
131
+
132
+ - Readability enhancement
133
+
134
+ _ Static code analysis
135
+
136
+ - Structural and dependency modeling
137
+
138
+
139
+
140
+
141
+ 2.4 Software Engineering Research
142
+
143
+ - Empirical studies of Python coding patterns
144
+
145
+ - Analysis of async architectures in Python
146
+
147
+ - Framework usage studies
148
+
149
+ - Dependency and import graph modeling
150
+
151
+ - AST-based experiments
152
+
153
+ - Cross-version Python evolution analysis
154
+
155
+ - Type adoption analysis (PEP-based transitions)
156
+
157
+ - Large-scale study of testing patterns
158
+
159
+
160
+ **3. Research Opportunities Enabled**
161
+
162
+ Python-Code-Large enables exploration of:
163
+
164
+ - Python-specific tokenizer efficiency
165
+
166
+ - Function-level representation learning
167
+
168
+ - Retrieval-augmented generation for code
169
+
170
+ - Secure code modeling
171
+
172
+ - Long-context modeling of large Python files
173
+
174
+ - Docstring-conditioned generation
175
+
176
+ - Python-specific benchmark creation
177
+
178
+
179
+
180
+ Thanks to open source community for all the guidance & support!!