← 开源

proof of concept for a transformer-based time series prediction model

Model DevelopmentArchitectureDomain-specific trainingPython
增长势头
+-124 小时新增 Star-0.1%
1.45k
Star
259
Fork
+0
本周
3
贡献者
创建于 2020-02-27 · 更新于 2026-12-04 · 今日第 27854 名
主要开发者
oliverguhrCHENHUI-XXanyv
README

Transformer Time Series Prediction

This repository contains two Pytorch models for transformer-based time series prediction. Note that this is just a proof of concept and most likely not bug free nor particularly efficient.

  • transformer-singlestep.py contains a single-step prediction model
  • transformer-multistep.py contains a multi-step prediction model

This is the output of a single step prediction model that has been trained for 100 epochs on the daily minimum temperature dataset.

For any serious use case, head over to the flow-forecast package.

The model is also capable of multi-step predictions. In this case, the model predicted 200 steps based on 100 steps input. It was able to learn long term trend from the training data:

(input blue, prediction red)

排名相邻
同类项目

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载