File size: 1,786 Bytes
cfb6d11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a19f8c7
 
 
 
 
 
 
 
 
 
 
 
3293278
 
 
 
a19f8c7
 
 
 
 
 
 
b5c009a
a19f8c7
 
b5c009a
 
 
66808b8
 
 
b5c009a
4262010
 
b5c009a
 
5ac0a64
b5c009a
 
 
 
51d04f7
b5c009a
93153e0
66808b8
 
b5c009a
 
 
66808b8
 
5ac0a64
 
 
 
6c67de7
 
 
 
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
---
dataset_info:
  features:
  - name: text
    dtype: string
  splits:
  - name: train
    num_bytes: 4814896123
    num_examples: 5468096
  download_size: 2179440546
  dataset_size: 4814896123
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
license: odc-by
task_categories:
- text-generation
- question-answering
language:
- en
tags:
- code
- coding
- py
- python
- pretraining
- train
- fine
- clean
- filtered
- smollm
- python edu
- edu
- SLM
- smol
- programming
- github
pretty_name: Python For The Smol
size_categories:
- 1M<n<10M
---
# SmolPyEdu

This dataset aims to be a **very solid option** for pre-training general-purpose or coding/programming **SLMs and TLMs**.

It takes **Avelina/python-edu-cleaned**, filters for **only working scripts**, removes all comments, and leaves only **clean, short scripts**.

It inherits the same **odc-by** license as the source.

### Dataset Details

- **Curated by:** MoreThought
- **Funded by:** MoreThought
- **Shared by:** MoreThought
- **License:** odc-by

### Dataset Sources

- **Used:** https://huggingface.co/datasets/Avelina/python-edu-cleaned
- **Original:** https://huggingface.co/datasets/Avelina/python-edu
- **Source:** https://huggingface.co/datasets/HuggingFaceTB/smollm-corpus

## Uses

- Pre-training general-purpose or coding/programming SLMs and TLMs
- Pre-training general-purpose or coding/programming LLMs of any kind in general
- Post-training general-purpose or coding/programming SLMs and TLMs to stop using comments

## Stats


| **Total compressed size** | **Max script size** | **Size reduction VS used** |
| ------------------------- | ------------------- | -------------------------- |
|        **2.18 GB**        |    **100 lines**    |         **2.775x**         |