-
Notifications
You must be signed in to change notification settings - Fork 27.5k
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
[Time series] Add patchtst #27581
[Time series] Add patchtst #27581
Conversation
add distribution head and generate function to regression task. Also made add PatchTSTForForecastingOutput, PatchTSTForRegressionOutput.
add distribution head and generate function to regression task. Also made add PatchTSTForForecastingOutput, PatchTSTForRegressionOutput.
Co-authored-by: NielsRogge <[email protected]>
@amyeroberts All the tests have passed. Can you take a look and merge if there is no other requests? Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for iterating - looking good!
Mostly nits. The main thing to address is adding the generation tests by adding the mixin to the model tester.
[`~PreTrainedModel.from_pretrained`] method to load the model weights. | ||
""" | ||
|
||
PATCHTST_INPUTS_DOCSTRING = r""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This wasn't resolved
@amyeroberts We have either resolved or commented on all of your requests. Can you please review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for all the work adding this model and iterating in the PR!
Thank you @amyeroberts for your careful review which makes the codes much cleaner. |
What does this PR do?
Adds the patchtst model
re-opened from closed #25927