| --- |
| license: odc-by |
| dataset_info: |
| features: |
| - name: blob_id |
| dtype: string |
| - name: repo_name |
| dtype: string |
| - name: path |
| dtype: string |
| - name: length_bytes |
| dtype: int64 |
| - name: score |
| dtype: float64 |
| - name: int_score |
| dtype: int64 |
| - name: text |
| dtype: string |
| splits: |
| - name: train |
| num_bytes: 13498307033 |
| num_examples: 7678447 |
| download_size: 6084961921 |
| dataset_size: 13498307033 |
| configs: |
| - config_name: default |
| data_files: |
| - split: train |
| path: data/train-* |
| language: |
| - en |
| size_categories: |
| - 1M<n<10M |
| --- |
| |
| **This version is deprecated! Please use the cleaned version: [Avelina/python-edu-cleaned](https://huggingface.co/datasets/Avelina/python-edu-cleaned)** |
|
|
| # SmolLM-Corpus: Python-Edu |
|
|
| This dataset contains the `python-edu` subset of [SmolLM-Corpus](https://huggingface.co/datasets/HuggingFaceTB/smollm-corpus) with the contents of the files stored in a new `text` field. All files were downloaded from the S3 bucket on January the 8th 2025, using the blob IDs from the original dataset with revision `3ba9d605774198c5868892d7a8deda78031a781f`. Only 1 file was marked as not found and the corresponding row removed from the dataset (`content/39c3e5b85cc678d1d54b4d93a55271c51d54126c` which I suspect is caused by a mallformed blob ID). |
|
|
| Please refer to the original [README](https://huggingface.co/datasets/HuggingFaceTB/smollm-corpus/blob/main/README.md#python-edu) for all other information. |
|
|
| ## Dataset Features |
| * `blob_id (string)`: Software Heritage (SWH) ID of the file on AWS S3. |
| * `repo_name (string)`: Repository name on GitHub. |
| * `path (string)`: The file path within the repository. |
| * `length_bytes (int64)`: Length of the file content in UTF-8 bytes. |
| * `score (float32)`: The output of the educational scoring model. |
| * `int_score (uint8)`: The rounded educational score. |
| * `text (string)`: The downloaded python file text. |
|
|
|
|