T

Text2cypher Gemma 2 9b It Finetuned 2024v1

Developed by neo4j
This model is a Text2Cypher model fine-tuned based on google/gemma-2-9b-it, capable of converting natural language questions into Cypher query statements for Neo4j graph databases.
Downloads 2,093
Release Time : 9/10/2024

Model Overview

This model demonstrates how to fine-tune a base model using the Neo4j-Text2Cypher(2024) dataset to improve performance on Text2Cypher tasks. It is primarily used to convert natural language questions into Cypher query statements.

Model Features

Efficient Natural Language to Cypher Conversion
Accurately converts natural language questions into valid Cypher query statements.
LoRA Fine-tuning Technology
Uses parameter-efficient fine-tuning (LoRA) for model adaptation, enhancing task-specific performance while preserving base model capabilities.
4-bit Quantization Support
Supports 4-bit quantized inference, reducing hardware resource requirements.

Model Capabilities

Natural Language Understanding
Cypher Query Generation
Graph Database Interaction

Use Cases

Graph Database Query
Actor-Movie Query
Query all movies featuring a specific actor
Generates correct MATCH (a:Actor)-[:ActedIn]->(m:Movie) RETURN m query
Complex Relationship Query
Query complex relationship paths meeting specific conditions
Generates multi-hop query statements based on patterns
Data Analysis
Graph Data Statistics
Generate queries to analyze graph data characteristics
Generates queries with aggregate functions like COUNT, SUM
Featured Recommended AI Models
AIbase
Empowering the Future, Your AI Solution Knowledge Base
Š 2025AIbase