File size: 3,414 Bytes
ddff532
e342d7a
ddff532
 
 
 
 
e342d7a
 
 
 
ddff532
e342d7a
ddff532
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9b899b2
 
ddff532
 
9b899b2
 
 
 
e342d7a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
fb16dad
e342d7a
 
fb16dad
 
ddff532
 
 
a59b9dd
035c15b
a59b9dd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90a5451
 
 
 
a59b9dd
 
 
 
 
 
 
 
 
 
a440298
 
 
 
90a5451
 
 
a440298
 
90a5451
 
 
 
 
 
 
 
 
fb16dad
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
---
source_datasets: bigcode/the-stack-smol-xl
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
- config_name: original
  data_files:
  - split: train
    path: original/train-*
dataset_info:
- config_name: default
  features:
  - name: size
    dtype: int64
  - name: ext
    dtype: string
  - name: lang
    dtype: string
  - name: max_stars_repo_name
    dtype: string
  - name: max_stars_repo_licenses
    sequence: string
  - name: max_stars_count
    dtype: float64
  - name: max_issues_repo_name
    dtype: string
  - name: max_issues_repo_licenses
    sequence: string
  - name: max_issues_count
    dtype: float64
  - name: max_forks_repo_name
    dtype: string
  - name: max_forks_repo_licenses
    sequence: string
  - name: max_forks_count
    dtype: float64
  - name: text
    dtype: string
  - name: avg_line_length
    dtype: float64
  - name: max_line_length
    dtype: int64
  - name: alphanum_fraction
    dtype: float64
  - name: code_readability
    dtype: float64
  - name: token_len
    dtype: int64
  splits:
  - name: train
    num_bytes: 1138355923.3692224
    num_examples: 205173
  download_size: 394010253
  dataset_size: 1138355923.3692224
- config_name: original
  features:
  - name: size
    dtype: int64
  - name: ext
    dtype: string
  - name: lang
    dtype: string
  - name: max_stars_repo_name
    dtype: string
  - name: max_stars_repo_licenses
    sequence: string
  - name: max_stars_count
    dtype: float64
  - name: max_issues_repo_name
    dtype: string
  - name: max_issues_repo_licenses
    sequence: string
  - name: max_issues_count
    dtype: float64
  - name: max_forks_repo_name
    dtype: string
  - name: max_forks_repo_licenses
    sequence: string
  - name: max_forks_count
    dtype: float64
  - name: text
    dtype: string
  - name: avg_line_length
    dtype: float64
  - name: max_line_length
    dtype: int64
  - name: alphanum_fraction
    dtype: float64
  - name: code_readability
    dtype: float64
  splits:
  - name: train
    num_bytes: 1210173023
    num_examples: 218432
  download_size: 401845994
  dataset_size: 1210173023
license: odc-by
---
# Dataset Card for "the-stack-smol-xl-readable"


[Filtered](https://gist.github.com/pszemraj/60de22b09e9c91a16443519a1741e0c0) for 'readability' 0.8 and greater. ~560M llama2 tokens

columns:

```
{'train': ['size',
           'ext',
           'lang',
           'max_stars_repo_name',
           'max_stars_repo_licenses',
           'max_stars_count',
           'max_issues_repo_name',
           'max_issues_repo_licenses',
           'max_issues_count',
           'max_forks_repo_name',
           'max_forks_repo_licenses',
           'max_forks_count',
           'text',
           'avg_line_length',
           'max_line_length',
           'alphanum_fraction',
           'code_readability']}
```

## stats


### readability index

|       |   code_readability |
|:------|-------------------:|
| count |     218432         |
| mean  |          0.840515  |
| std   |          0.0288337 |
| min   |          0.8       |
| 25%   |          0.816354  |
| 50%   |          0.836042  |
| 75%   |          0.863379  |
| max   |          0.987153  |



### tokens

llama2

```
token_len
count  205173.000000
mean     2654.322581
std     18141.069771
min        33.000000
25%       166.000000
50%       390.000000
75%      1078.000000
max    686163.000000
```