Spaces:
Running
Running
| title: TIME Benchmark Leaderboard | |
| emoji: ๐ฅ | |
| colorFrom: green | |
| colorTo: indigo | |
| sdk: docker | |
| pinned: true | |
| license: apache-2.0 | |
| short_description: 'TIME: A Benchmark for Time Series Forecasting' | |
| # TIME Benchmark Leaderboard | |
| A unified benchmark for time series probabilistic forecasting with multiple granularity evaluation. | |
| ## Features | |
| - **Overall Performance**: Aggregated metrics across all datasets and horizons | |
| - **Dataset-level Analysis**: Performance breakdown by individual datasets | |
| - **Window-level Visualization**: Detailed test window analysis with prediction visualization | |
| ## Configuration | |
| ### Environment Variables | |
| The app reads data from HuggingFace Hub. Configure the following environment variables: | |
| | Variable | Description | Default | | |
| |----------|-------------|---------| | |
| | `HF_TOKEN` | HuggingFace API token (required for private datasets) | None | | |
| | `HF_REPO_ID` | Dataset repository ID | `TIME-benchmark/TIME-1.0` | | |
| | `USE_HF_HUB` | Use HF Hub (`true`) or local files (`false`) | `true` | | |
| | `HF_CACHE_DIR` | Custom cache directory for downloads | `~/.cache/huggingface` | | |
| ### For HuggingFace Space Deployment | |
| #### ๅฟซ้้จ็ฝฒ๏ผๆจ่๏ผ | |
| ```bash | |
| # 1. ๅคๅถ timebench ๆจกๅๅฐ leaderboard_app | |
| cd /home/eee/qzz/TIME | |
| cp -r src/timebench leaderboard_app/ | |
| # 2. ่ฟๅ ฅ leaderboard_app ็ฎๅฝ | |
| cd leaderboard_app | |
| # 3. ่ฟ่ก้จ็ฝฒ่ๆฌ | |
| chmod +x deploy.sh | |
| ./deploy.sh YOUR_USERNAME YOUR_SPACE_NAME | |
| ``` | |
| #### ๆๅจ้จ็ฝฒ | |
| ่ฏฆ็ปๆญฅ้ชค่ฏทๅ่ [DEPLOY.md](DEPLOY.md) | |
| **้่ฆ**: ้จ็ฝฒๅ้่ฆ๏ผ | |
| 1. ๅๅปบ HuggingFace Space: https://huggingface.co/new-space | |
| 2. ๅจ Space Settings โ Repository secrets ไธญๆทปๅ `HF_TOKEN` | |
| 3. ็กฎไฟๆฐๆฎๅทฒไธไผ ๅฐ `TIME-benchmark/TIME-1.0` Dataset | |
| ### For Local Development | |
| Set `USE_HF_HUB=false` to use local data: | |
| ```bash | |
| export USE_HF_HUB=false | |
| python app.py | |
| ``` | |
| ## Installation | |
| ```bash | |
| pip install -r requirements.txt | |
| python app.py | |
| ``` | |
| ## Data Structure | |
| The app expects the following data structure in the HuggingFace Dataset: | |
| ``` | |
| HF_REPO/ | |
| โโโ data/ | |
| โ โโโ hf_dataset/ # Time series datasets | |
| โ โโโ ECDC_COVID/ | |
| โ โโโ Australia_Solar/ | |
| โ โโโ ... | |
| โโโ output/ | |
| โ โโโ results/ # Model evaluation results | |
| โ โโโ moirai_small/ | |
| โ โโโ chronos_base/ | |
| โ โโโ ... | |
| โโโ config/ | |
| โโโ datasets.yaml # Dataset configurations | |
| ``` | |
| ## Ethical Considerations | |
| This release is for research purposes only in support of an academic paper. Our models, datasets, and code are not specifically designed or evaluated for all downstream purposes. We strongly recommend users evaluate and address potential concerns related to accuracy, safety, and fairness before deploying this model. | |