Kevin99z commited on
Commit
3a2a4df
·
1 Parent(s): 2759f8d

Upload Pipeline

Browse files
Files changed (2) hide show
  1. config.json +21 -352
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -7,286 +7,52 @@
7
  "datahandler": null,
8
  "generator": {
9
  "_commit_hash": null,
10
- "_name_or_path": "",
11
- "add_cross_attention": false,
12
- "architectures": null,
13
- "bad_words_ids": null,
14
- "begin_suppress_tokens": null,
15
- "bos_token_id": null,
16
- "chunk_size_feed_forward": 0,
17
  "context_size": 256,
18
- "cross_attention_hidden_size": null,
19
- "decoder_start_token_id": null,
20
- "diversity_penalty": 0.0,
21
- "do_sample": false,
22
- "early_stopping": false,
23
  "embedding_path": "embeddings/glove.840B.300d.h5",
24
- "encoder_no_repeat_ngram_size": 0,
25
- "eos_token_id": null,
26
- "exponential_decay_length_penalty": null,
27
- "finetuning_task": null,
28
- "forced_bos_token_id": null,
29
- "forced_eos_token_id": null,
30
  "hidden_size": 256,
31
- "id2label": {
32
- "0": "LABEL_0",
33
- "1": "LABEL_1"
34
- },
35
- "is_decoder": false,
36
- "is_encoder_decoder": false,
37
- "label2id": {
38
- "LABEL_0": 0,
39
- "LABEL_1": 1
40
- },
41
- "length_penalty": 1.0,
42
- "max_length": 20,
43
- "min_length": 0,
44
  "moduleName": "SwitchingDecoder",
45
  "moduleType": "generator",
46
- "no_repeat_ngram_size": 0,
47
- "num_beam_groups": 1,
48
- "num_beams": 1,
49
  "num_layers": 1,
50
- "num_return_sequences": 1,
51
- "output_attentions": false,
52
- "output_hidden_states": false,
53
- "output_scores": false,
54
- "pad_token_id": null,
55
  "peephole": false,
56
- "prefix": null,
57
- "problem_type": null,
58
- "pruned_heads": {},
59
- "remove_invalid_values": false,
60
- "repetition_penalty": 1.0,
61
- "return_dict": true,
62
- "return_dict_in_generate": false,
63
- "sep_token_id": null,
64
- "suppress_tokens": null,
65
- "task_specific_params": null,
66
- "temperature": 1.0,
67
- "tf_legacy_loss": false,
68
- "tie_encoder_decoder": false,
69
- "tie_word_embeddings": true,
70
- "tokenizer_class": null,
71
- "top_k": 50,
72
- "top_p": 1.0,
73
- "torch_dtype": null,
74
- "torchscript": false,
75
- "transformers_version": null,
76
- "typical_p": 1.0,
77
- "use_bfloat16": false
78
  },
79
  "manager": {
80
  "_commit_hash": null,
81
- "_name_or_path": "",
82
- "add_cross_attention": false,
83
- "architectures": null,
84
- "autorec_params": {
85
- "f": "sigmoid",
86
- "g": "sigmoid",
87
- "layer_sizes": [
88
- 1000
89
- ]
90
- },
91
- "bad_words_ids": null,
92
- "begin_suppress_tokens": null,
93
- "bos_token_id": null,
94
- "chunk_size_feed_forward": 0,
95
- "cross_attention_hidden_size": null,
96
- "decoder_params": {
97
- "context_size": 256,
98
- "embedding_path": "embeddings/glove.840B.300d.h5",
99
- "hidden_size": 256,
100
- "num_layers": 1,
101
- "peephole": false
102
- },
103
- "decoder_start_token_id": null,
104
- "diversity_penalty": 0.0,
105
- "do_sample": false,
106
- "early_stopping": false,
107
- "encoder_no_repeat_ngram_size": 0,
108
- "eos_token_id": null,
109
- "exponential_decay_length_penalty": null,
110
- "finetuning_task": null,
111
- "forced_bos_token_id": null,
112
- "forced_eos_token_id": null,
113
- "hrnn_params": {
114
- "conv_bidrectional": false,
115
- "conversation_encoder_hidden_size": 256,
116
- "conversation_encoder_num_layers": 1,
117
- "sentence_encoder_hidden_size": 256,
118
- "sentence_encoder_model": "princeton-nlp/unsup-simcse-roberta-base",
119
- "sentence_encoder_num_layers": 1,
120
- "use_dropout": false,
121
- "use_movie_occurrences": false
122
- },
123
- "id2label": {
124
- "0": "LABEL_0",
125
- "1": "LABEL_1"
126
- },
127
- "is_decoder": false,
128
- "is_encoder_decoder": false,
129
- "label2id": {
130
- "LABEL_0": 0,
131
- "LABEL_1": 1
132
- },
133
- "language_aware_recommender": false,
134
- "latent_layer_sizes": null,
135
- "length_penalty": 1.0,
136
- "max_length": 20,
137
- "min_length": 0,
138
  "moduleName": "RedialManager",
139
  "moduleType": "manager",
140
- "no_repeat_ngram_size": 0,
141
- "num_beam_groups": 1,
142
- "num_beams": 1,
143
- "num_return_sequences": 1,
144
- "output_attentions": false,
145
- "output_hidden_states": false,
146
- "output_scores": false,
147
- "pad_token_id": null,
148
- "prefix": null,
149
- "problem_type": null,
150
- "pruned_heads": {},
151
  "recommend_new_movies": true,
152
- "remove_invalid_values": false,
153
- "repetition_penalty": 1.0,
154
- "return_dict": true,
155
- "return_dict_in_generate": false,
156
- "sentiment_analysis_params": {
157
- "hrnn_params": {
158
- "conv_bidrectional": false,
159
- "conversation_encoder_hidden_size": 512,
160
- "conversation_encoder_num_layers": 2,
161
- "sentence_encoder_hidden_size": 512,
162
- "sentence_encoder_model": "princeton-nlp/unsup-simcse-roberta-base",
163
- "sentence_encoder_num_layers": 2,
164
- "use_dropout": 0.4,
165
- "use_movie_occurrences": "word"
166
- },
167
- "multiple_items_per_example": false,
168
- "output_classes": {
169
- "i_liked": 3,
170
- "i_seen": 3,
171
- "i_suggested": 1,
172
- "r_liked": 3,
173
- "r_seen": 3,
174
- "r_suggested": 1
175
- },
176
- "return_liked_probability": false
177
- },
178
- "sep_token_id": null,
179
- "suppress_tokens": null,
180
- "task_specific_params": null,
181
- "temperature": 1.0,
182
- "tf_legacy_loss": false,
183
- "tie_encoder_decoder": false,
184
- "tie_word_embeddings": true,
185
- "tokenizer_class": null,
186
- "top_k": 50,
187
- "top_p": 1.0,
188
- "torch_dtype": null,
189
- "torchscript": false,
190
- "transformers_version": null,
191
- "typical_p": 1.0,
192
- "use_bfloat16": false
193
  },
194
  "processor": [
195
  {
196
  "_commit_hash": null,
197
- "_name_or_path": "",
198
- "add_cross_attention": false,
199
- "architectures": null,
200
- "bad_words_ids": null,
201
- "begin_suppress_tokens": null,
202
- "bos_token_id": null,
203
- "chunk_size_feed_forward": 0,
204
  "conv_bidirectional": false,
205
  "conv_bidrectional": false,
206
  "conversation_encoder_hidden_size": 256,
207
  "conversation_encoder_num_layers": 1,
208
- "cross_attention_hidden_size": null,
209
- "decoder_start_token_id": null,
210
- "diversity_penalty": 0.0,
211
- "do_sample": false,
212
- "early_stopping": false,
213
- "encoder_no_repeat_ngram_size": 0,
214
- "eos_token_id": null,
215
- "exponential_decay_length_penalty": null,
216
- "finetuning_task": null,
217
- "forced_bos_token_id": null,
218
- "forced_eos_token_id": null,
219
- "id2label": {
220
- "0": "LABEL_0",
221
- "1": "LABEL_1"
222
- },
223
- "is_decoder": false,
224
- "is_encoder_decoder": false,
225
- "label2id": {
226
- "LABEL_0": 0,
227
- "LABEL_1": 1
228
- },
229
- "length_penalty": 1.0,
230
- "max_length": 20,
231
- "min_length": 0,
232
  "moduleName": "HRNN",
233
  "moduleType": "processor",
234
- "no_repeat_ngram_size": 0,
235
- "num_beam_groups": 1,
236
- "num_beams": 1,
237
- "num_return_sequences": 1,
238
- "output_attentions": false,
239
- "output_hidden_states": false,
240
- "output_scores": false,
241
- "pad_token_id": null,
242
- "prefix": null,
243
- "problem_type": null,
244
- "pruned_heads": {},
245
- "remove_invalid_values": false,
246
- "repetition_penalty": 1.0,
247
- "return_dict": true,
248
- "return_dict_in_generate": false,
249
  "sentence_encoder_hidden_size": 256,
250
  "sentence_encoder_model": "princeton-nlp/unsup-simcse-roberta-base",
251
  "sentence_encoder_num_layers": 1,
252
- "sep_token_id": null,
253
- "suppress_tokens": null,
254
- "task_specific_params": null,
255
- "temperature": 1.0,
256
- "tf_legacy_loss": false,
257
- "tie_encoder_decoder": false,
258
- "tie_word_embeddings": true,
259
- "tokenizer_class": null,
260
- "top_k": 50,
261
- "top_p": 1.0,
262
- "torch_dtype": null,
263
- "torchscript": false,
264
  "transformers_version": null,
265
- "typical_p": 1.0,
266
- "use_bfloat16": false,
267
  "use_dropout": false,
268
  "use_movie_occurrences": false
269
  },
270
  {
271
  "_commit_hash": null,
272
- "_name_or_path": "",
273
- "add_cross_attention": false,
274
- "architectures": null,
275
- "bad_words_ids": null,
276
- "begin_suppress_tokens": null,
277
- "bos_token_id": null,
278
- "chunk_size_feed_forward": 0,
279
- "cross_attention_hidden_size": null,
280
- "decoder_start_token_id": null,
281
- "diversity_penalty": 0.0,
282
- "do_sample": false,
283
- "early_stopping": false,
284
- "encoder_no_repeat_ngram_size": 0,
285
- "eos_token_id": null,
286
- "exponential_decay_length_penalty": null,
287
- "finetuning_task": null,
288
- "forced_bos_token_id": null,
289
- "forced_eos_token_id": null,
290
  "hrnn_params": {
291
  "conv_bidrectional": false,
292
  "conversation_encoder_hidden_size": 512,
@@ -297,27 +63,9 @@
297
  "use_dropout": 0.4,
298
  "use_movie_occurrences": "word"
299
  },
300
- "id2label": {
301
- "0": "LABEL_0",
302
- "1": "LABEL_1"
303
- },
304
- "is_decoder": false,
305
- "is_encoder_decoder": false,
306
- "label2id": {
307
- "LABEL_0": 0,
308
- "LABEL_1": 1
309
- },
310
- "length_penalty": 1.0,
311
- "max_length": 20,
312
- "min_length": 0,
313
  "moduleName": "HRNNForClassification",
314
  "moduleType": "processor",
315
  "multiple_items_per_example": false,
316
- "no_repeat_ngram_size": 0,
317
- "num_beam_groups": 1,
318
- "num_beams": 1,
319
- "num_return_sequences": 1,
320
- "output_attentions": false,
321
  "output_classes": {
322
  "i_liked": 3,
323
  "i_seen": 3,
@@ -326,105 +74,26 @@
326
  "r_seen": 3,
327
  "r_suggested": 1
328
  },
329
- "output_hidden_states": false,
330
- "output_scores": false,
331
- "pad_token_id": null,
332
- "prefix": null,
333
- "problem_type": null,
334
- "pruned_heads": {},
335
- "remove_invalid_values": false,
336
- "repetition_penalty": 1.0,
337
- "return_dict": true,
338
- "return_dict_in_generate": false,
339
  "return_liked_probability": false,
340
- "sep_token_id": null,
341
- "suppress_tokens": null,
342
- "task_specific_params": null,
343
- "temperature": 1.0,
344
- "tf_legacy_loss": false,
345
- "tie_encoder_decoder": false,
346
- "tie_word_embeddings": true,
347
- "tokenizer_class": null,
348
- "top_k": 50,
349
- "top_p": 1.0,
350
- "torch_dtype": null,
351
- "torchscript": false,
352
- "transformers_version": null,
353
- "typical_p": 1.0,
354
- "use_bfloat16": false
355
  }
356
  ],
357
  "recommender": {
358
  "_commit_hash": null,
359
- "_name_or_path": "",
360
- "add_cross_attention": false,
361
- "architectures": null,
362
- "bad_words_ids": null,
363
- "begin_suppress_tokens": null,
364
- "bos_token_id": null,
365
- "chunk_size_feed_forward": 0,
366
- "cross_attention_hidden_size": null,
367
- "decoder_start_token_id": null,
368
- "diversity_penalty": 0.0,
369
- "do_sample": false,
370
- "early_stopping": false,
371
- "encoder_no_repeat_ngram_size": 0,
372
- "eos_token_id": null,
373
- "exponential_decay_length_penalty": null,
374
  "f": "sigmoid",
375
- "finetuning_task": null,
376
- "forced_bos_token_id": null,
377
- "forced_eos_token_id": null,
378
  "g": "sigmoid",
379
- "id2label": {
380
- "0": "LABEL_0",
381
- "1": "LABEL_1"
382
- },
383
- "is_decoder": false,
384
- "is_encoder_decoder": false,
385
- "label2id": {
386
- "LABEL_0": 0,
387
- "LABEL_1": 1
388
- },
389
  "layer_sizes": [
390
  1000
391
  ],
392
- "length_penalty": 1.0,
393
- "max_length": 20,
394
- "min_length": 0,
395
  "moduleName": "AutoRec",
396
  "moduleType": "recommender",
397
  "n_movies": 6924,
398
- "no_repeat_ngram_size": 0,
399
- "num_beam_groups": 1,
400
- "num_beams": 1,
401
- "num_return_sequences": 1,
402
- "output_attentions": false,
403
- "output_hidden_states": false,
404
- "output_scores": false,
405
- "pad_token_id": null,
406
- "prefix": null,
407
- "problem_type": null,
408
- "pruned_heads": {},
409
- "remove_invalid_values": false,
410
- "repetition_penalty": 1.0,
411
- "return_dict": true,
412
- "return_dict_in_generate": false,
413
- "sep_token_id": null,
414
- "suppress_tokens": null,
415
- "task_specific_params": null,
416
- "temperature": 1.0,
417
- "tf_legacy_loss": false,
418
- "tie_encoder_decoder": false,
419
- "tie_word_embeddings": true,
420
- "tokenizer_class": null,
421
- "top_k": 50,
422
- "top_p": 1.0,
423
- "torch_dtype": null,
424
- "torchscript": false,
425
- "transformers_version": null,
426
- "typical_p": 1.0,
427
- "use_bfloat16": false
428
  },
429
  "torch_dtype": "float32",
430
  "transformers_version": null
 
7
  "datahandler": null,
8
  "generator": {
9
  "_commit_hash": null,
10
+ "architectures": [
11
+ "SwitchingDecoder"
12
+ ],
 
 
 
 
13
  "context_size": 256,
 
 
 
 
 
14
  "embedding_path": "embeddings/glove.840B.300d.h5",
 
 
 
 
 
 
15
  "hidden_size": 256,
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  "moduleName": "SwitchingDecoder",
17
  "moduleType": "generator",
 
 
 
18
  "num_layers": 1,
 
 
 
 
 
19
  "peephole": false,
20
+ "torch_dtype": "float32",
21
+ "transformers_version": null
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  },
23
  "manager": {
24
  "_commit_hash": null,
25
+ "conversation_encoder_hidden_size": 256,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  "moduleName": "RedialManager",
27
  "moduleType": "manager",
 
 
 
 
 
 
 
 
 
 
 
28
  "recommend_new_movies": true,
29
+ "transformers_version": null
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  },
31
  "processor": [
32
  {
33
  "_commit_hash": null,
34
+ "architectures": [
35
+ "HRNN"
36
+ ],
 
 
 
 
37
  "conv_bidirectional": false,
38
  "conv_bidrectional": false,
39
  "conversation_encoder_hidden_size": 256,
40
  "conversation_encoder_num_layers": 1,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  "moduleName": "HRNN",
42
  "moduleType": "processor",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  "sentence_encoder_hidden_size": 256,
44
  "sentence_encoder_model": "princeton-nlp/unsup-simcse-roberta-base",
45
  "sentence_encoder_num_layers": 1,
46
+ "torch_dtype": "float32",
 
 
 
 
 
 
 
 
 
 
 
47
  "transformers_version": null,
 
 
48
  "use_dropout": false,
49
  "use_movie_occurrences": false
50
  },
51
  {
52
  "_commit_hash": null,
53
+ "architectures": [
54
+ "HRNNForClassification"
55
+ ],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  "hrnn_params": {
57
  "conv_bidrectional": false,
58
  "conversation_encoder_hidden_size": 512,
 
63
  "use_dropout": 0.4,
64
  "use_movie_occurrences": "word"
65
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  "moduleName": "HRNNForClassification",
67
  "moduleType": "processor",
68
  "multiple_items_per_example": false,
 
 
 
 
 
69
  "output_classes": {
70
  "i_liked": 3,
71
  "i_seen": 3,
 
74
  "r_seen": 3,
75
  "r_suggested": 1
76
  },
 
 
 
 
 
 
 
 
 
 
77
  "return_liked_probability": false,
78
+ "torch_dtype": "float32",
79
+ "transformers_version": null
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  }
81
  ],
82
  "recommender": {
83
  "_commit_hash": null,
84
+ "architectures": [
85
+ "AutoRec"
86
+ ],
 
 
 
 
 
 
 
 
 
 
 
 
87
  "f": "sigmoid",
 
 
 
88
  "g": "sigmoid",
 
 
 
 
 
 
 
 
 
 
89
  "layer_sizes": [
90
  1000
91
  ],
 
 
 
92
  "moduleName": "AutoRec",
93
  "moduleType": "recommender",
94
  "n_movies": 6924,
95
+ "torch_dtype": "float32",
96
+ "transformers_version": null
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  },
98
  "torch_dtype": "float32",
99
  "transformers_version": null
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2308c123bbcf6c2fb01885247fd2e4fa47709f49ccc34cc8f678fe75d1a1a784
3
- size 1147032455
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c5602678dae9a02a997d3f72a6ef4373b41c70ee87fd316a126cd60c3b6c8794
3
+ size 1147032111