gazet models
Small language models from gazet, Development Seed's natural-language geocoder, and its spatial text-to-SQL experiments. Each folder is one training run with merged weights (transformers), the LoRA adapter, GGUF files for llama.cpp, the training log and the model's answers to the test sets.
For gazet's geocoding, use plan-v5-smol135 (plan-v5-smol135/gguf/gazet-plan-v5-smol135-q8_0.gguf, 145 MB).
It runs on a laptop CPU and in the browser (wllama), and is what gazet's browser demo loads.
Runs
| Run | Base model (licence) | Task | Training data | Results |
|---|---|---|---|---|
plan-v5-smol135 | SmolLM2-135M-Instruct (Apache-2.0) | gazet places + JSON plans | chatml/gazet_plan_v5: gazet-dataset relabelled + multi-place questions | held-out multi-place 89.2% same features; gazet test 82.0% same geometry (corrected references), places 99.1% |
plan-v4-smol135, plan-v3-smol135, plan-v2-smol135 | SmolLM2-135M-Instruct (Apache-2.0) | same | intermediate versions of the same data | see the report below |
plan-v1-smol135 | SmolLM2-135M-Instruct (Apache-2.0) | same | chatml/gazet_plan_v1 (gazet-dataset) | gazet test 78.9% same geometry |
plan-v1-q3-06b | Qwen3-0.6B (Apache-2.0) | same | chatml/gazet_plan_v1 | 82.6% |
plan-v1-lfm350 | LFM2.5-350M (LFM Open License v1.0, see below) | same | chatml/gazet_plan_v1 | 82.9% |
sql-v2-q35-2b-pub | Qwen3.5-2B (Apache-2.0) | DuckDB spatial SQL from schema cards + question | chatml/v2_pub | gold v1 54.0%, gold v2 70.1%, dev v1 81.0% |
rl-q3-06b-lr2e5-pub | Qwen3-0.6B (Apache-2.0) | same, GRPO with an execution-match reward from sql-v2-q3-06b-pub | rl/v1_pub | gold v1 56.7%, gold v2 46.7%, dev v1 75.8% |
rl2-q3-06b-pub-lr1e5 | Qwen3-0.6B (Apache-2.0) | GRPO round 2 from rl-q3-06b-lr2e5-pub (lr 1e-5, prefiltered questions, best adapter kept) | rl/v2_pub | gold v1 56.4%, gold v2 53.3%, dev v1 77.7%: best small SQL model |
sql-v2-q3-06b-pub | Qwen3-0.6B (Apache-2.0) | same | chatml/v2_pub | gold v1 44.7%, gold v2 43.1%, dev v1 74.2% |
sql-v2-coder05-pub | Qwen2.5-Coder-0.5B (Apache-2.0) | same | chatml/v2_pub | gold v1 48.1%, gold v2 44.5%, dev v1 71.6% |
joint-v1-q3-06b-pub | Qwen3-0.6B (Apache-2.0) | gazet plans + places and DuckDB SQL in one model | chatml/joint_v1_pub | SQL: gold v1 48.1%, gold v2 47.4%, dev v1 76.4% |
sql-v1-r16-pub | Qwen3.5-0.8B (Apache-2.0) | DuckDB spatial SQL | chatml/v1_pub | gold v1 43.0%, dev v1 70.0% |
SQL results: lenient execution match on the NUTS-free test sets (gold v1 291, gold v2 137, dev v1 686 questions;
plain prompts, no value hints); each run's answers are in its predictions/ folder.
The -pub runs are retrains of earlier internal runs with the same settings on data without two kinds of rows that
could not be published (EU NUTS boundaries, non-commercial; about 210 pairs served by a provider whose terms forbid
training on its output). Against the earlier runs on the same questions most differences are within noise;
rl-q3-06b-lr2e5-pub is 4.8 points lower on dev v1 (eval/public_release/report.txt in the gazet repository).
The best small SQL model of the earlier work, RL round 2 on Qwen3-0.6B, is not retrained yet.
Plan models: give them gazet's prompts (gazet.lm: _PLACES_SYSTEM_PROMPT, plan_messages) and decode plans under
the plan JSON schema with IDs limited to the candidates (gazet.plan.plan_schema), temperature 0. gazet compiles
the plan to SQL (src/gazet/plan.py). The SQL models' prompt format is in dataset/generative/student.py; turn
thinking off. dataset/generative/demo/ in the gazet repository serves one as a small app.
Evaluation details: dataset/generative/eval/gazet_plan/report.txt and eval/gazet_multi/report.txt (plan models),
REVIEW.md and FINDINGS.md (SQL model) in the gazet repository.
Licences
- Runs on SmolLM2, Qwen3, Qwen3.5 and Qwen2.5-Coder: Apache-2.0 (
LICENSE). plan-v1-lfm350: derived from LiquidAI's LFM2.5-350M and distributed under the LFM Open License v1.0 (plan-v1-lfm350/LICENSE). Its files were modified from the original by fine-tuning (LoRA, merged). Commercial use is licensed under that licence only for entities below its revenue threshold; read it before use.- Training data: see the data card of gazet-sql-data for the sources and their licences. The plan models are trained on Overture Maps divisions and Natural Earth only: © OpenStreetMap contributors, Overture Maps Foundation, made available under the ODbL; Natural Earth is public domain. The SQL runs are trained on question/SQL pairs over the data lake described in that card (OGL v3, ODbL, CDLA-Permissive-2.0, CC BY 4.0, CC BY 2.5 India, Singapore Open Data Licence, PDL 1.0, Etalab 2.0 and public-domain sources, credited there).
- Synthetic training text was generated with DeepSeek-V4.1-Flash and GLM-5.3-Flash (both MIT) and filtered with a MiniMax-M3 judge.