Datasets:
The dataset could not be loaded because the splits use different data file formats, which is not supported. Read more about the splits configuration. Click for more details.
Error code: FileFormatMismatchBetweenSplitsError
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
SafeVixAI Dataset Hub
The Intelligence Layer for the SafeVixAI platform β IIT Madras Road Safety Hackathon 2026
This repository hosts the curated datasets, pre-trained ONNX exports, reproducible data pipelines, and Google Colab notebooks powering SafeVixAI across 11,098 repository files (~4.45 GB uncompressed).
- Main Application Repo: SafeVixAI/SafeVixAI (GitHub)
- Standalone Model Cards:
- SafeVixAI/pothole-detector-yolov8n (
pothole.pt+pothole.onnxroad damage detector) - SafeVixAI/road-risk-scorer-onnx (
risk_model.onnxsegment risk scorer)
- SafeVixAI/pothole-detector-yolov8n (
- Interactive Demo Space: SafeVixAI/safevixai-road-safety-demo
Quickstart (Google Colab / Python)
# Clone the full dataset hub
!git clone https://huggingface.co/datasets/SafeVixAI/SafeVixAI-Dataset-Hub /content/data
# Symlink chatbot knowledge assets into the app workspace
import os
os.makedirs("/content/SafeVixAI/chatbot_service", exist_ok=True)
!ln -sfn /content/data/data/chatbot_service/data /content/SafeVixAI/chatbot_service/data
Or download individual files selectively via huggingface_hub:
from huggingface_hub import hf_hub_download
blackspots = hf_hub_download(
repo_id="SafeVixAI/SafeVixAI-Dataset-Hub",
filename="data/frontend/offline-data/blackspot_seed.csv",
repo_type="dataset",
)
Repository Structure (11,098 Files Β· 4.45 GB)
SafeVixAI-Dataset-Hub/
βββ README.md, LICENSE, requirements.txt
βββ notebooks/ β 5 reproducible Colab training/processing notebooks + README.md
βββ data/ β 11,000 intelligence & dataset files (~4.44 GB)
β βββ backend/
β β βββ data/civic_intel/ β Civic infrastructure, OSM road segments & boundary metadata
β β βββ datasets/ β AccidentsBig.csv, india_road_accident_coords.csv, city road CSVs
β βββ chatbot_service/ β 10,511 files: pothole_training, PMGSY roads, legal PDFs, ChromaDB, QA pairs
β βββ frontend/
β βββ offline-data/ β PWA bundles, blackspots & 11 Indian language translation JSONs
β βββ public/
β βββ models/ β Edge ONNX exports (pothole.onnx, risk_model.onnx)
β βββ offline-data/ β Static PWA offline bundles
βββ scripts/ β 88 reproducible data, backend & QA validation scripts
βββ backend/
β βββ app/ β DB seeding, RLS audit, vectorstore & offline bundle scripts
β βββ data/ β Road source manifests, PMGSY sampler & MVA 2019 violation seeders
βββ chatbot_service/
β βββ app/ β Emergency service seeding helpers
β βββ data/ β Retrying Overpass GIS fetchers (hospitals, police, ambulance, fire)
βββ scripts/
βββ app/, data/, docs/ β Master data bootstrapper, MoRTH PDF extractors & verification scripts
βββ chatbot_service/data/ β Reference Motor Vehicles Act & WHO Trauma Care PDFs
Data Contents
| Category | Key Paths | Scale | Primary Sources |
|---|---|---|---|
| Pothole Vision Training | data/chatbot_service/pothole_training/ |
9,928 files (~1.65 GB) | Roboflow Pothole v3 + Kaggle RDD2022 |
| Road Infrastructure | data/chatbot_service/data/roads/ (pmgsy_roads.geojson, pmgsy-geosadak-master.zip) |
~1.98 GB | PMGSY GeoSadak / NHAI |
| Legal & RAG Corpus | data/chatbot_service/legal/, scripts/scripts/chatbot_service/data/legal/, qa_pairs/, chroma_db/ |
~483 MB | Motor Vehicles Act 1988 & Amendment 2019, MoRTH, WHO Trauma Care |
| Accident & Blackspots | data/backend/datasets/, data/chatbot_service/accidents/, data/frontend/offline-data/ |
~256 MB | MoRTH / Kaggle India Road Accidents |
| Emergency Services GIS | data/chatbot_service/hospitals/, emergency_services/, emergency/ |
~42 MB | OpenStreetMap Overpass API, NHP / NIN |
| PWA Multilingual Bundles | data/frontend/offline-data/translations/*.json (11 languages: bn, en, gu, hi, kn, ml, mr, pa, ta, te, ur) |
~26 MB | SafeVixAI PWA Localization |
| Edge ONNX Exports | data/frontend/public/models/pothole.onnx, risk_model.onnx |
~12.3 MB | Exported from SafeVixAI Colab pipelines |
Reproducible Data Pipelines (scripts/)
# 1. Setup Kaggle auth (one-time)
pwsh scripts/scripts/data/setup_kaggle.ps1
# 2. Fetch emergency service GIS data (with retries + backoff)
python scripts/chatbot_service/data/fetch_hospitals.py
python scripts/chatbot_service/data/fetch_police.py
python scripts/chatbot_service/data/fetch_ambulance.py
python scripts/chatbot_service/data/fetch_blood_banks.py
python scripts/chatbot_service/data/fetch_fire.py
# 3. Download legal PDFs & extract MoRTH tables
python scripts/scripts/data/download_legal_pdfs.py
python scripts/scripts/data/extract_morth2022_tables.py
# 4. Verify dataset integrity
python scripts/scripts/data/verify_data.py
Research Notebooks (notebooks/)
Recommended run order: 1 β 2 β 3 β 4 β 5
License & Attribution
Licensed under Apache 2.0 β see LICENSE.
Third-party upstream data incorporates OpenStreetMap (ODbL), MoRTH / Government of India Open Data, PMGSY GeoSadak, National Health Portal, WHO Trauma Care Guidelines, and Kaggle / Roboflow road damage benchmarks under their respective upstream terms.
- Downloads last month
- 2,742