GeoSQL-7B

GeoSQL-7B is a 7B-parameter spatial text-to-SQL model fine-tuned from Qwen/Qwen2.5-Coder-7B-Instruct. It is designed to generate executable PostGIS SQL queries from a natural language question and a database schema.

Model Details

Item Description
Model name GeoSQL-7B
Base model Qwen/Qwen2.5-Coder-7B-Instruct
Primary task Natural language to spatial SQL
Output format A single SQL query

Intended Use

GeoSQL-7B is intended for research and application development in spatial text-to-SQL. Given a database schema and a user question, the model generates SQL that uses PostGIS syntax, including spatial predicates, measurements, joins, aggregations, and coordinate transformations when needed.

Downloads last month
28
Safetensors
Model size
8B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for SongY123/GeoSQL-7B

Quantizations
1 model