--- 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 ```