patchfm 2.1.1__tar.gz → 2.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: patchfm
3
- Version: 2.1.1
3
+ Version: 2.2.2
4
4
  Summary: a Foundation Model for Univariate Time Series Forecasting
5
5
  Author-email: Samy-Melwan Vilhes <samy-melwan.vilhes@insa-rouen.fr>
6
6
  License: MIT License
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "patchfm"
3
- version = "2.1.1"
3
+ version = "2.2.2"
4
4
  authors = [
5
5
  { name="Samy-Melwan Vilhes", email="samy-melwan.vilhes@insa-rouen.fr" },
6
6
  ]
@@ -5,7 +5,7 @@ from dataclasses import asdict, dataclass, field
5
5
  class PatchFMConfig:
6
6
  max_seq_len: int = 1024
7
7
  patch_len: int = 32
8
- d_model: int = 1024
8
+ d_model: int = 2048
9
9
  n_heads: int = 32
10
10
  n_layers_encoder: int = 6
11
11
  quantiles: list[float] = field(default_factory=lambda: [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9])
@@ -23,7 +23,7 @@ class Forecaster(nn.Module):
23
23
  self.max_patches = self.max_seq_len // self.patch_len
24
24
 
25
25
  print("Loading base model from HuggingFace Hub...")
26
- base_model = PatchFM.from_pretrained("vilhess/PatchFM-CausalRevIN-asinh")
26
+ base_model = PatchFM.from_pretrained("vilhess/PatchFM")
27
27
  self._init_from_base(base_model)
28
28
 
29
29
  self.eval()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: patchfm
3
- Version: 2.1.1
3
+ Version: 2.2.2
4
4
  Summary: a Foundation Model for Univariate Time Series Forecasting
5
5
  Author-email: Samy-Melwan Vilhes <samy-melwan.vilhes@insa-rouen.fr>
6
6
  License: MIT License
File without changes
File without changes
File without changes
File without changes