Datasets:
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-generation
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- text-to-sql
|
| 9 |
+
- geospatial
|
| 10 |
+
- geocoding
|
| 11 |
+
- duckdb
|
| 12 |
+
- synthetic
|
| 13 |
+
size_categories:
|
| 14 |
+
- 10K<n<100K
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# Gazet Dataset
|
| 18 |
+
|
| 19 |
+
Synthetic training data for finetuning small language models on geospatial tasks over [Overture Maps](https://overturemaps.org/) and [Natural Earth](https://www.naturalearthdata.com/) parquet datasets.
|
| 20 |
+
|
| 21 |
+
## Tasks
|
| 22 |
+
|
| 23 |
+
### SQL generation (`sql/`)
|
| 24 |
+
Input: user query + fuzzy-matched candidate entities (CSV)
|
| 25 |
+
Output: DuckDB spatial SQL query
|
| 26 |
+
|
| 27 |
+
### Place extraction (`places/`)
|
| 28 |
+
Input: natural language query
|
| 29 |
+
Output: structured JSON with place names, country codes, and subtypes
|
| 30 |
+
|
| 31 |
+
## Format
|
| 32 |
+
Each JSONL row is a conversation in chat-template format:
|
| 33 |
+
|
| 34 |
+
```json
|
| 35 |
+
{
|
| 36 |
+
"messages": [
|
| 37 |
+
{"role": "system", "content": "..."},
|
| 38 |
+
{"role": "user", "content": "..."},
|
| 39 |
+
{"role": "assistant", "content": "..."}
|
| 40 |
+
]
|
| 41 |
+
}
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
## Splits
|
| 45 |
+
| Task | Train | Val | Test |
|
| 46 |
+
|---|---|---|---|
|
| 47 |
+
| SQL | `sql/train.jsonl` | `sql/val.jsonl` | `sql/test.jsonl` |
|
| 48 |
+
| Places | `places/train.jsonl` | `places/val.jsonl` | `places/test.jsonl` |
|
| 49 |
+
|
| 50 |
+
See `stats.json` for per-family sample counts.
|
| 51 |
+
|
| 52 |
+
## Generation
|
| 53 |
+
Data is generated from SQL templates applied to real Overture/Natural Earth spatial relations (adjacency, containment, intersection, etc.). Templates produce both the training SQL and the natural language question.
|
| 54 |
+
Full generation pipeline: `github.com/developmentseed/gazet/dataset`
|
| 55 |
+
|
| 56 |
+
## Trained model
|
| 57 |
+
`developmentseed/gazet-model` - Qwen3.5-0.8B finetuned on this dataset
|