Code models
Code Llama is a family of language models for code with infilling and instruction-following capabilities.
DeepSeek Coder introduces a series of code language models. Codex was evaluated on synthesizing programs from docstrings. Code Llama provides infilling capabilities.
Some code models learn from project-level code and an infilling objective. AlphaCode uses language models to generate code at scale. It then filters sampled programs based on program behaviour.
Repeated sampling is an effective strategy for producing working solutions to difficult prompts. Generating code that solves a given goal remains challenging. AlphaCode filters sampled programs based on program behaviour.
Codex was studied for Python code-writing capabilities.
Follow AlphaCode through large-scale sampling and filtering.
- 1 · generateUse transformer-based language models to generate code at scale.
- 2 · sampleUse large-scale model sampling to explore the search space.
- 3 · filterFilter sampled programs based on program behaviour.
- 4 · selectReduce the samples to a small set of submissions.
AlphaCode samples programs before filtering them based on program behaviour.
| Who | What they ask | What it works with |
|---|---|---|
| Developer | “Can this docstring become a candidate Python function?” | Code generation |
| Maintainer | “Does this model provide infilling capabilities?” | Code infilling |
| Evaluation team | “Which generated candidates pass the supplied tests?” | Program verification |
- Code models can generate programs from natural-language descriptions.
- Some code models provide infilling capabilities.
- Repeated sampling can find working solutions to difficult prompts.
- Codex had difficulty with docstrings that describe long chains of operations.
- Generating code that solves a given goal remains challenging.
- Codex had difficulty binding operations to variables.
Sources used
This explainer is written in original language. The links below support its factual claims.
- paperEvaluating Large Language Models Trained on Code, Chen et al. · read 28 Sept 2026
- paperCode Llama - Open Foundation Models for Code, Roziere et al. · read 28 Sept 2026
- paperStarCoder - may the source be with you, Li et al. · read 28 Sept 2026
- paperCompetition-Level Code Generation with AlphaCode, Li et al. · read 28 Sept 2026
- paperDeepSeek-Coder - When the Large Language Model Meets Programming, Guo et al. · read 28 Sept 2026