File size: 878 Bytes
0522fe8 81980a4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ---
license: apache-2.0
---
# 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. |