All projects
Geo Q&A, project by Nishal K

Machine Learning · Python

Geo Q&A

Built by Nishal K (nishal21). Ask about capitals, cities, countries, timezones, and currencies in plain English. Geo Q&A checks dr5hn's Countries States Cities Database and Wikidata (Wikimedia / Wikipedia) before touching a model, and tags answers as [verified database] or [wikidata]. The included GPT-2 was fine-tuned for under $2 on a rented Vast.ai GPU—it is a fallback, not the source of truth. Run python src/main.py for reliable facts; pull nishal21/geo-capital-llm from Hugging Face or Ollama only if you want the small model on its own.

Status: Live

About Geo Q&A

Plain-English geography Q&A. Verified database and Wikidata first; fine-tuned GPT-2 only when lookup fails.

Features

  • 150k+ cities via Countries States Cities Database (dr5hn)
  • Wikidata for capitals and official languages
  • GPT-2 fallback labeled [llm fallback]
  • Published as nishal21/geo-capital-llm on Hugging Face and Ollama
  • Database-only mode with --db

Credits

Tech stack

languages
Python
models
GPT-2, geo-capital-llm
data
dr5hn/countries-states-cities-database, Wikidata (Wikimedia)
deployment
Hugging Face, Ollama, Vast.ai

Who built Geo Q&A?

Geo Q&A is an independent project by Nishal K, also known as nishal21 on GitHub. Nishal is an AMV editor, music producer, and full-stack developer from Malappuram, Kerala, India. Official portfolio: nishal.dev.