-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Converting transformer to predict time series code from Transformers = "~0.1.15" to Transformers = "~0.2.8" #196
Comments
The code seems to be modified from the old Transformers tutorial, you can compare it with the newer code in the tutorial |
Based on the tutorial the encode function in the |
Can you elaborate? The |
Assume I have source and target Array{Float64}
how can I process the above for the loss function in the tutorial as shown below
|
You can the sample in a nested- There are other things to tweak, but in general:
|
Thank you so much
and I have trained it as follows:
|
There probably won't be an "accuracy" for time series prediction. You need to check what metrics other people usually use for similar tasks. |
Hi all, Anyone to help me in converting the Use transformer to predict time series code GitHub - iwasnothing/julia_transformer_ts: Time series prediction using transformer in Julia from Transformers = “~0.1.15” to Transformers = “~0.2.8”.
The text was updated successfully, but these errors were encountered: