Favicon of CodeGen

CodeGen

An open-source family of code generation models from Salesforce AI Research, with downloadable weights on Hugging Face Hub and an Apache 2.0 license.

CodeGen is a family of language models for generating programs, aimed at researchers and developers working on code generation. Salesforce AI Research studies how these models build programs through multiple rounds of prompting.

Model weights are available from Hugging Face Hub in several sizes. The accompanying Jaxformer library supports data preprocessing, training and fine-tuning for researchers who want to adapt the models. The project uses the Apache 2.0 license. Salesforce describes the release as intended for research and says it hasn't designed or evaluated the models for every downstream use.

Similar to CodeGen