elichen3051 commited on
Commit
777597a
·
verified ·
1 Parent(s): 7e0affb

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +18 -0
README.md ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - code
4
+ size_categories:
5
+ - 1B<n<10B
6
+ ---
7
+
8
+ # Common Starcoder dataset
9
+
10
+ This dataset is generated from [bigcode/starcoderdata](https://huggingface.co/datasets/bigcode/starcoderdata).
11
+
12
+ ## Generation Process
13
+ 1. We filtered the original dataset with common language: C, Cpp, Java, Python and JSON.
14
+ 2. We removed some columns for mixing up with other dataset: "id", "max_stars_repo_path", "max_stars_repo_name"
15
+ 3. After removing the irrelevant fields, we shuffle the dataset with random seed=42.
16
+ 4. We filtered the data on "max_stars_count" > 300 and shuffle again.
17
+ 5. We further reduced the dataset size by select(range(current_size, 2_500_000)), However there are only 2.13M samples left.
18
+ 6. Add "n_tokens" by using GPT2Tokenizer to count the tokens in the "content" field.