| 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. |