CodeGen is a family of open-source large language models designed specifically for program synthesis and code generation tasks. Developed by Salesforce Research, the models are trained on large datasets containing both natural language and programming language content. This allows them to translate natural language descriptions into functional code across a variety of programming languages. CodeGen supports multi-turn program synthesis, meaning it can generate complex programs through a sequence of prompts that progressively refine the solution. The project also includes training infrastructure and model checkpoints that allow researchers to experiment with different model sizes and training configurations. Its architecture and training approach enable the models to perform competitively with proprietary coding models on benchmark tasks.
Features
- Large language models specialized for program synthesis and code generation
- Training datasets combining natural language and programming language sources
- Multi-turn prompting workflow for generating complex programs
- Model checkpoints and training infrastructure for experimentation
- Competitive performance on coding benchmarks such as HumanEval
- Support for generating code in multiple programming languages