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

Upload Pipeline

Browse files
Files changed (2) hide show
  1. config.json +431 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,431 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": null,
3
+ "aggregator": null,
4
+ "architectures": [
5
+ "Pipeline"
6
+ ],
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,
293
+ "conversation_encoder_num_layers": 2,
294
+ "sentence_encoder_hidden_size": 512,
295
+ "sentence_encoder_model": "princeton-nlp/unsup-simcse-roberta-base",
296
+ "sentence_encoder_num_layers": 2,
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,
324
+ "i_suggested": 1,
325
+ "r_liked": 3,
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
431
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2308c123bbcf6c2fb01885247fd2e4fa47709f49ccc34cc8f678fe75d1a1a784
3
+ size 1147032455