Add Time-MQA TSQA dataset#101
Merged
Merged
Conversation
Co-authored-by: WenjieDu <17807970+WenjieDu@users.noreply.github.com>
Co-authored-by: WenjieDu <17807970+WenjieDu@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add Time-MQA TSQA dataset to TSDB
Add Time-MQA TSQA dataset
Mar 10, 2026
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Integrates the TSQA (Time Series Question Answering) pretraining dataset from the Time-MQA paper (ACL 2025) into TSDB. The dataset is hosted on HuggingFace at
Time-MQA/TSQA.Changes
tsdb/database.py— New"tsqa"entry using anhf://URL prefix to distinguish HuggingFace-hosted datasets from direct file downloadstsdb/utils/downloading.py—download_and_extract()now short-circuits onhf://URLs (creates the local directory, defers actual download to the loader)tsdb/loading_funcs/tsqa.py— New loader usingdatasets.load_dataset("Time-MQA/TSQA", cache_dir=local_path); returns a dict keyed by split name (train,validation,test) with pandas DataFrames as values. Thedatasetspackage is an optional dependency with a clearImportErrorif absent.tsdb/loading_funcs/__init__.py/tsdb/data_processing.py— Wired upload_tsqainto the standard dispatch chaindataset_profiles/tsqa/README.md— Citation metadataUsage
This adds the
hf://convention as a lightweight extension point for future HuggingFace-hosted datasets without requiringdatasetsas a base dependency.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
huggingface.co/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)/usr/bin/curl curl -s REDACTED(dns block)/usr/bin/curl curl -v REDACTED /home/REDACTED/work/TSDB/TSDB/dataset_profiles/solar_alabama/README.md /home/REDACTED/work/TSDB/TSDB/dataset_profiles/beijing_multisite_air_quality/README.md /home/REDACTED/work/TSDB/TSDB/README.md /home/REDACTED/work/TSDB/TSDB/.github/PULL_REQUEST_TEMPLATE.md /home/REDACTED/work/TSDB/TSDB/CODE_OF_CONDUCT.md(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.