metadata
tags:
- code
size_categories:
- 1M<n<10M
license: apache-2.0
Common Starcoder dataset
This dataset is generated from bigcode/starcoderdata.
Generation Process
- We filtered the original dataset with common language: C, Cpp, Java, Python and JSON.
- We removed some columns for mixing up with other dataset: "id", "max_stars_repo_path", "max_stars_repo_name"
- After removing the irrelevant fields, we shuffle the dataset with random seed=42.
- We filtered the data on "max_stars_count" > 300 and shuffle again.
- We further reduced the dataset size by select(range(current_size, 2_500_000)), However there are only 2.13M samples left.
- Add "n_tokens" by using GPT2Tokenizer to count the tokens in the "content" field.