common_starcoder / README.md
elichen3051's picture
Update README.md
ce8d255 verified
|
raw
history blame
797 Bytes
metadata
tags:
  - code
size_categories:
  - 1M<n<10M
license: apache-2.0

Common Starcoder dataset

This dataset is generated from bigcode/starcoderdata.

Generation Process

  1. We filtered the original dataset with common language: C, Cpp, Java, Python and JSON.
  2. We removed some columns for mixing up with other dataset: "id", "max_stars_repo_path", "max_stars_repo_name"
  3. After removing the irrelevant fields, we shuffle the dataset with random seed=42.
  4. We filtered the data on "max_stars_count" > 300 and shuffle again.
  5. We further reduced the dataset size by select(range(current_size, 2_500_000)), However there are only 2.13M samples left.
  6. Add "n_tokens" by using GPT2Tokenizer to count the tokens in the "content" field.