File size: 4,942 Bytes
2b55bf4 5d9efa4 |
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 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 |
---
license: cc-by-sa-4.0
dataset_info:
features:
- name: path
dtype: string
- name: max_stars_owner
dtype: string
- name: min_issues_main_language
dtype: string
- name: max_forks_main_language
dtype: string
- name: max_forks_commit_sha
dtype: string
- name: min_issues_repo_id
dtype: float64
- name: non_alpha_syms
dtype: int64
- name: min_stars_owner
dtype: string
- name: num_of_duplicates
dtype: int64
- name: max_stars_languages_distribution
dtype: string
- name: std_line_len
dtype: float64
- name: pii_info
list:
- name: end
dtype: int64
- name: entity_group
dtype: string
- name: score
dtype: float64
- name: start
dtype: int64
- name: word
dtype: string
- name: cluster_id
dtype: int64
- name: non_empty_len
dtype: int64
- name: min_stars_languages_distribution
dtype: string
- name: min_forks_name
dtype: string
- name: min_forks_repo_id
dtype: int64
- name: min_issues_owner
dtype: string
- name: max_issues_name
dtype: string
- name: owner
dtype: string
- name: extension
dtype: string
- name: min_issues_name
dtype: string
- name: min_forks
dtype: int64
- name: max_issues_main_language
dtype: string
- name: repo_id
dtype: int64
- name: license
dtype: string
- name: max_stars_path
dtype: string
- name: max_stars_commit_sha
dtype: string
- name: avg_line_len
dtype: float64
- name: max_stars_main_language
dtype: string
- name: min_stars
dtype: int64
- name: partition_0
dtype: string
- name: min_stars_repo_id
dtype: int64
- name: max_len
dtype: int64
- name: is_fork
dtype: bool
- name: max_stars_name
dtype: string
- name: max_forks
dtype: int64
- name: max_issues_languages_distribution
dtype: string
- name: min_stars_commit_sha
dtype: string
- name: total_lines
dtype: int64
- name: min_forks_commit_sha
dtype: string
- name: max_forks_name
dtype: string
- name: total_symbols
dtype: int64
- name: languages_distribution
dtype: string
- name: max_forks_repo_id
dtype: int64
- name: content
dtype: string
- name: issues
dtype: float64
- name: max_issues_commit_sha
dtype: string
- name: max_forks_path
dtype: string
- name: main_language
dtype: string
- name: forks
dtype: int64
- name: min_issues_commit_sha
dtype: string
- name: min_forks_path
dtype: string
- name: max_issues_owner
dtype: string
- name: max_issues_repo_id
dtype: float64
- name: stars
dtype: int64
- name: old_content
dtype: string
- name: min_stars_main_language
dtype: string
- name: min_stars_name
dtype: string
- name: max_stars
dtype: int64
- name: commit_sha
dtype: string
- name: min_issues
dtype: float64
- name: min_issues_languages_distribution
dtype: string
- name: size
dtype: int64
- name: comment_lines
dtype: int64
- name: max_issues_path
dtype: string
- name: max_stars_repo_id
dtype: int64
- name: min_forks_owner
dtype: string
- name: max_forks_owner
dtype: string
- name: min_issues_path
dtype: string
- name: min_len
dtype: 'null'
- name: max_forks_languages_distribution
dtype: string
- name: max_issues
dtype: float64
- name: min_forks_main_language
dtype: string
- name: median_len
dtype: float64
- name: min_stars_path
dtype: string
- name: min_forks_languages_distribution
dtype: string
- name: name
dtype: string
splits:
- name: train
num_bytes: 174601557.889927
num_examples: 25000
download_size: 69469316
dataset_size: 174601557.889927
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
---
# 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]
|