File size: 1,386 Bytes
7ba602f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9175c95
 
4d1df42
 
 
 
 
 
 
 
 
9175c95
4d1df42
9175c95
4d1df42
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
dataset_info:
  features:
  - name: code
    dtype: string
  - name: language
    dtype: string
  - name: AST_depth
    dtype: int64
  - name: alphanumeric_fraction
    dtype: float64
  - name: max_line_length
    dtype: int64
  - name: avg_line_length
    dtype: float64
  - name: num_lines
    dtype: int64
  - name: source
    dtype: string
  splits:
  - name: train
    num_bytes: 169267119695.4714
    num_examples: 79257494
  download_size: 70525724897
  dataset_size: 169267119695.4714
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
---
This dataset contains deduplicated data from [StarCoder](https://huggingface.co/datasets/bigcode/starcoderdata), [
The-Vault-inline](https://huggingface.co/datasets/Fsoft-AIC/the-vault-inline) and [Project_CodeNet](https://github.com/IBM/Project_CodeNet).


Cleaning:
- We removed the metadata tags (file-name, number of stars etc) from starcoder split of the dataset

We filtered the data by:

- **AST parsability**: we extracted only the AST parsable codes  
- **AST Depth**: only samples with depth from 2.0 to 31.0
- **Maximum Line Length**: only samples with a maximum of 12.0 to 400.0 characters
- **Average Line Length**: only samples with 5.0 to 140.0 characters on average
- **Alphanumeric Fraction** of samples is greater than 0.2 and less than 0.9
- **Number of Lines**: from 6.0 to 300.0