Dataset · ajibawa-2023
23,000 dialogues with Python code and explanations
ajibawa-2023/Python-Code-23k-ShareGPT
A synthetic ShareGPT-format dataset with Python code examples and detailed explanations for SFT.
What's inside
Contains over 23,000 two-turn dialogues in English. Each record pairs Python code snippets with detailed text explanations. Formatted in Vicuna/ShareGPT style and generated using GPT-3.5 and GPT-4.
What you can do with it
- SFT fine-tuning of small language models or LoRA adapters for generating and explaining Python code
- Training AI assistants to help users learn programming
- Languages
- English
- Size
- 10K–100K rows
- Downloads this month
- 1K
- Likes
- 44
Models trained on it
- TheBloke/Python-Code-33B-GGUF 1.4K
- TheBloke/Python-Code-13B-GGUF 1.4K
- mradermacher/NinjaMouse-3B-40L-danube-i1-GGUF 1.1K
- theprint/phi-3-mini-4k-pythonText generation 845
- mradermacher/phi-3-mini-4k-python-i1-GGUF 773
- mradermacher/CodeLlama3.2-3B-1225-i1-GGUF 687
- mradermacher/Python-Code-13B-i1-GGUF 652
- mradermacher/CodeLlama3-8B-Python-GGUF 620
How to load it
from datasets import load_dataset
ds = load_dataset("ajibawa-2023/Python-Code-23k-ShareGPT")