huggingface / notebooks

Notebooks using the Hugging Face libraries 🤗
Apache License 2.0
3.59k stars 1.51k forks source link

PatchTSTMixer fix #474

Open henryennis opened 8 months ago

henryennis commented 8 months ago

context_length parameter is not being set resulting in scaling issues when inferencing and training the model.

What does this PR do? The context_length param of the TimeSeriesPreprocessor is not being set correctly defaulting to a context_length of 64. The PR fixes patchtstmixer to be able to be inferenced properly when contructing a pipeline using a pretrained TimeSeriesPreprocessor.

I have a fix on my fork of notebooks.

@NielsRogge

henryennis commented 8 months ago

475

kashif commented 8 months ago

can you also add it to the blog? https://github.com/huggingface/blog/

henryennis commented 8 months ago

Sure, no problem.

henryennis commented 8 months ago

@kashif blog