Spaces:
Running
title: README
emoji: ✨
colorFrom: gray
colorTo: red
sdk: static
pinned: false
BigCode
BigCode is an open scientific collaboration working on responsible training of large language models for coding applications. You can find more information on the main website or follow Big Code on Twitter. In this organization you can find the artefacts of this collaboration: StarCoder 2, a state-of-the-art language model for code, and the previous StarCoder family of models, The Stack, the largest available pretraining dataset with permissive code, Astraios, scaling instruction-tuned language models for code via diverse fine-tuning methods, OctoPack, artifacts for instruction tuning large code models, and SantaCoder, a 1.1B parameter model for code.
💫StarCoder 2
StarCoder2 models are a series of 3B, 7B, and 15B models trained on 3.3 to 4.3 trillion tokens of code from The Stack v2 dataset, with over 600 programming languages. The models use GQA, a context window of 16,384 tokens with a sliding window attention of 4,096 tokens, and were trained using the Fill-in-the-Middle objective.Models
- Paper: A technical report about StarCoder2.
- GitHub: All you need to know about using or fine-tuning StarCoder2.
- StarCoder2-15B: 15B model trained on 600+ programming languages and 4.3T tokens.
- StarCoder2-7B: 7B model trained on 17 programming languages for 3.7T tokens.
- StarCoder2-3B: 3B model trained on 17 programming languages for 3.3T tokens.
Data & Governance
- Governance Card: A card outlining the governance of the model.
- StarCoder2 License Agreement: The model is licensed under the BigCode OpenRAIL-M v1 license agreement.
- The Stack train smol: The Software Heritage identifiers for the training dataset of StarCoder2 3B and 7B with 600B+ unique tokens.
- The Stack train full: The Software Heritage identifiers for the training dataset of StarCoder2 15B with 900B+ unique tokens.
- StarCoder2 Search: Full-text search code in the pretraining dataset.
- StarCoder2 Membership Test: Blazing fast test if code was present in pretraining dataset.
📑The Stack v2
The Stack v2 is a 67.5TB dataset of source code in over 600 programming languages with permissive licenses or no license.- The Stack v2: Exact deduplicated version of The Stack v2.
- The Stack v2 dedup: Near deduplicated version of The Stack v2 (recommended for training).
- Am I in the Stack: Check if your data is in The Stack and request opt-out.
💫StarCoder
StarCoder is a 15.5B parameters language model for code trained for 1T tokens on 80+ programming languages. It uses MQA for efficient generation, has 8,192 tokens context window and can do fill-in-the-middle.Models
- Paper: A technical report about StarCoder.
- GitHub: All you need to know about using or fine-tuning StarCoder.
- StarCoder: StarCoderBase further trained on Python.
- StarCoderBase: Trained on 80+ languages from The Stack.
- StarCoder+: StarCoderBase further trained on English web data.
- StarEncoder: Encoder model trained on TheStack.
- StarPii: StarEncoder based PII detector.
Tools & Demos
- StarCoder Playground: Write with StarCoder Models!
- VSCode Extension: Code with StarCoder!
- StarChat: Chat with StarCoder!
- Tech Assistant Prompt: With this prompt you can turn StarCoder into tech assistant.
- StarCoder Editor: Edit with StarCoder!
Data & Governance
- Governance Card: A card outlining the governance of the model.
- StarCoder License Agreement: The model is licensed under the BigCode OpenRAIL-M v1 license agreement.
- StarCoder Data: Pretraining dataset of StarCoder.
- StarCoder Search: Full-text search code in the pretraining dataset.
- StarCoder Membership Test: Blazing fast test if code was present in pretraining dataset.
📑The Stack
The Stack v1 is a 6.4TB dataset of source code in 358 programming languages from permissive licenses.- The Stack: Exact deduplicated version of The Stack.
- The Stack dedup: Near deduplicated version of The Stack (recommended for training).
- Am I in the Stack: Check if your data is in The Stack and request opt-out.
🌸BigCodeBench
BigCodeBench is the next generation of HumanEval, benchmarking code generation with diverse function calls and complex instructions.- Github: Evaluation tool designed for BigCodeBench.
- HF Leaderboard: BigCodeBench leaderboard hosted on Hugging Face.
- GP Leaderboard: BigCodeBench leaderboard hosted on GitHub Pages.
- Dataset: BigCodeBench dataset.
- Data Viewer: Explore BigCodeBench data in an interactive demo.
- Paper: Research paper with details about BigCodeBench.
🐙OctoPack
OctoPack consists of data, evals & models relating to Code LLMs that follow human instructions.
- Paper: Research paper with details about all components of OctoPack.
- GitHub: All code used for the creation of OctoPack.
- CommitPack: 4TB of Git commits.
- Am I in the CommitPack: Check if your code is in the CommitPack.
- CommitPackFT: 2GB of high-quality Git commits that resemble instructions.
- HumanEvalPack: Benchmark for Code Fixing/Explaining/Synthesizing across Python/JavaScript/Java/Go/C++/Rust.
- OctoCoder: Instruction tuned model of StarCoder by training on CommitPackFT.
- OctoCoder Demo: Play with OctoCoder.
- OctoGeeX: Instruction tuned model of CodeGeeX2 by training on CommitPackFT.
✨Astraios
Astraios is a model suite of scaling 28 instruction-tuned language models for code.
- Paper: Research paper with details about all components of Astraios.
- GitHub: All code used for the creation of Astraios.
- Astraios-1B: Collection of StarCoderBase-1B models instruction tuned on CommitPackFT + OASST with 7 method.
- Astraios-3B: Collection of StarCoderBase-3B models instruction tuned on CommitPackFT + OASST with 7 method.
- Astraios-7B: Collection of StarCoderBase-7B models instruction tuned on CommitPackFT + OASST with 7 method.
- Astraios-15B: Collection of StarCoderBase-15B models instruction tuned on CommitPackFT + OASST with 7 method.
🎅SantaCoder
SantaCoder aka smol StarCoder: same architecture but only trained on Python, Java, JavaScript.- SantaCoder: SantaCoder Model.
- SantaCoder Demo: Write with SantaCoder.
- SantaCoder Search: Search code in the pretraining dataset.
- SantaCoder License: The OpenRAIL license for SantaCoder.