Dataset · ml6team
Python source code collection from The Stack corpus
ml6team/the-stack-smol-python
A compact version of The Stack Python source code dataset containing between 10k and 100k records.
What's inside
The dataset contains text and tabular data with Python source code, representing a reduced sample (from 10,000 to 100,000 examples) from The Stack collection. A detailed description of the dataset composition and collection method is not available in the card.
What you can do with it
- Fine-tuning or LoRA adaptation of language models for Python code generation and autocomplete
- Rapid prototyping and debugging of code model training pipelines on a small sample
- Size
- 10K–100K rows
- Downloads this month
- 5.1K
- Likes
- 3
Models trained on it
How to load it
from datasets import load_dataset
ds = load_dataset("ml6team/the-stack-smol-python")