forked from SalesforceAIResearch/uni2ts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
68 changed files
with
536 additions
and
324 deletions.
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
cli/conf/lsf-setup/lsf/finetune/model/moirai_1.0_R_small.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# load a pretrained checkpoint from huggingface hub | ||
_target_: uni2ts.model.lsf_moirai.MoiraiFinetune | ||
module: | ||
_target_: uni2ts.model.lsf_moirai.MoiraiModule.from_pretrained | ||
pretrained_model_name_or_path: Salesforce/moirai-1.0-R-small | ||
module_kwargs: | ||
_target_: builtins.dict | ||
distr_output: | ||
_target_: uni2ts.distribution.MixtureOutput | ||
components: | ||
- _target_: uni2ts.distribution.StudentTOutput | ||
- _target_: uni2ts.distribution.NormalFixedScaleOutput | ||
- _target_: uni2ts.distribution.NegativeBinomialOutput | ||
- _target_: uni2ts.distribution.LogNormalOutput | ||
d_model: 384 | ||
num_layers: 6 | ||
patch_sizes: ${as_tuple:[8, 16, 32, 64, 128]} | ||
max_seq_len: 512 | ||
attn_dropout_p: 0.0 | ||
dropout_p: 0.0 | ||
scaling: true | ||
min_patches: 2 | ||
min_mask_ratio: 0.15 | ||
max_mask_ratio: 0.5 | ||
max_dim: 128 | ||
loss_func: | ||
_target_: uni2ts.loss.packed.PackedNLLLoss | ||
val_metric: | ||
- _target_: uni2ts.loss.packed.PackedMSELoss | ||
- _target_: uni2ts.loss.packed.PackedNRMSELoss | ||
normalize: absolute_target_squared | ||
lr: 5e-7 # On ETT dataset, using 1e-6/5e-7 converge within 1-2 epochs. 1e-7 converge in tens of epochs | ||
weight_decay: 1e-1 | ||
beta1: 0.9 | ||
beta2: 0.98 | ||
num_training_steps: null | ||
num_warmup_steps: 0 | ||
patch_size: null | ||
context_length: null | ||
prediction_length: null | ||
finetune_pattern: full |
8 changes: 8 additions & 0 deletions
8
cli/conf/lsf-setup/multi_scale/eval/model/moirai_1.0_R_small.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
_target_: uni2ts.model.multi_scale_moirai.MoiraiForecast | ||
module: | ||
_target_: uni2ts.model.multi_scale_moirai.MoiraiModule.from_pretrained | ||
pretrained_model_name_or_path: Salesforce/moirai-1.0-R-small | ||
num_samples: 100 | ||
patch_size: ??? | ||
context_length: ??? | ||
num_new_scales: 2 |
43 changes: 43 additions & 0 deletions
43
cli/conf/lsf-setup/multi_scale/finetune/model/moirai_1.0_R_small.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# load a pretrained checkpoint from huggingface hub | ||
_target_: uni2ts.model.multi_scale_moirai.MoiraiFinetune | ||
module: | ||
_target_: uni2ts.model.multi_scale_moirai.MoiraiModule.from_pretrained | ||
pretrained_model_name_or_path: Salesforce/moirai-1.0-R-small | ||
module_kwargs: | ||
_target_: builtins.dict | ||
distr_output: | ||
_target_: uni2ts.distribution.MixtureOutput | ||
components: | ||
- _target_: uni2ts.distribution.StudentTOutput | ||
- _target_: uni2ts.distribution.NormalFixedScaleOutput | ||
- _target_: uni2ts.distribution.NegativeBinomialOutput | ||
- _target_: uni2ts.distribution.LogNormalOutput | ||
d_model: 384 | ||
num_layers: 6 | ||
patch_sizes: ${as_tuple:[8, 16, 32, 64, 128]} | ||
max_seq_len: 512 | ||
attn_dropout_p: 0.0 | ||
dropout_p: 0.0 | ||
scaling: true | ||
min_patches: 2 | ||
min_mask_ratio: 0.15 | ||
max_mask_ratio: 0.5 | ||
max_dim: 128 | ||
loss_func: | ||
_target_: uni2ts.loss.packed.PackedNLLLoss | ||
val_metric: | ||
- _target_: uni2ts.loss.packed.PackedMSELoss | ||
- _target_: uni2ts.loss.packed.PackedNRMSELoss | ||
normalize: absolute_target_squared | ||
lr: 5e-7 # On ETT dataset, using 1e-6/5e-7 converge within 1-2 epochs. 1e-7 converge in tens of epochs | ||
weight_decay: 1e-1 | ||
beta1: 0.9 | ||
beta2: 0.98 | ||
num_training_steps: null | ||
num_warmup_steps: 0 | ||
patch_size: null | ||
context_length: null | ||
prediction_length: null | ||
finetune_pattern: full | ||
num_new_scales: 3 | ||
ds_factor: 2 |
41 changes: 41 additions & 0 deletions
41
cli/conf/pf-setup/pf/finetune/model/moirai_1.0_R_small.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# load a pretrained checkpoint from huggingface hub | ||
_target_: uni2ts.model.lsf_moirai.MoiraiFinetune | ||
module: | ||
_target_: uni2ts.model.lsf_moirai.MoiraiModule.from_pretrained | ||
pretrained_model_name_or_path: Salesforce/moirai-1.0-R-small | ||
module_kwargs: | ||
_target_: builtins.dict | ||
distr_output: | ||
_target_: uni2ts.distribution.MixtureOutput | ||
components: | ||
- _target_: uni2ts.distribution.StudentTOutput | ||
- _target_: uni2ts.distribution.NormalFixedScaleOutput | ||
- _target_: uni2ts.distribution.NegativeBinomialOutput | ||
- _target_: uni2ts.distribution.LogNormalOutput | ||
d_model: 384 | ||
num_layers: 6 | ||
patch_sizes: ${as_tuple:[8, 16, 32, 64, 128]} | ||
max_seq_len: 512 | ||
attn_dropout_p: 0.0 | ||
dropout_p: 0.0 | ||
scaling: true | ||
min_patches: 2 | ||
min_mask_ratio: 0.15 | ||
max_mask_ratio: 0.5 | ||
max_dim: 128 | ||
loss_func: | ||
_target_: uni2ts.loss.packed.PackedNLLLoss | ||
val_metric: | ||
- _target_: uni2ts.loss.packed.PackedMSELoss | ||
- _target_: uni2ts.loss.packed.PackedNRMSELoss | ||
normalize: absolute_target_squared | ||
lr: 5e-7 | ||
weight_decay: 1e-1 | ||
beta1: 0.9 | ||
beta2: 0.98 | ||
num_training_steps: null | ||
num_warmup_steps: 0 | ||
patch_size: null | ||
context_length: null | ||
prediction_length: null | ||
finetune_pattern: full |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.