ServiceNow Research

StarCoder: may the source be with you!

Abstract

The BigCode community, an open-scientific collaboration working on the responsible development of Large Language Models for Code (Code LLMs), introduces StarCoder and StarCoderBase: 15.5B parameter models with 8K context length, infilling capabilities and fast large-batch inference enabled by multi-query attention. StarCoderBase is trained on 1 trillion tokens sourced from The Stack, a large collection of permissively licensed GitHub repositories with inspection tools and an opt-out process. We fine-tuned StarCoderBase on 35B Python tokens, resulting in the creation of StarCoder. We perform the most comprehensive evaluation of Code LLMs to date and show that StarCoderBase outperforms every open Code LLM that supports multiple programming languages and matches or outperforms the OpenAI code-cushman-001 model. Furthermore, StarCoder outperforms every model that is fine-tuned on Python, can be prompted to achieve 40% pass@1 on HumanEval, and still retains its performance on other programming languages. We take several important steps towards a safe open-access model release, including an improved PII redaction pipeline and a novel attribution tracing tool, and make the StarCoder models publicly available under a more commercially viable version of the Open Responsible AI Model license.

Publication
ArXiv
Raymond Li
Raymond Li
AI Developer

AI Developer at Large Language Models Lab located at Montreal, QC, Canada.

Denis Kocetkov
Denis Kocetkov
AI Developer

AI Developer at Large Language Models Lab located at London, United Kingdom.

Joel Lamy Poirier
Joel Lamy Poirier
Applied Research Scientist

Applied Research Scientist at Large Language Models Lab located at Montreal, QC, Canada.

João Monteiro
João Monteiro
Research Scientist

Research Scientist at Low Data Learning located at London, UK.

Oleh Shliazhko
Oleh Shliazhko
AI Developer

AI Developer at Human Machine Interaction Through Language located at Amsterdam, Netherlands.

Nicolas Gontier
Nicolas Gontier
Research Scientist

Research Scientist at Human Machine Interaction Through Language located at Montreal, QC, Canada.

Siva Reddy
Siva Reddy
Research Scientist

Research Scientist at Human Machine Interaction Through Language located at Montreal, QC, Canada.

Dzmitry Bahdanau
Dzmitry Bahdanau
Research Lead

Research Lead at Human Machine Interaction Through Language located at Montreal, QC, Canada.

Sean Hughes
Sean Hughes
AI Ecosystem Director

AI Ecosystem Director at Large Language Models Lab located at San Diego, CA, US.

Harm de Vries
Harm de Vries
Research Lead

Research Lead at Large Language Models Lab located at Amsterdam, Holland.