Buckets:

311 GB
865 files
Updated about 2 months ago
Name
Size
ada
agda
alloy
antlr
applescript
assembly
augeas
awk
batchfile
bluespec
c
c-sharp
clojure
cmake
coffeescript
common-lisp
cpp
css
cuda
dart
dockerfile
elixir
elm
emacs-lisp
erlang
f-sharp
fortran
git-commits-cleaned
github-issues-filtered-structured
glsl
go
groovy
haskell
html
idris
isabelle
java
java-server-pages
javascript
json
julia
jupyter-scripts-dedup-filtered
jupyter-structured-clean-dedup
kotlin
lean
literate-agda
literate-coffeescript
literate-haskell
lua
makefile
maple
markdown
mathematica
matlab
ocaml
pascal
perl
php
powershell
prolog
protocol-buffer
python
r
racket
restructuredtext
rmarkdown
ruby
rust
sas
scala
scheme
shell
smalltalk
solidity
sparql
sql
stan
standard-ml
stata
systemverilog
tcl
tcsh
tex
thrift
typescript
verilog
vhdl
visual-basic
xslt
yacc
yaml
zig
.gitattributes2.27 kB
xet
README.md3.39 kB
xet
README.md

StarCoder Training Dataset

Dataset description

This is the dataset used for training StarCoder and StarCoderBase. It contains 783GB of code in 86 programming languages, and includes 54GB GitHub Issues + 13GB Jupyter notebooks in scripts and text-code pairs, and 32GB of GitHub commits, which is approximately 250 Billion tokens.

Dataset creation

The creation and filtering of The Stack is explained in the original dataset, we additionally decontaminate and clean all 86 programming languages in the dataset, in addition to GitHub issues, Jupyter Notebooks and GitHub commits. We also apply near-deduplication and remove PII, all details are mentionned in our Paper: 💫 StarCoder, May The Source Be With You

How to use the dataset

from datasets import load_dataset

# to load python for example
ds = load_dataset("bigcode/starcoderdata", data_dir="python", split="train")

GitHub issues, GitHub commits and Jupyter notebooks subsets have different columns from the rest so loading the entire dataset at once may fail, we suggest loading programming languages separatly from these categories.

jupyter-scripts-dedup-filtered
jupyter-structured-clean-dedup
github-issues-filtered-structured
git-commits-cleaned
Total size
311 GB
Files
865
Last updated
Jul 1
Pre-warmed CDN
US EU US EU

Contributors