CoolFace
Datasetpublic

SafeVixAI/SafeVixAI-Dataset-Hub

SafeVixAI Dataset Hub 🛡️ The Intelligence Layer for the SafeVixAI platform — IIT Madras Road Safety Hackathon 2026 This repository hosts all datasets, pre-trained models, notebooks, and reproducible data acquisition scripts that power the SafeVixAI application. It is designed to be cloned directly into Google Colab or any research environment. Main Application Repo: SafeVixAI/SafeVixAI ⚡ Quickstart (Google Colab) # Clone the entire intelligence layer !git… See the full description on the dataset page: https://huggingface.co/datasets/SafeVixAI/SafeVixAI-Dataset-Hub.

sourceHugging Faceapache-2.0updated 4mo agoView on Hugging Face
1likes147downloads
setup_kaggle.ps151 linesDownload Raw Back to data
1param(2    [string]$RepoRoot = (Split-Path -Parent $PSScriptRoot)3)4 5function Get-KaggleToken {6    param(7        [string[]]$EnvFiles8    )9 10    foreach ($envFile in $EnvFiles) {11        if (-not (Test-Path -LiteralPath $envFile)) {12            continue13        }14 15        foreach ($line in Get-Content -LiteralPath $envFile) {16            if ($line -match '^\s*(?:export\s+)?KAGGLE_API_TOKEN\s*=\s*(.+?)\s*$') {17                $token = $matches[1].Trim()18                if (19                    ($token.StartsWith('"') -and $token.EndsWith('"')) -or20                    ($token.StartsWith("'") -and $token.EndsWith("'"))21                ) {22                    $token = $token.Substring(1, $token.Length - 2)23                }24                if ($token) {25                    return $token26                }27            }28        }29    }30 31    throw "KAGGLE_API_TOKEN was not found in backend/.env or chatbot_service/.env."32}33 34$envFiles = @(35    (Join-Path $RepoRoot 'backend\.env'),36    (Join-Path $RepoRoot 'chatbot_service\.env')37)38 39$token = Get-KaggleToken -EnvFiles $envFiles40$kaggleDir = Join-Path $HOME '.kaggle'41$accessTokenPath = Join-Path $kaggleDir 'access_token'42$repoDatasetDir = Join-Path $RepoRoot 'backend\datasets\accidents\kaggle'43 44New-Item -ItemType Directory -Force -Path $kaggleDir | Out-Null45Set-Content -LiteralPath $accessTokenPath -Value $token -NoNewline46New-Item -ItemType Directory -Force -Path $repoDatasetDir | Out-Null47 48Write-Output "Configured Kaggle token file: $accessTokenPath"49Write-Output "Confirmed dataset folder: $repoDatasetDir"50Write-Output "Authentication is configured, but datasets still need an explicit download command."51