Skip to content

Dataset · vikp

Synthetic programming textbooks

vikp/textbook_quality_programming

About 115 million tokens of synthetic programming textbooks in English for training small LLMs.

What's inside

A set of synthetic programming textbooks generated by GPT-3.5 with retrieval. Contains about 115 million tokens, covering many languages and technologies with a focus on Python. Approximately 10k books (65 million tokens) were created using the old method and average 6k tokens; another about 1.5k books (50 million tokens) using the new method with a more detailed outline and an average size of 33k tokens.

What you can do with it

  • Train a small LLM in programming
  • Create a LoRA for generating instructional texts
  • Check the quality of synthetic training materials
Languages
English
Size
10K–100K rows
Downloads this month
205
Likes
188

Models trained on it

How to load it

from datasets import load_dataset

ds = load_dataset("vikp/textbook_quality_programming")