Incoder

Code LLMs Explained,
InCoder

InCoder is a large-scale generative code model that can synthesize and edit programs by infilling masked code. After being trained on permissively licensed code, it can infill any region of code, resulting in improved performance on tasks like type inference and variable renaming. Because of the bidirectional context, the model performs well on challenging tasks such as comment generation in zero-shot settings. On program synthesis benchmarks, it performs similarly to left-to-right models.

Model Details View All Models

Technical Experts

50 Custom AI projects

4.8 Minimum Rating

An Overview of Incoder

InCoder is a generative model for code infilling and synthesis designed to assist developers in writing and completing code by automatically generating missing or required code segments.

InCoder achieves 82.43% accuracy on CodeXGLUE.

82.43% Accuracy

InCoder achieved 82.43% accuracy on the CodeXGLUE benchmark. It is widely used for code-infilling tasks, demonstrating the effectiveness of InCoder's neural language modeling approach.

Trained on a total of 159 GB of code and 28 languages

Trained on 159 GB of code

InCoder is trained on a large dataset with a total of 159 GB of code, 52 GB of it in Python, and 57 GB of content from StackOverflow. And trained in 28 languages, all included in StackOverflow.

Trained on a single NVIDIA GeForce RTX 2080 Ti GPU.

Trained on NVIDIA GeForce

InCoder achieves top performance on code infilling and synthesis tasks with training on a single NVIDIA GeForce RTX 2080 Ti GPU using the PyTorch deep learning framework,

Blockchain Success Starts here

  • About Model

  • Model Highlights

  • Training Details

  • Model Types

  • Key Results

  • Model Features

  • Model Tasks

  • Fine-tuning

  • Benchmark Results

  • Sample Codes

  • Limitations

  • Other LLMs

Model Parameters
incoder-6B 6.7B
incoder-1B1B
TaskDatasetScore
Single-line infilling (L-R single)HumanEval48.2
Single-line infilling (L-R reranking)HumanEval54.9
Single-line infilling (CM infilling)HumanEval69
Multi-line infilling (L-R single)HumanEval24.9
Multi-line infilling (L-R reranking)HumanEval28.2
Multi-line infilling (CM infilling)HumanEval38.6
Python Docstring generation avgCodeXGLUE17.15
code generation (pass@100)HumanEval47
code generation (pass@100)MBPP19.4
Left-to-right singleHumanEval48.2
Left-to-right rerankingHumanEval54.9
InfillingHumanEval69