HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

OctoPack: Instruction Tuning Code Large Language Models

OctoPack: Instruction Tuning Code Large Language Models

Abstract

Finetuning large language models (LLMs) on instructions leads to vastperformance improvements on natural language tasks. We apply instruction tuningusing code, leveraging the natural structure of Git commits, which pair codechanges with human instructions. We compile CommitPack: 4 terabytes of Gitcommits across 350 programming languages. We benchmark CommitPack against othernatural and synthetic code instructions (xP3x, Self-Instruct, OASST) on the 16Bparameter StarCoder model, and achieve state-of-the-art performance amongmodels not trained on OpenAI outputs, on the HumanEval Python benchmark (46.2%pass@1). We further introduce HumanEvalPack, expanding the HumanEval benchmarkto a total of 3 coding tasks (Code Repair, Code Explanation, Code Synthesis)across 6 languages (Python, JavaScript, Java, Go, C++, Rust). Our models,OctoCoder and OctoGeeX, achieve the best performance across HumanEvalPack amongall permissive models, demonstrating CommitPack's benefits in generalizing to awider set of languages and natural coding tasks. Code, models and data arefreely available at https://github.com/bigcode-project/octopack.

Code Repositories

bigcode-project/bigcode-evaluation-harness
Official
pytorch
Mentioned in GitHub
infi-coder/infibench-evaluation-harness
pytorch
Mentioned in GitHub
bigcode-project/octopack
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
code-generation-on-humanevalOctorCoder (GPT-4)
Pass@1: 86.6

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp