OpenAI Codex
An AI that translates natural language into code
About OpenAI Codex
OpenAI Codex is a direct descendant of GPT-3 that has been finetuned for programming tasks.
OpenAI Codex has broad knowledge of how people use code and is significantly more capable than GPT-3 in code generation, in part, because it was trained on a data set that includes a much larger concentration of public source code.
OpenAI Codex is a new machine learning tool that translates your text in the English language into code. Codex is designed to speed up the work of professional programmers, as well as help amateurs get started coding.
According to OpenAI, the current version of Codex has a 37-percent accuracy on coding tasks as opposed to GPT-3’s zero percent.
Together with GitHub OpenAI is releasing the first Codex-powered app, GitHub Copilot. Codex has many more capabilities, which developers can explore—and build into their own apps—when we release Codex through our API later this summer.
OpenAI Codex features
- Convert comments to code: Write a comment describing the logic you want, and let GitHub Copilot assemble the code for you.
- Autofill for repetitive code: GitHub Copilot works great for quickly producing boilerplate and repetitive code patterns. Feed it a few examples and let it generate the rest!
- Tests without the toil: Tests are the backbone of any robust software engineering project. Import a unit test package, and let GitHub Copilot suggest tests that match your implementation code.
- Show me alternatives: Want to evaluate a few different approaches? GitHub Copilot can show you a list of solutions. Use the code as provided, or edit it to meet your needs.