Beyond human votes, we release two new benchmarks:
- BigCodeReward: tests reward models on 4.7K human preference votes. Execution feedback improves judgment accuracy.
- AutoCodeArena: automated evaluation of 20+ LLMs. GPT-5 leads, followed by Claude-Opus-4 and Claude-Sonnet-4.
- BigCodeReward: tests reward models on 4.7K human preference votes. Execution feedback improves judgment accuracy.
- AutoCodeArena: automated evaluation of 20+ LLMs. GPT-5 leads, followed by Claude-Opus-4 and Claude-Sonnet-4.
1
0
7
In 5 months, BigCodeArena collected 14K conversations & 4.7K preference votes across 10 frontier LLMs.
Findings:
1. o3-mini & o1-mini consistently top Elo rankings
2. Claude-3.5-Sonnet excels in matched-language settings
3. Previous open models still lag
Findings:
1. o3-mini & o1-mini consistently top Elo rankings
2. Claude-3.5-Sonnet excels in matched-language settings
3. Previous open models still lag
1
0
5
Why does this matter?
Benchmarks like HumanEval only scratch the surface. Reading code “by eye” is error-prone. True quality emerges when you actually run it: web apps render, games play, edge cases break.
BigCodeArena makes execution feedback the default.
Benchmarks like HumanEval only scratch the surface. Reading code “by eye” is error-prone. True quality emerges when you actually run it: web apps render, games play, edge cases break.
BigCodeArena makes execution feedback the default.
1
0
6
Introducing BigCodeArena, a human-in-the-loop platform for evaluating code through execution.
Unlike current open evaluation platforms that collect human preferences on text, it enables interaction with runnable code to assess functionality and quality across any language.
Unlike current open evaluation platforms that collect human preferences on text, it enables interaction with runnable code to assess functionality and quality across any language.
4
29
83
Releasing BigCodeBench-Hard: a subset of more challenging and user-facing tasks.
BigCodeBench-Hard provides more accurate model performance evaluations and we also investigate some recent model updates.
Read more: huggingface.co/blog/terryyz/b…
Leaderboard: huggingface.co/spaces/bigcode…
BigCodeBench-Hard provides more accurate model performance evaluations and we also investigate some recent model updates.
Read more: huggingface.co/blog/terryyz/b…
Leaderboard: huggingface.co/spaces/bigcode…
0
23
96
Introducing 🌸BigCodeBench: Benchmarking Large Language Models on Solving Practical and Challenging Programming Tasks!
BigCodeBench goes beyond simple evals like HumanEval and MBPP and tests LLMs on more realistic and challenging coding tasks.
BigCodeBench goes beyond simple evals like HumanEval and MBPP and tests LLMs on more realistic and challenging coding tasks.
9
61
208
Releasing StarCoder2 Instruct! 🚀
Achieves 72% HumanEval score using only self-generated content without any GPT-3.5/4 data. This work demonstrates that self-instruct works already well at the 15B scale without data from proprietary models!
Read more: huggingface.co/blog/sc2-instr…
Achieves 72% HumanEval score using only self-generated content without any GPT-3.5/4 data. This work demonstrates that self-instruct works already well at the 15B scale without data from proprietary models!
Read more: huggingface.co/blog/sc2-instr…
4
73
281
This is the result of hard work by the BigCode community and supported by @ServiceNowRSRCH, @huggingface and @nvidia to train the 3B, 7B and 15B models!
The Stack v2 was built with @SoftwareHeritage and the full processed training data is coming soon!
huggingface.co/datasets/bigco…
The Stack v2 was built with @SoftwareHeritage and the full processed training data is coming soon!
huggingface.co/datasets/bigco…
0
4
35
StarCoder2 performs well on a wide range of coding and math tasks. The 15B model is best in its class, while the 3B model is at the performance of StarCoder1-15B.
This makes StarCoder2 models more efficient and performant!
Read the full report: hf.co/bigcode/report
This makes StarCoder2 models more efficient and performant!
Read the full report: hf.co/bigcode/report
2
3
51
Introducing: StarCoder2 and The Stack v2 ⭐️
StarCoder2 is trained with a 16k token context and repo-level information for 4T+ tokens. All built on The Stack v2 - the largest code dataset with 900B+ tokens.
All code, data and models are fully open!
hf.co/bigcode/starco…
StarCoder2 is trained with a 16k token context and repo-level information for 4T+ tokens. All built on The Stack v2 - the largest code dataset with 900B+ tokens.
All code, data and models are fully open!
hf.co/bigcode/starco…
12
202
659
@nomic_ai team already added support for StarCoderBase-3B in their GPT4ALL local models.
Download the model at: gpt4all.io/models/starcod…
& follow the docs: docs.gpt4all.io/gpt4all_python…
Stay tuned for the 7B model integration!
Download the model at: gpt4all.io/models/starcod…
& follow the docs: docs.gpt4all.io/gpt4all_python…
Stay tuned for the 7B model integration!
2
6
33
StarCoder Models generate more tokens per second for a single batch, but things getter more fun when we increase the batch size thanks to MQA 🚀
The sharing of values/keys among attention heads significantly reduces the memory bandwidth requirements.
The sharing of values/keys among attention heads significantly reduces the memory bandwidth requirements.
2
0
7
📊 We are also releasing a leaderboard showcasing the performance of base multilingual code models. We additionally compare throughputs so you don't have to trade performance for efficiency:
huggingface.co/spaces/bigcode…
huggingface.co/spaces/bigcode…
1
4
33
💫 Each model demonstrates the strongest performance for its size across various programming languages. 7B StarCoderBase reaches 28.37% pass@1 on HumanEval.
7B: huggingface.co/bigcode/starco…
3B: huggingface.co/bigcode/starco…
1B: huggingface.co/bigcode/starco…
7B: huggingface.co/bigcode/starco…
3B: huggingface.co/bigcode/starco…
1B: huggingface.co/bigcode/starco…
1
4
33
🌌 News from the StarCoder cosmos!
We trained smaller versions of StarCoder: 1B, 3B and 7B models.
1T tokens, 80+ programming languages with 8k context window, MQA & FIM.
We trained smaller versions of StarCoder: 1B, 3B and 7B models.
1T tokens, 80+ programming languages with 8k context window, MQA & FIM.
3
71
241
You can watch the full online session on how StarCoder was built and where BigCode might head next here:
youtube.com/watch?v=sQFWE_…
youtube.com/watch?v=sQFWE_…
0
9
31
We instruction-tuned StarCoder+ on the OpenAssistant Guanaco dataset to get StarChat-beta: a strong chat assistant
Model: huggingface.co/HuggingFaceH4/…
Demo: huggingface.co/spaces/Hugging…
Model: huggingface.co/HuggingFaceH4/…
Demo: huggingface.co/spaces/Hugging…
2
3
12
The result: ⭐ StarCoder+ a powerful English Language Model with strong coding abilities.
It outperforms all LLaMa models and PaLM-540B on HumanEval and stands out in the LLM leaderboard for < 30B models with a 45.1 MMLU score!
huggingface.co/spaces/Hugging…
It outperforms all LLaMa models and PaLM-540B on HumanEval and stands out in the LLM leaderboard for < 30B models with a 45.1 MMLU score!
huggingface.co/spaces/Hugging…
2
3
15
📣 Introducing ⭐ StarCoder+ & StarChat Beta!
We trained StarCoder on the Falcon model's English web dataset and Instruction-tuned it. Both models rank high in the LLM leaderboard, with strong natural language performance and coding capabilities.
huggingface.co/HuggingFaceH4/…
We trained StarCoder on the Falcon model's English web dataset and Instruction-tuned it. Both models rank high in the LLM leaderboard, with strong natural language performance and coding capabilities.
huggingface.co/HuggingFaceH4/…
8
101
360
👀 A glimpse of our latest mystery model's performance. Not just acing the coding tasks, but also mastering natural language! Intrigued yet?
Join us at our StarCoder webinar this Thursday to find out: servicenow.zoom.us/j/99103734103
Join us at our StarCoder webinar this Thursday to find out: servicenow.zoom.us/j/99103734103
0
19
99
🛡️ We provide Docker containers for improved security and reproducible execution. They are especially helpful for certain languages like Bash to avoid executing commands on your system.
+ Execution works out of the box for all supported programming languages.
+ Execution works out of the box for all supported programming languages.
1
0
6
🚀 We leverage data parallelism using accelerate library to run the generations across many GPUs. Generating full HumanEval solutions for StarCoder 15B with 50 generations per problem takes less than 15 minutes on 2 A100s 80GB.
1
0
3
You also want to be able to separate generation from execution, the first part usually requires GPUs, while the second only needs CPUs.
1
0
3
Similarly to lm-evaluation-harness, we build a framework combining several benchmarks:
- HumanEval, MBPP & APPS
- MultiPL-E (HumanEval translated to 18 programming languages)
- DS-1000
- PaL for GSM8K
...
- HumanEval, MBPP & APPS
- MultiPL-E (HumanEval translated to 18 programming languages)
- DS-1000
- PaL for GSM8K
...
1
0
7
Introducing the BigCode Evaluation Harness for Code LLMs:
github.com/bigcode-projec…
Inspired by the lm-evaluation-harness from @AiEleuther, it ensures ease-of-use, reproducibility and efficiency. Let’s explore its key features 🧵:
github.com/bigcode-projec…
Inspired by the lm-evaluation-harness from @AiEleuther, it ensures ease-of-use, reproducibility and efficiency. Let’s explore its key features 🧵:
2
40
165
For example the folks at @refact_ai are working on a shiny VSCode extension that can now make use of StarCoder to autocomplete or refactor code as well as writing code from an instruction!
refact.ai/blog/2023/self…
refact.ai/blog/2023/self…
1
10
86
StarCoder was also trained on JupyterNotebooks and with Jupyter plugin from @JiaLi52524397 it can make use of previous code and markdown cells as well as outputs to predict the next cell.
You can install it here or search on chrome store: github.com/bigcode-projec…
You can install it here or search on chrome store: github.com/bigcode-projec…
1
9
87
We present the most extensive evaluation of code LLMs to date in the full tech report with 68 (!) authors.
You can also read up on all the details from data preprocessing and governance to training at scale!
drive.google.com/file/d/1cN-b9G…
You can also read up on all the details from data preprocessing and governance to training at scale!
drive.google.com/file/d/1cN-b9G…
2
22
149
Today we release two open-access models!
StarCoderBase: trained on 1T tokens in 80+ programming languages huggingface.co/bigcode/starco…
StarCoder: additionally trained on 35B Python tokens that can be prompted to reach 40.8% pass@1 huggingface.co/bigcode/starco…
StarCoderBase: trained on 1T tokens in 80+ programming languages huggingface.co/bigcode/starco…
StarCoder: additionally trained on 35B Python tokens that can be prompted to reach 40.8% pass@1 huggingface.co/bigcode/starco…
8
56
266
In addition to chatting with StarCoder, it can also help you code in the new VSCode plugin. By pressing CTRL+ESC you can also check if the current code was in the pretraining dataset!
marketplace.visualstudio.com/items?itemName…
marketplace.visualstudio.com/items?itemName…
9
15
140
Introducing: 💫StarCoder
StarCoder is a 15B LLM for code with 8k context and trained only on permissive data in 80+ programming languages. It can be prompted to reach 40% pass@1 on HumanEval and act as a Tech Assistant.
Try it here: shorturl.at/cYZ06r
Release thread🧵
StarCoder is a 15B LLM for code with 8k context and trained only on permissive data in 80+ programming languages. It can be prompted to reach 40% pass@1 on HumanEval and act as a Tech Assistant.
Try it here: shorturl.at/cYZ06r
Release thread🧵
69
623
2,571
We started training something big and the daily training updates have degenerated to weather reports 🌦:
5
28
295
We also worked on the governance side and simplified the opt-out process:
Check "Am I In The Stack" (hf.co/spaces/bigcode…) to see if your data is in the current version of The Stack and click the link at the bottom to create an opt-out request directly.
Check "Am I In The Stack" (hf.co/spaces/bigcode…) to see if your data is in the current version of The Stack and click the link at the bottom to create an opt-out request directly.
1
0
1
It is also interesting to analyze repositories in terms of GitHub stars, number of forks or issues (e.g. to build custom filters). The metadata dataset contains that information and can be joined with the code dataset.
huggingface.co/datasets/bigco…
huggingface.co/datasets/bigco…
1
1
3
Exciting new release: The Stack v1.2 with many new features!
- The Stack Issues
- The Stack Metadata
- The Stack Commits (coming soon!)
Along with a new and simplified opt-out request and an even better near-deduplicated version of the code dataset.
hf.co/bigcode
🧵👇
- The Stack Issues
- The Stack Metadata
- The Stack Commits (coming soon!)
Along with a new and simplified opt-out request and an even better near-deduplicated version of the code dataset.
hf.co/bigcode
🧵👇
1
20
69
Finally, we summarized our findings in a technical report with a wonderful group of collaborators:
Paper: hf.co/datasets/bigco…
So what's next? Scaling to larger models and training more languages early next year! 🚀
Paper: hf.co/datasets/bigco…
So what's next? Scaling to larger models and training more languages early next year! 🚀
1
1
23
We release all models and intermediate checkpoints on the Hugging Face Hub and load the via the revision:
huggingface.co/bigcode/santac…
The compute for these experiments was sponsored by @ServiceNowRSRCH's research cluster.
huggingface.co/bigcode/santac…
The compute for these experiments was sponsored by @ServiceNowRSRCH's research cluster.
1
0
19
With these new insights we trained a final model called SantaCoder. We applied both the extra near-deduplication and code-to-comment ratio filters and trained for 600K steps (236B tokens). The result is an efficient (MQA) and flexible (FIM) multilingual model:
1
1
10
The thorough evaluation was made possible by the evaluation working group. They evaluated on the MultiPL-E benchmark (multilingual HumanEval and MBPP) and CodeXGLUE and extended the code evaluation harness!
github.com/bigcode-projec…
github.com/bigcode-projec…
1
0
10
In addition to the standard near-deduplication and heuristics pipeline, we ran 4 filtering experiments: GitHub stars, tokenizer fertility, comment-to-code ratio and more near-deduplication.
Filtering for GitHub stars hurts performance while comments and near-dedup help!
Filtering for GitHub stars hurts performance while comments and near-dedup help!
1
0
14
Fill-in-the-Middle is a clever approach where a sequence is reordered such that prefix|middle|suffix becomes prefix|suffix|middle. With that you can use normal left-to-right generation to fill the middle part.
While some claim FIM is for free we found it's rather FIM for cheap:
While some claim FIM is for free we found it's rather FIM for cheap:
1
0
14
In Multi Head Attention every head has a set of queries, keys, and values. In MQA, the queries are unique while keys and values are shared. This saves memory and speeds up inference for large batches. We found it had only a minor impact on performance:
1
1
18
Before training any models we looked into removing sensitive information from code such as email addresses, secret keys and IP addresses. For that purpose we annotated 400 samples and then built and continuously refined RegEx rules to remove the information before training.
1
0
13
SantaCoder is trained on Python, Java, and JavaScript and outperforms other large multilingual models such as InCoder (6.7B) or CodeGen-multi (2.7B) considerably!
A lot of pieces from a lot of collaborators came together to get to that result:
A lot of pieces from a lot of collaborators came together to get to that result:
1
3
26
Announcing a holiday gift: 🎅SantaCoder - a 1.1B multilingual LM for code that outperforms much larger open-source models on both left-to-right generation and infilling!
Demo: hf.co/spaces/bigcode…
Paper: hf.co/datasets/bigco…
Attribution: hf.co/spaces/bigcode…
A🧵:
Demo: hf.co/spaces/bigcode…
Paper: hf.co/datasets/bigco…
Attribution: hf.co/spaces/bigcode…
A🧵:
9
196
822
It was a blast to meet some of the BigCode community last night in person. Thank you to Juan’s Flying Burrito and team for helping to make the event a success.
0
2
20
Today we are releasing The Stack v1.1! 🚀
We added more data, included more programming languages, and extended the list of permissive licenses used.
huggingface.co/datasets/bigco…
Also the first batch of opt-out requests was removed from the dataset.
We added more data, included more programming languages, and extended the list of permissive licenses used.
huggingface.co/datasets/bigco…
Also the first batch of opt-out requests was removed from the dataset.
2
42
159
Between now and Christmas🎄 we are running a series on experiments to figure out what the best pre-processing is for code datasets such as The Stack. We'll share the W&B dashboards of these 🎅-models so if you are interested you can follow along!
1
14
78
Real fun facts: The dataset contains 1.5M files that include "hello world". It is also 150x larger than English Wikipedia and if printed (double sided) it would almost reach 11x the height of the Mount Everest.
1
3
22
For easy experimentation we set up a small subset with 10k files per programming language here: hf.co/datasets/bigco…
2
0
24
Usage: There are several ways to use the dataset. You can download it with git:
git lfs install
git clone huggingface.co/datasets/bigco…
Or you can use the 🤗Datasets library to load the dataset. With the streaming this requires no disk space at all!
git lfs install
git clone huggingface.co/datasets/bigco…
Or you can use the 🤗Datasets library to load the dataset. With the streaming this requires no disk space at all!
1
0
19
Governance: For over 80% of all repos a license couldn't be detected and were thus excluded. The rest was filtered for permissive licenses.
Devs might not be comfortable that their code is used to train such models. We are working on an opt-out process:
bigcode-project.org/docs/about/the…
Devs might not be comfortable that their code is used to train such models. We are working on an opt-out process:
bigcode-project.org/docs/about/the…
2
1
13
Evaluation: to see if the dataset is useful to train generative models for code we trained a 350M parameter GPT-2 model on several datasets: training without license filtering performs best. Interestingly, removing near duplicates improves the performance on all datasets!
2
1
17
The dataset includes ~30 programming languages covering common languages such as Java, C/C++ and Python as well as lower resource languages (2GB of Dockerfiles 🐳). If you'd like to see a new language added, feel free to add it in this issue:
github.com/orgs/bigcode-p…
github.com/orgs/bigcode-p…
1
0
15
Dataset collection: With gharchive.org over 220M repos were identified and 137M successfully cloned with over 50B files and 90TB of data. Filtered by extension and permissive licenses this yields 3TB of data. We also make a near-deduplicated version (1.5TB) available.
2
2
18
Introducing 📑 The Stack - a 3TB dataset of permissively licensed code in 30 programming languages.
hf.co/datasets/bigco…
You want your code excluded from the model training? There is an opt-out form and data governance plan:
bigcode-project.org/docs/about/the…
Let's take a tour🧵
hf.co/datasets/bigco…
You want your code excluded from the model training? There is an opt-out form and data governance plan:
bigcode-project.org/docs/about/the…
Let's take a tour🧵
8
215
1,053
print("Hello world! 🎉")
Excited to announce the BigCode project led by @ServiceNowRSRCH and @huggingface! In the spirit of BigScience we aim to develop large language models for code in an open and responsible way.
Join here: bigcode-project.org/docs/about/joi…
A thread with our goals🧵
Excited to announce the BigCode project led by @ServiceNowRSRCH and @huggingface! In the spirit of BigScience we aim to develop large language models for code in an open and responsible way.
Join here: bigcode-project.org/docs/about/joi…
A thread with our goals🧵
5
70
207



























































