tensorlink-dev commited on
Commit
f021c6e
·
verified ·
1 Parent(s): 597e831

Upload initial model version

Browse files
Files changed (2) hide show
  1. config.json +235 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,235 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architecture": {
3
+ "layout": "encoder-decoder",
4
+ "num_encoder_layers": 2,
5
+ "num_decoder_layers": 2,
6
+ "share_weights": false
7
+ },
8
+ "attention_blocks": {
9
+ "encoder_attention": {
10
+ "attention_type": "full",
11
+ "num_heads": 4,
12
+ "dropout": 0.1,
13
+ "kwargs": {}
14
+ },
15
+ "decoder_attention": {
16
+ "attention_type": "full",
17
+ "num_heads": 4,
18
+ "dropout": 0.1,
19
+ "kwargs": {}
20
+ },
21
+ "decoder_cross_attention": {
22
+ "attention_type": "full",
23
+ "num_heads": 4,
24
+ "dropout": 0.1,
25
+ "kwargs": {}
26
+ }
27
+ },
28
+ "value_embedding_config": {
29
+ "type": "value",
30
+ "dropout": 0.1,
31
+ "embedding_dim": null,
32
+ "kwargs": {}
33
+ },
34
+ "positional_embedding_config": {
35
+ "type": "stacked_embedding",
36
+ "dropout": 0.1,
37
+ "embedding_dim": null,
38
+ "kwargs": {
39
+ "embedding_configs": [
40
+ {
41
+ "type": "sinusoidal",
42
+ "args": {
43
+ "max_seq_len": 128
44
+ }
45
+ },
46
+ {
47
+ "type": "timedelta",
48
+ "args": {
49
+ "hidden_dim": 16
50
+ }
51
+ },
52
+ {
53
+ "type": "learned_abs",
54
+ "args": {
55
+ "max_seq_len": 128
56
+ }
57
+ }
58
+ ],
59
+ "max_seq_len": 4096
60
+ }
61
+ },
62
+ "feedforward_config": {
63
+ "type": "standard",
64
+ "intermediate_size": 256,
65
+ "activation": "gelu",
66
+ "dropout": 0.1,
67
+ "kwargs": {}
68
+ },
69
+ "output_head_config": {
70
+ "type": "linear",
71
+ "output_size": 1,
72
+ "kwargs": {}
73
+ },
74
+ "encoder_blocks": [
75
+ {
76
+ "block_type": "default_encoder",
77
+ "attention_config": {
78
+ "attention_type": "full",
79
+ "num_heads": 2,
80
+ "dropout": 0.1,
81
+ "kwargs": {}
82
+ },
83
+ "ffn_config": {
84
+ "type": "standard",
85
+ "intermediate_size": 64,
86
+ "activation": "gelu",
87
+ "dropout": 0.1,
88
+ "kwargs": {}
89
+ },
90
+ "kwargs": {}
91
+ },
92
+ {
93
+ "block_type": "default_encoder",
94
+ "attention_config": {
95
+ "attention_type": "full",
96
+ "num_heads": 2,
97
+ "dropout": 0.1,
98
+ "kwargs": {}
99
+ },
100
+ "ffn_config": {
101
+ "type": "standard",
102
+ "intermediate_size": 64,
103
+ "activation": "gelu",
104
+ "dropout": 0.1,
105
+ "kwargs": {}
106
+ },
107
+ "kwargs": {}
108
+ }
109
+ ],
110
+ "decoder_blocks": [
111
+ {
112
+ "block_type": "default_decoder",
113
+ "attention_config": {
114
+ "attention_type": "full",
115
+ "num_heads": 2,
116
+ "dropout": 0.1,
117
+ "kwargs": {}
118
+ },
119
+ "ffn_config": {
120
+ "type": "standard",
121
+ "intermediate_size": 64,
122
+ "activation": "gelu",
123
+ "dropout": 0.1,
124
+ "kwargs": {}
125
+ },
126
+ "kwargs": {}
127
+ },
128
+ {
129
+ "block_type": "default_decoder",
130
+ "attention_config": {
131
+ "attention_type": "full",
132
+ "num_heads": 2,
133
+ "dropout": 0.1,
134
+ "kwargs": {}
135
+ },
136
+ "ffn_config": {
137
+ "type": "standard",
138
+ "intermediate_size": 64,
139
+ "activation": "gelu",
140
+ "dropout": 0.1,
141
+ "kwargs": {}
142
+ },
143
+ "kwargs": {}
144
+ }
145
+ ],
146
+ "norm_config": {
147
+ "norm_type": "layer",
148
+ "eps": 1e-05,
149
+ "kwargs": {}
150
+ },
151
+ "head_agg_config": {
152
+ "type": "mean",
153
+ "kwargs": {}
154
+ },
155
+ "hidden_size": 32,
156
+ "num_quantiles": 3,
157
+ "output_attentions": false,
158
+ "output_hidden_states": false,
159
+ "use_teacher_forcing": true,
160
+ "hidden_dropout_prob": 0.1,
161
+ "return_dict": true,
162
+ "torchscript": false,
163
+ "torch_dtype": null,
164
+ "use_bfloat16": false,
165
+ "tf_legacy_loss": false,
166
+ "pruned_heads": {},
167
+ "tie_word_embeddings": true,
168
+ "chunk_size_feed_forward": 0,
169
+ "is_encoder_decoder": false,
170
+ "is_decoder": false,
171
+ "cross_attention_hidden_size": null,
172
+ "add_cross_attention": false,
173
+ "tie_encoder_decoder": false,
174
+ "max_length": 20,
175
+ "min_length": 0,
176
+ "do_sample": false,
177
+ "early_stopping": false,
178
+ "num_beams": 1,
179
+ "num_beam_groups": 1,
180
+ "diversity_penalty": 0.0,
181
+ "temperature": 1.0,
182
+ "top_k": 50,
183
+ "top_p": 1.0,
184
+ "typical_p": 1.0,
185
+ "repetition_penalty": 1.0,
186
+ "length_penalty": 1.0,
187
+ "no_repeat_ngram_size": 0,
188
+ "encoder_no_repeat_ngram_size": 0,
189
+ "bad_words_ids": null,
190
+ "num_return_sequences": 1,
191
+ "output_scores": false,
192
+ "return_dict_in_generate": false,
193
+ "forced_bos_token_id": null,
194
+ "forced_eos_token_id": null,
195
+ "remove_invalid_values": false,
196
+ "exponential_decay_length_penalty": null,
197
+ "suppress_tokens": null,
198
+ "begin_suppress_tokens": null,
199
+ "architectures": null,
200
+ "finetuning_task": null,
201
+ "id2label": {
202
+ "0": "LABEL_0",
203
+ "1": "LABEL_1"
204
+ },
205
+ "label2id": {
206
+ "LABEL_0": 0,
207
+ "LABEL_1": 1
208
+ },
209
+ "tokenizer_class": null,
210
+ "prefix": null,
211
+ "bos_token_id": null,
212
+ "pad_token_id": null,
213
+ "eos_token_id": null,
214
+ "sep_token_id": null,
215
+ "decoder_start_token_id": 3.0,
216
+ "task_specific_params": null,
217
+ "problem_type": null,
218
+ "_name_or_path": "",
219
+ "_attn_implementation_autoset": false,
220
+ "transformers_version": "4.51.3",
221
+ "model_type": "transformer",
222
+ "feature_size": 1,
223
+ "context_length": 16,
224
+ "prediction_length": 4,
225
+ "quantiles": [
226
+ 0.1,
227
+ 0.5,
228
+ 0.9
229
+ ],
230
+ "output_token_lengths": 1,
231
+ "loss_type": "quantile",
232
+ "use_dynamic_features": false,
233
+ "use_static_features": false,
234
+ "autoregressive": false
235
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6e48b3d3c88b34881896a31683954e5f39b707926a3c8d9aee0b74657e18a8b
3
+ size 252476