Skip to content

Dataset · nampdn-ai

1.6M short code snippets for reasoning training

nampdn-ai/tiny-codes

Synthetic short code examples across 13 programming languages and databases to help LLMs learn reasoning.

What's inside

A synthetic corpus of approximately 1.6 million short and clear English code snippets. Covers Python, TypeScript, JavaScript, Ruby, Julia, Rust, C++, Bash, Java, C#, Go, as well as query languages Cypher (graph databases) and SQL (relational databases). Collected specifically to train LLMs to bridge natural language and programming.

What you can do with it

  • SFT small code models on short examples
  • Train LoRA for code reasoning tasks
  • Verify model code generation based on natural language descriptions
Tasks
Text generation
Languages
English
Size
1M–10M rows
Downloads this month
1.2K
Likes
310
Access
on request on Hugging Face

Models trained on it

How to load it

from datasets import load_dataset

ds = load_dataset("nampdn-ai/tiny-codes")