Skip to content

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

How to load it

from datasets import load_dataset

ds = load_dataset("ajibawa-2023/Python-Code-23k-ShareGPT")