Skip to content

Dataset · neo4j

Text-to-Cypher graph database query translation

neo4j/text2cypher-2024v1

A cleaned corpus of 44,387 question, DB schema, and Cypher English pairs from Neo4j developers.

What's inside

Contains 44,387 English examples split into training (39,554) and test (4,833) sets. Each record contains at least a natural language question, a database schema, and the final Cypher query. The data was gathered from public sources, cleaned, and standardized by the Neo4j team.

What you can do with it

  • Training and SFT fine-tuning LLMs for Cypher query generation
  • Creating RAG systems and AI assistants for working with Neo4j graph databases
  • Evaluating model accuracy in Text-to-Cypher tasks on the test split
Tasks
Text generation
Languages
English
Size
10K–100K rows
Downloads this month
398
Likes
55

Models trained on it

How to load it

from datasets import load_dataset

ds = load_dataset("neo4j/text2cypher-2024v1")