Skip to content

Dataset · neulab

Natural language-code pairs from Stack Overflow

neulab/conala

A corpus of pairs of natural language text descriptions and code snippets collected from Stack Overflow.

What's inside

The CoNaLa dataset contains from 100K to 1M pairs connecting natural language queries with corresponding source code snippets. The data is collected from the Stack Overflow platform and presented in text and tabular formats.

What you can do with it

  • Training code generation models from text description
  • Training semantic code search systems
Languages
Code
Size
100K–1M rows
Downloads this month
3.4K
Likes
62

Models trained on it

How to load it

from datasets import load_dataset

ds = load_dataset("neulab/conala")