
Open and responsible research and development of large language models for code. #BigCodeProject run by @huggingface + @ServiceNowRSRCH
Joined August 2022
- Tweets271
- Following3
- Followers9K
- Likes226
BigCode retweeted
It’s so much fun working with the other 39 community members on this project!
Start to try out various frontier models in BigCodeArena today.
BigCode retweeted
BigCodeBench @BigCodeProject evaluation framework has been fully upgraded! Just pip install -U bigcodebench
With v0.2.0, it's now much easier to use compared to the previous v0.1.* versions. The new version adopts the @Gradio Client API interface from @huggingface Spaces by default, w/o the need for local environment setup, and can be replaced with a custom API if desired. Moreover, the latest version no longer requires running separate commands for each stage (like generate, sanitize, and evaluate), significantly simplifying the workflow.
The new version also features Batch Inference — running the LLMs on the BigCodeBench-Full set now takes under 5mins for generation and execution!
BTW, the benchmark data has been updated to v0.1.2, improving task instructions and test examples.
Some of the updates in this release were inspired by EvalPlus @JiaweiLiu_ . A big thank you for the continued maintenance of EvalPlus and the strong support for BigCodeBench 🤗
BigCode retweeted
Evaluating LM agents has come a long way since gpt-4 released in March of 2023.
We now have SWE-Bench, (Visual) Web Arena, and other evaluations that tell us a lot about how the best models + architectures do on hard and important tasks.
There's still lots to do, though 🧵
BigCode retweeted
People may think BigCodeBench @BigCodeProject is nothing more than a straightforward coding benchmark, but it is not.
BigCodeBench is a rigorous testbed for LLM agents using code to solve complex and practical challenges. Each task demands significant reasoning capabilities for selecting appropriate library APIs and logically connecting them to craft a program.
Rather than merely providing high-level instructions, each task comes with detailed requirements to evaluate the model's ability to adhere to all aspects. While language models typically perform well on short and simple tasks, they often struggle with longer and more complex problems (e.g., BigCodeBench-Hard).
A model needs to perform well on BigCodeBench before it can be used for agentic software development.
BigCode retweeted
By popular demand, I have released the StarCoder2 code documentation dataset, please check it out ⬇️
hf.co/datasets/SivilTaram/st…
BigCode retweeted
This work will appear at OOPSLA 2024.
New since last year: the StarCoder2 LLM from @BigCodeProject uses MultiPL-T as part of its pretraining corpus.
BigCode retweeted
Today, we are happy to announce the beta mode of real-time Code Execution for BigCodeBench @BigCodeProject, which has been integrated into our Hugging Face leaderboard.
We understand that setting up a dependency-based execution environment can be cumbersome, even with the built-in Docker image and Dockerfile. To make the evaluation process more reproducible, we've built an interactive environment for you, with guidance from the @Gradio team! (Special thanks to @evilpingwin 🤗)
Please note: (1) The execution process might be slightly slower than what you experience on a local machine, as we are using the basic CPU option. There are some compatibility issues with the upgraded CPU environment, and we are currently exploring solutions. (2) Four tasks in the full set require some tricky setup, which has resulted in a pass rate of 99.6%. We will work to fix these in the next iterations :)
In the past few months, we’ve seen SOTA LLMs saturating basic coding benchmarks with short and simplified coding tasks. It's time to enter the next stage of coding challenge under comprehensive and realistic scenarios!
-- Here comes BigCodeBench, benchmarking LLMs on solving practical and challenging programming tasks!
So, can LLMs solve these tasks?
- Not yet!
🏆 Pass@1: Humans ace 97%, GPT-4o only hits 50-60%, but DeepSeek-Coder-V2 is tighy at its heels!
Check out our leaderboard, data, code, and paper: bigcode-bench.github.io/
1/🧵
BigCode retweeted
BigCodeBench dataset🌸
Use it as inspiration when building your Generative AI evaluations.
BigCodeBench h/t:
@BigCodeProject @terryyuezhuo @lvwerra @clefourrier @huggingface
(to name just a few of the people involved)
BigCode retweeted
Ppl are curious about the performance of DeepSeek-Coder-V2-Lite on BigCodeBench. We've added its results, along with a few other models, to the leaderboard! huggingface.co/spaces/bigcod…
DeepSeek-Coder-V2-Lite-Instruct is a beast indeed, similar to Magicoder-S-DS-6.7B, but with only 2.4B activated parameters! 🤯
We also update all the code generation results here: github.com/bigcode-project/b…
Feel free to submit a PR if you want to see other models on BigCodeBench 🤗github.com/bigcode-project/b…
BigCode retweeted
It is time to deprecate HumanEval! 🧑🏻💻 @BigCodeProject just released BigCodeBench, a new benchmark to evaluate LLMs on challenging and complex coding tasks focused on realistic, function-level tasks that require the use of diverse libraries and complex reasoning! 👀
🧩 Contains 1,140 tasks with 5.6 test cases each, covering 139 libraries in Python.
📊 Uses Pass@1 with greedy decoding and Elo rating for comprehensive evaluation.
🏆 Best model is GPT-4o 61.1%, followed by DeepSeek-Coder-V2.
🥈 Best open Model is DeepSeek-Coder-V2 with 59.7%, better than Claude 3 Opus or Gemini.
👥 Tasks are created in a three-stage process, including synthetic data generation and cross-validation by humans.
🧱 Evaluation framework and Docker images available for easy reproduction
🔜 Plans to extend to multilingualism.
Blog: hf.co/blog/leaderboard-bigco…
Leaderboard: huggingface.co/spaces/bigcod…
Code: github.com/bigcode-project/b…
BigCode retweeted
In the past few months, we’ve seen SOTA LLMs saturating basic coding benchmarks with short and simplified coding tasks. It's time to enter the next stage of coding challenge under comprehensive and realistic scenarios!
-- Here comes BigCodeBench, benchmarking LLMs on solving practical and challenging programming tasks!
So, can LLMs solve these tasks?
- Not yet!
🏆 Pass@1: Humans ace 97%, GPT-4o only hits 50-60%, but DeepSeek-Coder-V2 is tighy at its heels!
Check out our leaderboard, data, code, and paper: bigcode-bench.github.io/
1/🧵
BigCode retweeted
Going "Beyond #OpenResearch" in session 3, @jen_gineered (@turinginst) discusses how we can scrutinise the reliability of data-based applications like #models & #AI and the key role of public involvement. Who has a stake in the technology and at which points can they be involved?
BigCode retweeted
Foundation models are central to AI's impact on the economy and society, making transparency crucial for accountability and understanding.
The Foundation Model Transparency Index v1.1 (FMTI) analyzes transparency of 14 leading foundation model developers with 100 indicators.
🧵
BigCode retweeted
Check out this collection I made to show what you can create using this pipeline. It focuses on a sentence transformer model for detecting coding prompt similarities in a @BigCodeProject dataset.
huggingface.co/collections/d…
BigCode retweeted
It’s been a year since the release of @BigCodeProject’s 💫 StarCoder models and paper: May the source be with you! Join us as we celebrate the anniversary, and share what you’ve done using #StarCoder. Read how StarCoder has helped ServiceNow developers: servicenow.com/blogs/2024/bi…
BigCode retweeted
Self-Instruct for CodeLLMs! 👀 @BigCodeProject released a new StarCoder2-Instruct, the first entirely self-aligned code LLM trained with a transparent and permissive pipeline. 🧑🏻💻 It used itself to generate thousands of instruction-response pairs, which were then used to fine-tune—achieving 72.6 on HumanEval without relying on human annotations. 🤯
Implementation
1️⃣ Collect Seed Code Snippets, e.g., functions with docstrings.
2️⃣ Apply type checking, decontamination (benchmarks), Quality Filtering & Near-Deduplication
3️⃣ Employ in-context learning to self-generate coding tasks from these snippets.
4️⃣ For each instruction, generate answers and tests using in-context learning.
5️⃣ Execute these tests in a sandbox environment and select responses that pass for training.
6️⃣ Create a Training Dataset with the validated responses
7️⃣ Fine-Tune StarCoder2-15B on the generated self-instruct dataset
Insights
🧮 15B parameter version with 8192 context
🔓 Fully open-source datasets and pipeline for distillation
📝 Fully self-aligned without human annotation
🏆 Outperforms CodeLlama-70B-Instruct (72.0) and GPT-4 (march) on HumanEval
🥇 Outperforming other open Models like Grok-1, Command-R+, and DBRX, and closely matching Snowflake Arctic 480B and Mixtral-8x22B-Instruct
BigCode retweeted
BigCode Evaluation Harness is great!
EvalPlus ❤️ BigCode Evaluation Harness: You can also run HumanEval+ and MBPP+ there. :)
Introducing the BigCode Evaluation Harness for Code LLMs:
github.com/bigcode-project/b…
Inspired by the lm-evaluation-harness from @AiEleuther, it ensures ease-of-use, reproducibility and efficiency. Let’s explore its key features 🧵:
BigCode retweeted
Finally got around to glancing over the Starcoder 2 and The Stack V2 write-up. I'm very excited to see the majority of the existing R documentation get thrown into one pile. Incredibly valuable work from the @BigCodeProject team.
arxiv.org/abs/2402.19173
BigCode retweeted
🌟 Big thanks for making StarCoder 2 open-source! 🚀 We've swiftly finetuned it on our Code-Feedback instruction dataset, the dataset behind OpenCodeInterpreter. 📈 HumanEval Scores are boosted ~30%.
3B Model: from 31.7 to 67.1!
7B Model: from 35.4 to 75.6!
🛠️ CodeFeedback has supercharged the StarCoder models, granting them the prowess to refine code with insights from execution feedback.
We open-source these two models as well:
huggingface.co/m-a-p/OpenCod…
huggingface.co/m-a-p/OpenCod…
Would like to give it a try? We have an online demo on @huggingface: huggingface.co/spaces/m-a-p/…
And a quick guide for how to set up this locally github.com/OpenCodeInterpret…
More information can be found on our homepage: opencodeinterpreter.github.i…
Thanks again for training StarCoder V2! @huggingface @ServiceNow @nvidia @BigCodeProject
Introducing StarCoder 2 ⭐️ The most complete open Code-LLM 🤖 StarCoder 2 is the next iteration for StarCoder and comes in 3 sizes, trained 600+ programming languages on over 4 Trillion tokens on Stack v2. It outperforms StarCoder 1 by margin and has the best overall performance across 5 benchmarks 🚀🤯.
TL;DR;
🧮 3B, 7B & 15B parameter version
🪟 16384 token context window
🔠 Trained on 3-4T Tokens (depending on size)
💭 600+ Programming languages
🥇 15B model achieves 46% on HumanEval
🧠 Grouped Query Attention and Sliding Window Attention
💪🏻 Trained on 1024 x H100 NVIDIA GPUs
✅ commercial-friendly license
🧑🏻💻 Can be used for local Copilots
🤗 Available on @huggingface
































