1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-06-06 05:51:17 +08:00
Files
qlib/examples/benchmarks/TFT
Linlang 3097dcc995 fix(security): use RestrictedUnpickler in load_instance (#2153)
* fix(security): enforce RestrictedUnpickler for load_instance to prevent unsafe pickle deserialization

* fix: lint error
2026-03-10 20:45:38 +08:00
..
2023-07-14 12:16:12 +08:00
2021-10-01 02:15:30 +08:00
2021-10-01 02:15:30 +08:00

Temporal Fusion Transformers Benchmark

Source

Reference: Lim, Bryan, et al. "Temporal fusion transformers for interpretable multi-horizon time series forecasting." arXiv preprint arXiv:1912.09363 (2019).

GitHub: https://github.com/google-research/google-research/tree/master/tft

Run the Workflow

Users can follow the workflow_by_code_tft.py to run the benchmark.

Notes

  1. Please be aware that this script can only support Python 3.6 - 3.7.
  2. If the CUDA version on your machine is not 10.0, please remember to run the following commands conda install anaconda cudatoolkit=10.0 and conda install cudnn on your machine.
  3. The model must run in GPU, or an error will be raised.
  4. New datasets should be registered in data_formatters, for detail please visit the source.