mshny commited on
Commit
6fb5369
1 Parent(s): 2d033bd

Update README.md

Browse files

# Dataset Summary
The dataset contains 25000 Kotlin code samples selected from [KStack](https://huggingface.co/datasets/JetBrains/KStack) dataset. The selection is performed based on the value of the code for learning algorithmic concepts in Kotlin.

# Dataset Collection Procedure
The filtering is performed using zero-shot quality estimation based on [Mistral-7B-Instruct-v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2). The model is prompted to determine which of two files has higher "educational value for learning algorithms in Kotlin". The results of the comparisons are averaged and used to train a binary classifier based on [CodeT5p-220m](https://huggingface.co/Salesforce/codet5p-220m). The binary classifier is then applied to the entire KStack to obtain scores for each sample in the dataset. The log-probability of the classifier prediction used as a criterion of the selection.

# Opt-out
If you want your data to be removed from dataset, or have any other questions, please reach out to Sergey Titov [email protected]

Files changed (1) hide show
  1. README.md +182 -182
README.md CHANGED
@@ -1,182 +1,182 @@
1
- ---
2
- license: cc-by-sa-4.0
3
- dataset_info:
4
- features:
5
- - name: path
6
- dtype: string
7
- - name: max_stars_owner
8
- dtype: string
9
- - name: min_issues_main_language
10
- dtype: string
11
- - name: max_forks_main_language
12
- dtype: string
13
- - name: max_forks_commit_sha
14
- dtype: string
15
- - name: min_issues_repo_id
16
- dtype: float64
17
- - name: non_alpha_syms
18
- dtype: int64
19
- - name: min_stars_owner
20
- dtype: string
21
- - name: num_of_duplicates
22
- dtype: int64
23
- - name: max_stars_languages_distribution
24
- dtype: string
25
- - name: std_line_len
26
- dtype: float64
27
- - name: pii_info
28
- list:
29
- - name: end
30
- dtype: int64
31
- - name: entity_group
32
- dtype: string
33
- - name: score
34
- dtype: float64
35
- - name: start
36
- dtype: int64
37
- - name: word
38
- dtype: string
39
- - name: cluster_id
40
- dtype: int64
41
- - name: non_empty_len
42
- dtype: int64
43
- - name: min_stars_languages_distribution
44
- dtype: string
45
- - name: min_forks_name
46
- dtype: string
47
- - name: min_forks_repo_id
48
- dtype: int64
49
- - name: min_issues_owner
50
- dtype: string
51
- - name: max_issues_name
52
- dtype: string
53
- - name: owner
54
- dtype: string
55
- - name: extension
56
- dtype: string
57
- - name: min_issues_name
58
- dtype: string
59
- - name: min_forks
60
- dtype: int64
61
- - name: max_issues_main_language
62
- dtype: string
63
- - name: repo_id
64
- dtype: int64
65
- - name: license
66
- dtype: string
67
- - name: max_stars_path
68
- dtype: string
69
- - name: max_stars_commit_sha
70
- dtype: string
71
- - name: avg_line_len
72
- dtype: float64
73
- - name: max_stars_main_language
74
- dtype: string
75
- - name: min_stars
76
- dtype: int64
77
- - name: partition_0
78
- dtype: string
79
- - name: min_stars_repo_id
80
- dtype: int64
81
- - name: max_len
82
- dtype: int64
83
- - name: is_fork
84
- dtype: bool
85
- - name: max_stars_name
86
- dtype: string
87
- - name: max_forks
88
- dtype: int64
89
- - name: max_issues_languages_distribution
90
- dtype: string
91
- - name: min_stars_commit_sha
92
- dtype: string
93
- - name: total_lines
94
- dtype: int64
95
- - name: min_forks_commit_sha
96
- dtype: string
97
- - name: max_forks_name
98
- dtype: string
99
- - name: total_symbols
100
- dtype: int64
101
- - name: languages_distribution
102
- dtype: string
103
- - name: max_forks_repo_id
104
- dtype: int64
105
- - name: content
106
- dtype: string
107
- - name: issues
108
- dtype: float64
109
- - name: max_issues_commit_sha
110
- dtype: string
111
- - name: max_forks_path
112
- dtype: string
113
- - name: main_language
114
- dtype: string
115
- - name: forks
116
- dtype: int64
117
- - name: min_issues_commit_sha
118
- dtype: string
119
- - name: min_forks_path
120
- dtype: string
121
- - name: max_issues_owner
122
- dtype: string
123
- - name: max_issues_repo_id
124
- dtype: float64
125
- - name: stars
126
- dtype: int64
127
- - name: old_content
128
- dtype: string
129
- - name: min_stars_main_language
130
- dtype: string
131
- - name: min_stars_name
132
- dtype: string
133
- - name: max_stars
134
- dtype: int64
135
- - name: commit_sha
136
- dtype: string
137
- - name: min_issues
138
- dtype: float64
139
- - name: min_issues_languages_distribution
140
- dtype: string
141
- - name: size
142
- dtype: int64
143
- - name: comment_lines
144
- dtype: int64
145
- - name: max_issues_path
146
- dtype: string
147
- - name: max_stars_repo_id
148
- dtype: int64
149
- - name: min_forks_owner
150
- dtype: string
151
- - name: max_forks_owner
152
- dtype: string
153
- - name: min_issues_path
154
- dtype: string
155
- - name: min_len
156
- dtype: 'null'
157
- - name: max_forks_languages_distribution
158
- dtype: string
159
- - name: max_issues
160
- dtype: float64
161
- - name: min_forks_main_language
162
- dtype: string
163
- - name: median_len
164
- dtype: float64
165
- - name: min_stars_path
166
- dtype: string
167
- - name: min_forks_languages_distribution
168
- dtype: string
169
- - name: name
170
- dtype: string
171
- splits:
172
- - name: train
173
- num_bytes: 174601557.889927
174
- num_examples: 25000
175
- download_size: 69469316
176
- dataset_size: 174601557.889927
177
- configs:
178
- - config_name: default
179
- data_files:
180
- - split: train
181
- path: data/train-*
182
- ---
 
1
+ ---
2
+ license: cc-by-sa-4.0
3
+ dataset_info:
4
+ features:
5
+ - name: path
6
+ dtype: string
7
+ - name: max_stars_owner
8
+ dtype: string
9
+ - name: min_issues_main_language
10
+ dtype: string
11
+ - name: max_forks_main_language
12
+ dtype: string
13
+ - name: max_forks_commit_sha
14
+ dtype: string
15
+ - name: min_issues_repo_id
16
+ dtype: float64
17
+ - name: non_alpha_syms
18
+ dtype: int64
19
+ - name: min_stars_owner
20
+ dtype: string
21
+ - name: num_of_duplicates
22
+ dtype: int64
23
+ - name: max_stars_languages_distribution
24
+ dtype: string
25
+ - name: std_line_len
26
+ dtype: float64
27
+ - name: pii_info
28
+ list:
29
+ - name: end
30
+ dtype: int64
31
+ - name: entity_group
32
+ dtype: string
33
+ - name: score
34
+ dtype: float64
35
+ - name: start
36
+ dtype: int64
37
+ - name: word
38
+ dtype: string
39
+ - name: cluster_id
40
+ dtype: int64
41
+ - name: non_empty_len
42
+ dtype: int64
43
+ - name: min_stars_languages_distribution
44
+ dtype: string
45
+ - name: min_forks_name
46
+ dtype: string
47
+ - name: min_forks_repo_id
48
+ dtype: int64
49
+ - name: min_issues_owner
50
+ dtype: string
51
+ - name: max_issues_name
52
+ dtype: string
53
+ - name: owner
54
+ dtype: string
55
+ - name: extension
56
+ dtype: string
57
+ - name: min_issues_name
58
+ dtype: string
59
+ - name: min_forks
60
+ dtype: int64
61
+ - name: max_issues_main_language
62
+ dtype: string
63
+ - name: repo_id
64
+ dtype: int64
65
+ - name: license
66
+ dtype: string
67
+ - name: max_stars_path
68
+ dtype: string
69
+ - name: max_stars_commit_sha
70
+ dtype: string
71
+ - name: avg_line_len
72
+ dtype: float64
73
+ - name: max_stars_main_language
74
+ dtype: string
75
+ - name: min_stars
76
+ dtype: int64
77
+ - name: partition_0
78
+ dtype: string
79
+ - name: min_stars_repo_id
80
+ dtype: int64
81
+ - name: max_len
82
+ dtype: int64
83
+ - name: is_fork
84
+ dtype: bool
85
+ - name: max_stars_name
86
+ dtype: string
87
+ - name: max_forks
88
+ dtype: int64
89
+ - name: max_issues_languages_distribution
90
+ dtype: string
91
+ - name: min_stars_commit_sha
92
+ dtype: string
93
+ - name: total_lines
94
+ dtype: int64
95
+ - name: min_forks_commit_sha
96
+ dtype: string
97
+ - name: max_forks_name
98
+ dtype: string
99
+ - name: total_symbols
100
+ dtype: int64
101
+ - name: languages_distribution
102
+ dtype: string
103
+ - name: max_forks_repo_id
104
+ dtype: int64
105
+ - name: content
106
+ dtype: string
107
+ - name: issues
108
+ dtype: float64
109
+ - name: max_issues_commit_sha
110
+ dtype: string
111
+ - name: max_forks_path
112
+ dtype: string
113
+ - name: main_language
114
+ dtype: string
115
+ - name: forks
116
+ dtype: int64
117
+ - name: min_issues_commit_sha
118
+ dtype: string
119
+ - name: min_forks_path
120
+ dtype: string
121
+ - name: max_issues_owner
122
+ dtype: string
123
+ - name: max_issues_repo_id
124
+ dtype: float64
125
+ - name: stars
126
+ dtype: int64
127
+ - name: old_content
128
+ dtype: string
129
+ - name: min_stars_main_language
130
+ dtype: string
131
+ - name: min_stars_name
132
+ dtype: string
133
+ - name: max_stars
134
+ dtype: int64
135
+ - name: commit_sha
136
+ dtype: string
137
+ - name: min_issues
138
+ dtype: float64
139
+ - name: min_issues_languages_distribution
140
+ dtype: string
141
+ - name: size
142
+ dtype: int64
143
+ - name: comment_lines
144
+ dtype: int64
145
+ - name: max_issues_path
146
+ dtype: string
147
+ - name: max_stars_repo_id
148
+ dtype: int64
149
+ - name: min_forks_owner
150
+ dtype: string
151
+ - name: max_forks_owner
152
+ dtype: string
153
+ - name: min_issues_path
154
+ dtype: string
155
+ - name: min_len
156
+ dtype: 'null'
157
+ - name: max_forks_languages_distribution
158
+ dtype: string
159
+ - name: max_issues
160
+ dtype: float64
161
+ - name: min_forks_main_language
162
+ dtype: string
163
+ - name: median_len
164
+ dtype: float64
165
+ - name: min_stars_path
166
+ dtype: string
167
+ - name: min_forks_languages_distribution
168
+ dtype: string
169
+ - name: name
170
+ dtype: string
171
+ splits:
172
+ - name: train
173
+ num_bytes: 174601557.889927
174
+ num_examples: 25000
175
+ download_size: 69469316
176
+ dataset_size: 174601557.889927
177
+ configs:
178
+ - config_name: default
179
+ data_files:
180
+ - split: train
181
+ path: data/train-*
182
+ ---