david-berghaus-fh commited on
Commit
d642f39
·
verified ·
1 Parent(s): adfde8c

Add FIM-PP paper checkpoints (Table 1 fine-tuned, Table 2 zero-shot and fine-tuned)

Browse files
README.md ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - time-series
4
+ - temporal-point-processes
5
+ - hawkes-processes
6
+ - scientific-ml
7
+ license: mit
8
+ ---
9
+
10
+ # FIM-PP paper checkpoints
11
+
12
+ This repository holds the checkpoints behind the real-data results of
13
+ ["In-Context Learning of Temporal Point Processes with Foundation Inference Models"](https://openreview.net/forum?id=h9HwUAODFP) (ICLR 2026),
14
+ other than the pretrained model itself, which is [`FIM4Science/fim-pp`](https://huggingface.co/FIM4Science/fim-pp).
15
+
16
+ | Subfolder | Paper result | Description |
17
+ |---|---|---|
18
+ | `table1-finetuned/{taxi,taobao,stackoverflow,amazon,retweet}` | Table 1 and appendix N = 5/10, FIM-PP (f) | FIM-PP fine-tuned on the CDiff train split of each dataset |
19
+ | `table2-zero-shot` | Table 2, FIM-PP (zs) | Epoch 38 of the pretraining run. `FIM4Science/fim-pp` is epoch 36 and was used for Table 1 |
20
+ | `table2-finetuned/{taxi,taobao}` | Table 2, FIM-PP (f) | `table2-zero-shot` fine-tuned on the EasyTPP train split of each dataset |
21
+
22
+ Each subfolder contains `config.json`, `model-checkpoint.pth` and `model.safetensors`.
23
+
24
+ ## Usage
25
+
26
+ Install [OpenFIM](https://github.com/FIM4Science/OpenFIM) and pass `<repo>/<subfolder>` as the checkpoint:
27
+
28
+ ```python
29
+ from fim.models.hawkes import FIMHawkes, FIMHawkesConfig
30
+
31
+ FIMHawkesConfig.register_for_auto_class()
32
+ model = FIMHawkes.load_model("FIM4Science/fim-pp-paper-checkpoints/table1-finetuned/taxi")
33
+ ```
34
+
35
+ The evaluation scripts, configs and a description of the evaluation protocol are in
36
+ [`scripts/hawkes/REPRODUCE_FIM_PP.md`](https://github.com/FIM4Science/OpenFIM/blob/main/scripts/hawkes/REPRODUCE_FIM_PP.md).
37
+
38
+ ## Citation
39
+
40
+ ```bibtex
41
+ @inproceedings{fim_pp,
42
+ title={In-Context Learning of Temporal Point Processes with Foundation Inference Models},
43
+ author={David Berghaus and Patrick Seifner and Kostadin Cvejoski and Cesar Ojeda and Ramses J. Sanchez},
44
+ booktitle={The Fourteenth International Conference on Learning Representations},
45
+ year={2026},
46
+ url={https://openreview.net/forum?id=h9HwUAODFP}
47
+ }
48
+ ```
table1-finetuned/amazon/config.json ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_decoder": {
3
+ "hidden_act": {
4
+ "name": "torch.nn.GELU"
5
+ },
6
+ "hidden_layers": [
7
+ 256,
8
+ 256
9
+ ],
10
+ "name": "fim.models.blocks.base.MLP"
11
+ },
12
+ "architectures": [
13
+ "FIMHawkes"
14
+ ],
15
+ "beta_decoder": {
16
+ "hidden_act": {
17
+ "name": "torch.nn.GELU"
18
+ },
19
+ "hidden_layers": [
20
+ 256,
21
+ 256
22
+ ],
23
+ "name": "fim.models.blocks.base.MLP"
24
+ },
25
+ "context_summary_encoder": {
26
+ "encoder_layer": {
27
+ "batch_first": true,
28
+ "dropout": 0.0,
29
+ "name": "torch.nn.TransformerEncoderLayer",
30
+ "nhead": 4
31
+ },
32
+ "name": "torch.nn.TransformerEncoder",
33
+ "num_layers": 2
34
+ },
35
+ "context_summary_pooling": {
36
+ "attention": {
37
+ "nhead": 4
38
+ },
39
+ "name": "fim.models.blocks.neural_operators.AttentionOperator",
40
+ "num_res_layers": 1,
41
+ "paths_block_attention": false
42
+ },
43
+ "context_ts_encoder": {
44
+ "encoder_layer": {
45
+ "batch_first": true,
46
+ "dropout": 0.0,
47
+ "name": "torch.nn.TransformerEncoderLayer",
48
+ "nhead": 4
49
+ },
50
+ "name": "torch.nn.TransformerEncoder",
51
+ "num_layers": 4
52
+ },
53
+ "decoder_ts": {
54
+ "decoder_layer": {
55
+ "batch_first": true,
56
+ "dropout": 0.0,
57
+ "name": "torch.nn.TransformerDecoderLayer",
58
+ "nhead": 4
59
+ },
60
+ "name": "torch.nn.TransformerDecoder",
61
+ "num_layers": 4
62
+ },
63
+ "delta_time_encoder": {
64
+ "name": "fim.models.blocks.positional_encodings.SineTimeEncoding",
65
+ "out_features": 256
66
+ },
67
+ "evaluation_mark_encoder": {
68
+ "name": "torch.nn.Linear"
69
+ },
70
+ "hidden_act": {
71
+ "name": "torch.nn.GELU"
72
+ },
73
+ "hidden_dim": 256,
74
+ "loss_weights": {
75
+ "alpha": 0.0,
76
+ "mu": 0.0,
77
+ "nll": 1.0,
78
+ "relative_spike": 0.0,
79
+ "smape": 0.0
80
+ },
81
+ "mark_encoder": {
82
+ "name": "torch.nn.Linear",
83
+ "out_features": 256
84
+ },
85
+ "mark_fusion_attention": null,
86
+ "max_num_marks": 22,
87
+ "mu_decoder": {
88
+ "hidden_act": {
89
+ "name": "torch.nn.GELU"
90
+ },
91
+ "hidden_layers": [
92
+ 256,
93
+ 256
94
+ ],
95
+ "name": "fim.models.blocks.base.MLP"
96
+ },
97
+ "nll": {
98
+ "method": "monte_carlo",
99
+ "num_integration_points": 200
100
+ },
101
+ "normalize_by_max_time": false,
102
+ "normalize_times": true,
103
+ "thinning": null,
104
+ "time_encoder": {
105
+ "name": "fim.models.blocks.positional_encodings.SineTimeEncoding",
106
+ "out_features": 256
107
+ },
108
+ "torch_dtype": "float32",
109
+ "transformers_version": "4.46.0",
110
+ "model_type": "fimhawkes"
111
+ }
table1-finetuned/amazon/model-checkpoint.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f8e95c548b7f5193b1189b0f40487152856aaddd9df3c4354e83e69dab43068
3
+ size 64568712
table1-finetuned/amazon/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97f5f6b5aad8ce798d576b9ed0194e879754fad4d58e30e9cf93f1a50ccaebbb
3
+ size 64527620
table1-finetuned/retweet/config.json ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_decoder": {
3
+ "hidden_act": {
4
+ "name": "torch.nn.GELU"
5
+ },
6
+ "hidden_layers": [
7
+ 256,
8
+ 256
9
+ ],
10
+ "name": "fim.models.blocks.base.MLP"
11
+ },
12
+ "architectures": [
13
+ "FIMHawkes"
14
+ ],
15
+ "beta_decoder": {
16
+ "hidden_act": {
17
+ "name": "torch.nn.GELU"
18
+ },
19
+ "hidden_layers": [
20
+ 256,
21
+ 256
22
+ ],
23
+ "name": "fim.models.blocks.base.MLP"
24
+ },
25
+ "context_summary_encoder": {
26
+ "encoder_layer": {
27
+ "batch_first": true,
28
+ "dropout": 0.0,
29
+ "name": "torch.nn.TransformerEncoderLayer",
30
+ "nhead": 4
31
+ },
32
+ "name": "torch.nn.TransformerEncoder",
33
+ "num_layers": 2
34
+ },
35
+ "context_summary_pooling": {
36
+ "attention": {
37
+ "nhead": 4
38
+ },
39
+ "name": "fim.models.blocks.neural_operators.AttentionOperator",
40
+ "num_res_layers": 1,
41
+ "paths_block_attention": false
42
+ },
43
+ "context_ts_encoder": {
44
+ "encoder_layer": {
45
+ "batch_first": true,
46
+ "dropout": 0.0,
47
+ "name": "torch.nn.TransformerEncoderLayer",
48
+ "nhead": 4
49
+ },
50
+ "name": "torch.nn.TransformerEncoder",
51
+ "num_layers": 4
52
+ },
53
+ "decoder_ts": {
54
+ "decoder_layer": {
55
+ "batch_first": true,
56
+ "dropout": 0.0,
57
+ "name": "torch.nn.TransformerDecoderLayer",
58
+ "nhead": 4
59
+ },
60
+ "name": "torch.nn.TransformerDecoder",
61
+ "num_layers": 4
62
+ },
63
+ "delta_time_encoder": {
64
+ "name": "fim.models.blocks.positional_encodings.SineTimeEncoding",
65
+ "out_features": 256
66
+ },
67
+ "evaluation_mark_encoder": {
68
+ "name": "torch.nn.Linear"
69
+ },
70
+ "hidden_act": {
71
+ "name": "torch.nn.GELU"
72
+ },
73
+ "hidden_dim": 256,
74
+ "loss_weights": {
75
+ "alpha": 0.0,
76
+ "mu": 0.0,
77
+ "nll": 1.0,
78
+ "relative_spike": 0.0,
79
+ "smape": 0.0
80
+ },
81
+ "mark_encoder": {
82
+ "name": "torch.nn.Linear",
83
+ "out_features": 256
84
+ },
85
+ "mark_fusion_attention": null,
86
+ "max_num_marks": 22,
87
+ "mu_decoder": {
88
+ "hidden_act": {
89
+ "name": "torch.nn.GELU"
90
+ },
91
+ "hidden_layers": [
92
+ 256,
93
+ 256
94
+ ],
95
+ "name": "fim.models.blocks.base.MLP"
96
+ },
97
+ "nll": {
98
+ "method": "monte_carlo",
99
+ "num_integration_points": 200
100
+ },
101
+ "normalize_by_max_time": false,
102
+ "normalize_times": true,
103
+ "thinning": null,
104
+ "time_encoder": {
105
+ "name": "fim.models.blocks.positional_encodings.SineTimeEncoding",
106
+ "out_features": 256
107
+ },
108
+ "torch_dtype": "float32",
109
+ "transformers_version": "4.46.0",
110
+ "model_type": "fimhawkes"
111
+ }
table1-finetuned/retweet/model-checkpoint.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:734df3383490e669491e848c562ce1ea740d7a15e22d1465b4e9425cbab8a7ec
3
+ size 64568712
table1-finetuned/retweet/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:130e1f1992f2672134f819e6a1f7c324fd2b3e2336b072c38339fc5190d48a7c
3
+ size 64527620
table1-finetuned/stackoverflow/config.json ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_decoder": {
3
+ "hidden_act": {
4
+ "name": "torch.nn.GELU"
5
+ },
6
+ "hidden_layers": [
7
+ 256,
8
+ 256
9
+ ],
10
+ "name": "fim.models.blocks.base.MLP"
11
+ },
12
+ "architectures": [
13
+ "FIMHawkes"
14
+ ],
15
+ "beta_decoder": {
16
+ "hidden_act": {
17
+ "name": "torch.nn.GELU"
18
+ },
19
+ "hidden_layers": [
20
+ 256,
21
+ 256
22
+ ],
23
+ "name": "fim.models.blocks.base.MLP"
24
+ },
25
+ "context_summary_encoder": {
26
+ "encoder_layer": {
27
+ "batch_first": true,
28
+ "dropout": 0.0,
29
+ "name": "torch.nn.TransformerEncoderLayer",
30
+ "nhead": 4
31
+ },
32
+ "name": "torch.nn.TransformerEncoder",
33
+ "num_layers": 2
34
+ },
35
+ "context_summary_pooling": {
36
+ "attention": {
37
+ "nhead": 4
38
+ },
39
+ "name": "fim.models.blocks.neural_operators.AttentionOperator",
40
+ "num_res_layers": 1,
41
+ "paths_block_attention": false
42
+ },
43
+ "context_ts_encoder": {
44
+ "encoder_layer": {
45
+ "batch_first": true,
46
+ "dropout": 0.0,
47
+ "name": "torch.nn.TransformerEncoderLayer",
48
+ "nhead": 4
49
+ },
50
+ "name": "torch.nn.TransformerEncoder",
51
+ "num_layers": 4
52
+ },
53
+ "decoder_ts": {
54
+ "decoder_layer": {
55
+ "batch_first": true,
56
+ "dropout": 0.0,
57
+ "name": "torch.nn.TransformerDecoderLayer",
58
+ "nhead": 4
59
+ },
60
+ "name": "torch.nn.TransformerDecoder",
61
+ "num_layers": 4
62
+ },
63
+ "delta_time_encoder": {
64
+ "name": "fim.models.blocks.positional_encodings.SineTimeEncoding",
65
+ "out_features": 256
66
+ },
67
+ "evaluation_mark_encoder": {
68
+ "name": "torch.nn.Linear"
69
+ },
70
+ "hidden_act": {
71
+ "name": "torch.nn.GELU"
72
+ },
73
+ "hidden_dim": 256,
74
+ "loss_weights": {
75
+ "alpha": 0.0,
76
+ "mu": 0.0,
77
+ "nll": 1.0,
78
+ "relative_spike": 0.0,
79
+ "smape": 0.0
80
+ },
81
+ "mark_encoder": {
82
+ "name": "torch.nn.Linear",
83
+ "out_features": 256
84
+ },
85
+ "mark_fusion_attention": null,
86
+ "max_num_marks": 22,
87
+ "mu_decoder": {
88
+ "hidden_act": {
89
+ "name": "torch.nn.GELU"
90
+ },
91
+ "hidden_layers": [
92
+ 256,
93
+ 256
94
+ ],
95
+ "name": "fim.models.blocks.base.MLP"
96
+ },
97
+ "nll": {
98
+ "method": "monte_carlo",
99
+ "num_integration_points": 200
100
+ },
101
+ "normalize_by_max_time": false,
102
+ "normalize_times": true,
103
+ "thinning": null,
104
+ "time_encoder": {
105
+ "name": "fim.models.blocks.positional_encodings.SineTimeEncoding",
106
+ "out_features": 256
107
+ },
108
+ "torch_dtype": "float32",
109
+ "transformers_version": "4.46.0",
110
+ "model_type": "fimhawkes"
111
+ }
table1-finetuned/stackoverflow/model-checkpoint.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8216557a1e4ce4093cf4e8db21c84e18ca0cf72888779e2f554954a974d435ca
3
+ size 64568712
table1-finetuned/stackoverflow/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e00dc8df34678c2ebfe43aa0bb74424999525eaf63d0100de0bbf6face530d16
3
+ size 64527620
table1-finetuned/taobao/config.json ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_decoder": {
3
+ "hidden_act": {
4
+ "name": "torch.nn.GELU"
5
+ },
6
+ "hidden_layers": [
7
+ 256,
8
+ 256
9
+ ],
10
+ "name": "fim.models.blocks.base.MLP"
11
+ },
12
+ "architectures": [
13
+ "FIMHawkes"
14
+ ],
15
+ "beta_decoder": {
16
+ "hidden_act": {
17
+ "name": "torch.nn.GELU"
18
+ },
19
+ "hidden_layers": [
20
+ 256,
21
+ 256
22
+ ],
23
+ "name": "fim.models.blocks.base.MLP"
24
+ },
25
+ "context_summary_encoder": {
26
+ "encoder_layer": {
27
+ "batch_first": true,
28
+ "dropout": 0.0,
29
+ "name": "torch.nn.TransformerEncoderLayer",
30
+ "nhead": 4
31
+ },
32
+ "name": "torch.nn.TransformerEncoder",
33
+ "num_layers": 2
34
+ },
35
+ "context_summary_pooling": {
36
+ "attention": {
37
+ "nhead": 4
38
+ },
39
+ "name": "fim.models.blocks.neural_operators.AttentionOperator",
40
+ "num_res_layers": 1,
41
+ "paths_block_attention": false
42
+ },
43
+ "context_ts_encoder": {
44
+ "encoder_layer": {
45
+ "batch_first": true,
46
+ "dropout": 0.0,
47
+ "name": "torch.nn.TransformerEncoderLayer",
48
+ "nhead": 4
49
+ },
50
+ "name": "torch.nn.TransformerEncoder",
51
+ "num_layers": 4
52
+ },
53
+ "decoder_ts": {
54
+ "decoder_layer": {
55
+ "batch_first": true,
56
+ "dropout": 0.0,
57
+ "name": "torch.nn.TransformerDecoderLayer",
58
+ "nhead": 4
59
+ },
60
+ "name": "torch.nn.TransformerDecoder",
61
+ "num_layers": 4
62
+ },
63
+ "delta_time_encoder": {
64
+ "name": "fim.models.blocks.positional_encodings.SineTimeEncoding",
65
+ "out_features": 256
66
+ },
67
+ "evaluation_mark_encoder": {
68
+ "name": "torch.nn.Linear"
69
+ },
70
+ "hidden_act": {
71
+ "name": "torch.nn.GELU"
72
+ },
73
+ "hidden_dim": 256,
74
+ "loss_weights": {
75
+ "alpha": 0.0,
76
+ "mu": 0.0,
77
+ "nll": 1.0,
78
+ "relative_spike": 0.0,
79
+ "smape": 0.0
80
+ },
81
+ "mark_encoder": {
82
+ "name": "torch.nn.Linear",
83
+ "out_features": 256
84
+ },
85
+ "mark_fusion_attention": null,
86
+ "max_num_marks": 22,
87
+ "mu_decoder": {
88
+ "hidden_act": {
89
+ "name": "torch.nn.GELU"
90
+ },
91
+ "hidden_layers": [
92
+ 256,
93
+ 256
94
+ ],
95
+ "name": "fim.models.blocks.base.MLP"
96
+ },
97
+ "nll": {
98
+ "method": "monte_carlo",
99
+ "num_integration_points": 200
100
+ },
101
+ "normalize_by_max_time": false,
102
+ "normalize_times": true,
103
+ "thinning": null,
104
+ "time_encoder": {
105
+ "name": "fim.models.blocks.positional_encodings.SineTimeEncoding",
106
+ "out_features": 256
107
+ },
108
+ "torch_dtype": "float32",
109
+ "transformers_version": "4.46.0",
110
+ "model_type": "fimhawkes"
111
+ }
table1-finetuned/taobao/model-checkpoint.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ad37ce0926ec524cfc0d9052b029e3c8001b4e71ed5c55bd3d8a75840dba4be
3
+ size 64568712
table1-finetuned/taobao/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bac709e837c74a8317083228c845a0a7770172c5b418c7690ad4a0aa0106d21
3
+ size 64527620
table1-finetuned/taxi/config.json ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_decoder": {
3
+ "hidden_act": {
4
+ "name": "torch.nn.GELU"
5
+ },
6
+ "hidden_layers": [
7
+ 256,
8
+ 256
9
+ ],
10
+ "name": "fim.models.blocks.base.MLP"
11
+ },
12
+ "architectures": [
13
+ "FIMHawkes"
14
+ ],
15
+ "beta_decoder": {
16
+ "hidden_act": {
17
+ "name": "torch.nn.GELU"
18
+ },
19
+ "hidden_layers": [
20
+ 256,
21
+ 256
22
+ ],
23
+ "name": "fim.models.blocks.base.MLP"
24
+ },
25
+ "context_summary_encoder": {
26
+ "encoder_layer": {
27
+ "batch_first": true,
28
+ "dropout": 0.0,
29
+ "name": "torch.nn.TransformerEncoderLayer",
30
+ "nhead": 4
31
+ },
32
+ "name": "torch.nn.TransformerEncoder",
33
+ "num_layers": 2
34
+ },
35
+ "context_summary_pooling": {
36
+ "attention": {
37
+ "nhead": 4
38
+ },
39
+ "name": "fim.models.blocks.neural_operators.AttentionOperator",
40
+ "num_res_layers": 1,
41
+ "paths_block_attention": false
42
+ },
43
+ "context_ts_encoder": {
44
+ "encoder_layer": {
45
+ "batch_first": true,
46
+ "dropout": 0.0,
47
+ "name": "torch.nn.TransformerEncoderLayer",
48
+ "nhead": 4
49
+ },
50
+ "name": "torch.nn.TransformerEncoder",
51
+ "num_layers": 4
52
+ },
53
+ "decoder_ts": {
54
+ "decoder_layer": {
55
+ "batch_first": true,
56
+ "dropout": 0.0,
57
+ "name": "torch.nn.TransformerDecoderLayer",
58
+ "nhead": 4
59
+ },
60
+ "name": "torch.nn.TransformerDecoder",
61
+ "num_layers": 4
62
+ },
63
+ "delta_time_encoder": {
64
+ "name": "fim.models.blocks.positional_encodings.SineTimeEncoding",
65
+ "out_features": 256
66
+ },
67
+ "evaluation_mark_encoder": {
68
+ "name": "torch.nn.Linear"
69
+ },
70
+ "hidden_act": {
71
+ "name": "torch.nn.GELU"
72
+ },
73
+ "hidden_dim": 256,
74
+ "loss_weights": {
75
+ "alpha": 0.0,
76
+ "mu": 0.0,
77
+ "nll": 1.0,
78
+ "relative_spike": 0.0,
79
+ "smape": 0.0
80
+ },
81
+ "mark_encoder": {
82
+ "name": "torch.nn.Linear",
83
+ "out_features": 256
84
+ },
85
+ "mark_fusion_attention": null,
86
+ "max_num_marks": 22,
87
+ "mu_decoder": {
88
+ "hidden_act": {
89
+ "name": "torch.nn.GELU"
90
+ },
91
+ "hidden_layers": [
92
+ 256,
93
+ 256
94
+ ],
95
+ "name": "fim.models.blocks.base.MLP"
96
+ },
97
+ "nll": {
98
+ "method": "monte_carlo",
99
+ "num_integration_points": 200
100
+ },
101
+ "normalize_by_max_time": false,
102
+ "normalize_times": true,
103
+ "thinning": null,
104
+ "time_encoder": {
105
+ "name": "fim.models.blocks.positional_encodings.SineTimeEncoding",
106
+ "out_features": 256
107
+ },
108
+ "torch_dtype": "float32",
109
+ "transformers_version": "4.46.0",
110
+ "model_type": "fimhawkes"
111
+ }
table1-finetuned/taxi/model-checkpoint.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99a293efaf8e8e871680b70e40dd5e8c7986ac01c5a5962c57cd885ee9891a4f
3
+ size 64568712
table1-finetuned/taxi/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f0d39208a7678a8146c35af5f0fd50cd8bf4c2a457df1bad5de728e1bb7bae2
3
+ size 64527620
table2-finetuned/taobao/config.json ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_decoder": {
3
+ "hidden_act": {
4
+ "name": "torch.nn.GELU"
5
+ },
6
+ "hidden_layers": [
7
+ 256,
8
+ 256
9
+ ],
10
+ "name": "fim.models.blocks.base.MLP"
11
+ },
12
+ "architectures": [
13
+ "FIMHawkes"
14
+ ],
15
+ "beta_decoder": {
16
+ "hidden_act": {
17
+ "name": "torch.nn.GELU"
18
+ },
19
+ "hidden_layers": [
20
+ 256,
21
+ 256
22
+ ],
23
+ "name": "fim.models.blocks.base.MLP"
24
+ },
25
+ "context_summary_encoder": {
26
+ "encoder_layer": {
27
+ "batch_first": true,
28
+ "dropout": 0.0,
29
+ "name": "torch.nn.TransformerEncoderLayer",
30
+ "nhead": 4
31
+ },
32
+ "name": "torch.nn.TransformerEncoder",
33
+ "num_layers": 2
34
+ },
35
+ "context_summary_pooling": {
36
+ "attention": {
37
+ "nhead": 4
38
+ },
39
+ "name": "fim.models.blocks.neural_operators.AttentionOperator",
40
+ "num_res_layers": 1,
41
+ "paths_block_attention": false
42
+ },
43
+ "context_ts_encoder": {
44
+ "encoder_layer": {
45
+ "batch_first": true,
46
+ "dropout": 0.0,
47
+ "name": "torch.nn.TransformerEncoderLayer",
48
+ "nhead": 4
49
+ },
50
+ "name": "torch.nn.TransformerEncoder",
51
+ "num_layers": 4
52
+ },
53
+ "decoder_ts": {
54
+ "decoder_layer": {
55
+ "batch_first": true,
56
+ "dropout": 0.0,
57
+ "name": "torch.nn.TransformerDecoderLayer",
58
+ "nhead": 4
59
+ },
60
+ "name": "torch.nn.TransformerDecoder",
61
+ "num_layers": 4
62
+ },
63
+ "delta_time_encoder": {
64
+ "name": "fim.models.blocks.positional_encodings.SineTimeEncoding",
65
+ "out_features": 256
66
+ },
67
+ "evaluation_mark_encoder": {
68
+ "name": "torch.nn.Linear"
69
+ },
70
+ "hidden_act": {
71
+ "name": "torch.nn.GELU"
72
+ },
73
+ "hidden_dim": 256,
74
+ "loss_weights": {
75
+ "alpha": 0.0,
76
+ "mu": 0.0,
77
+ "nll": 1.0,
78
+ "relative_spike": 0.0,
79
+ "smape": 0.0
80
+ },
81
+ "mark_encoder": {
82
+ "name": "torch.nn.Linear",
83
+ "out_features": 256
84
+ },
85
+ "mark_fusion_attention": null,
86
+ "max_num_marks": 22,
87
+ "mu_decoder": {
88
+ "hidden_act": {
89
+ "name": "torch.nn.GELU"
90
+ },
91
+ "hidden_layers": [
92
+ 256,
93
+ 256
94
+ ],
95
+ "name": "fim.models.blocks.base.MLP"
96
+ },
97
+ "nll": {
98
+ "method": "monte_carlo",
99
+ "num_integration_points": 200
100
+ },
101
+ "normalize_by_max_time": false,
102
+ "normalize_times": true,
103
+ "thinning": null,
104
+ "time_encoder": {
105
+ "name": "fim.models.blocks.positional_encodings.SineTimeEncoding",
106
+ "out_features": 256
107
+ },
108
+ "torch_dtype": "float32",
109
+ "transformers_version": "4.46.0",
110
+ "model_type": "fimhawkes"
111
+ }
table2-finetuned/taobao/model-checkpoint.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c186bb087dba38e34c3894d3e77cfbfa619d8ba770bf71616685615b6594f7d
3
+ size 64568712
table2-finetuned/taobao/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c037a077175dc739d76da6f853bf7c1755fef2f6f2525fa78bde807648bfe18
3
+ size 64527620
table2-finetuned/taxi/config.json ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_decoder": {
3
+ "hidden_act": {
4
+ "name": "torch.nn.GELU"
5
+ },
6
+ "hidden_layers": [
7
+ 256,
8
+ 256
9
+ ],
10
+ "name": "fim.models.blocks.base.MLP"
11
+ },
12
+ "architectures": [
13
+ "FIMHawkes"
14
+ ],
15
+ "beta_decoder": {
16
+ "hidden_act": {
17
+ "name": "torch.nn.GELU"
18
+ },
19
+ "hidden_layers": [
20
+ 256,
21
+ 256
22
+ ],
23
+ "name": "fim.models.blocks.base.MLP"
24
+ },
25
+ "context_summary_encoder": {
26
+ "encoder_layer": {
27
+ "batch_first": true,
28
+ "dropout": 0.0,
29
+ "name": "torch.nn.TransformerEncoderLayer",
30
+ "nhead": 4
31
+ },
32
+ "name": "torch.nn.TransformerEncoder",
33
+ "num_layers": 2
34
+ },
35
+ "context_summary_pooling": {
36
+ "attention": {
37
+ "nhead": 4
38
+ },
39
+ "name": "fim.models.blocks.neural_operators.AttentionOperator",
40
+ "num_res_layers": 1,
41
+ "paths_block_attention": false
42
+ },
43
+ "context_ts_encoder": {
44
+ "encoder_layer": {
45
+ "batch_first": true,
46
+ "dropout": 0.0,
47
+ "name": "torch.nn.TransformerEncoderLayer",
48
+ "nhead": 4
49
+ },
50
+ "name": "torch.nn.TransformerEncoder",
51
+ "num_layers": 4
52
+ },
53
+ "decoder_ts": {
54
+ "decoder_layer": {
55
+ "batch_first": true,
56
+ "dropout": 0.0,
57
+ "name": "torch.nn.TransformerDecoderLayer",
58
+ "nhead": 4
59
+ },
60
+ "name": "torch.nn.TransformerDecoder",
61
+ "num_layers": 4
62
+ },
63
+ "delta_time_encoder": {
64
+ "name": "fim.models.blocks.positional_encodings.SineTimeEncoding",
65
+ "out_features": 256
66
+ },
67
+ "evaluation_mark_encoder": {
68
+ "name": "torch.nn.Linear"
69
+ },
70
+ "hidden_act": {
71
+ "name": "torch.nn.GELU"
72
+ },
73
+ "hidden_dim": 256,
74
+ "loss_weights": {
75
+ "alpha": 0.0,
76
+ "mu": 0.0,
77
+ "nll": 1.0,
78
+ "relative_spike": 0.0,
79
+ "smape": 0.0
80
+ },
81
+ "mark_encoder": {
82
+ "name": "torch.nn.Linear",
83
+ "out_features": 256
84
+ },
85
+ "mark_fusion_attention": null,
86
+ "max_num_marks": 22,
87
+ "mu_decoder": {
88
+ "hidden_act": {
89
+ "name": "torch.nn.GELU"
90
+ },
91
+ "hidden_layers": [
92
+ 256,
93
+ 256
94
+ ],
95
+ "name": "fim.models.blocks.base.MLP"
96
+ },
97
+ "nll": {
98
+ "method": "monte_carlo",
99
+ "num_integration_points": 200
100
+ },
101
+ "normalize_by_max_time": false,
102
+ "normalize_times": true,
103
+ "thinning": null,
104
+ "time_encoder": {
105
+ "name": "fim.models.blocks.positional_encodings.SineTimeEncoding",
106
+ "out_features": 256
107
+ },
108
+ "torch_dtype": "float32",
109
+ "transformers_version": "4.46.0",
110
+ "model_type": "fimhawkes"
111
+ }
table2-finetuned/taxi/model-checkpoint.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63aa3366ec2d3ffe1b76e7948c3b6df21b0b4dfce6186e38cac04ced7b721e5f
3
+ size 64568712
table2-finetuned/taxi/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a587fcc928429dc939be8fda360c7d594fa939a70e433b28f9cd7e62c85227e
3
+ size 64527620
table2-zero-shot/config.json ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_decoder": {
3
+ "hidden_act": {
4
+ "name": "torch.nn.GELU"
5
+ },
6
+ "hidden_layers": [
7
+ 256,
8
+ 256
9
+ ],
10
+ "name": "fim.models.blocks.base.MLP"
11
+ },
12
+ "architectures": [
13
+ "FIMHawkes"
14
+ ],
15
+ "beta_decoder": {
16
+ "hidden_act": {
17
+ "name": "torch.nn.GELU"
18
+ },
19
+ "hidden_layers": [
20
+ 256,
21
+ 256
22
+ ],
23
+ "name": "fim.models.blocks.base.MLP"
24
+ },
25
+ "context_summary_encoder": {
26
+ "encoder_layer": {
27
+ "batch_first": true,
28
+ "dropout": 0.0,
29
+ "name": "torch.nn.TransformerEncoderLayer",
30
+ "nhead": 4
31
+ },
32
+ "name": "torch.nn.TransformerEncoder",
33
+ "num_layers": 2
34
+ },
35
+ "context_summary_pooling": {
36
+ "attention": {
37
+ "nhead": 4
38
+ },
39
+ "name": "fim.models.blocks.neural_operators.AttentionOperator",
40
+ "num_res_layers": 1,
41
+ "paths_block_attention": false
42
+ },
43
+ "context_ts_encoder": {
44
+ "encoder_layer": {
45
+ "batch_first": true,
46
+ "dropout": 0.0,
47
+ "name": "torch.nn.TransformerEncoderLayer",
48
+ "nhead": 4
49
+ },
50
+ "name": "torch.nn.TransformerEncoder",
51
+ "num_layers": 4
52
+ },
53
+ "decoder_ts": {
54
+ "decoder_layer": {
55
+ "batch_first": true,
56
+ "dropout": 0.0,
57
+ "name": "torch.nn.TransformerDecoderLayer",
58
+ "nhead": 4
59
+ },
60
+ "name": "torch.nn.TransformerDecoder",
61
+ "num_layers": 4
62
+ },
63
+ "delta_time_encoder": {
64
+ "name": "fim.models.blocks.positional_encodings.SineTimeEncoding",
65
+ "out_features": 256
66
+ },
67
+ "evaluation_mark_encoder": {
68
+ "name": "torch.nn.Linear"
69
+ },
70
+ "hidden_act": {
71
+ "name": "torch.nn.GELU"
72
+ },
73
+ "hidden_dim": 256,
74
+ "loss_weights": {
75
+ "alpha": 0.0,
76
+ "mu": 0.0,
77
+ "nll": 1.0,
78
+ "relative_spike": 0.0,
79
+ "smape": 0.0
80
+ },
81
+ "mark_encoder": {
82
+ "name": "torch.nn.Linear",
83
+ "out_features": 256
84
+ },
85
+ "mark_fusion_attention": null,
86
+ "max_num_marks": 22,
87
+ "mu_decoder": {
88
+ "hidden_act": {
89
+ "name": "torch.nn.GELU"
90
+ },
91
+ "hidden_layers": [
92
+ 256,
93
+ 256
94
+ ],
95
+ "name": "fim.models.blocks.base.MLP"
96
+ },
97
+ "nll": {
98
+ "method": "monte_carlo",
99
+ "num_integration_points": 200
100
+ },
101
+ "normalize_by_max_time": false,
102
+ "normalize_times": true,
103
+ "thinning": null,
104
+ "time_encoder": {
105
+ "name": "fim.models.blocks.positional_encodings.SineTimeEncoding",
106
+ "out_features": 256
107
+ },
108
+ "torch_dtype": "float32",
109
+ "transformers_version": "4.46.0",
110
+ "model_type": "fimhawkes"
111
+ }
table2-zero-shot/model-checkpoint.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8684f08c995c714dcb4d7e104450a2053da25f0dce1501ccc5c1c00cc5620736
3
+ size 64581256
table2-zero-shot/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4f033b357f790485e3f8143a1ab12ba3b227ae186b392e35769df4d32b933f2
3
+ size 64527620