HyperAIHyperAI

Command Palette

Search for a command to run...

LCC Java Large Codebase Dataset

Date

Organization

Microsoft Corporation

License

Other

LCC Java is a Java code dataset released by Microsoft in 2023, originating from The Large Code Corpus (LCC) project, aimed at providing high-quality code corpora for tasks such as code understanding, code generation, and code completion.

The dataset is approximately 1.87 GB and contains 120,000 Java code samples, sourced from real Java source code in open-source projects, and is divided into training, validation, and test sets. Each sample mainly contains context code and the corresponding target code snippet, stored in JSON format, and can be used for supervised learning and sequence-to-sequence (Seq2Seq) training of code-related models.

Dataset Composition

The dataset includes the following three parts:

  • Training set (train): 100,000 samples, approximately 1.61 GB.
  • Validation set (validation): 10,000 samples, approximately 131 MB.
  • Test set (test): 10,000 samples, approximately 129 MB.

Each sample mainly contains the following fields:

  • context: Context code, providing background information about the code for the model.
  • gt: Target code snippet, i.e., the code that the model needs to predict or generate.

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing

HyperAI Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp