zhengxuanzenwu commited on
Commit
6dff5b4
1 Parent(s): 24c5bbb

Upload model

Browse files
Files changed (2) hide show
  1. config.json +185 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,185 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": null,
3
+ "_name_or_path": "./results_cogs_conda/cogs_pipeline.model.ende_transformer.lf.cogs.glove.False.seed.42/model-last/",
4
+ "architectures": [
5
+ "EncoderDecoderModel"
6
+ ],
7
+ "decoder": {
8
+ "_name_or_path": "./model/decoder_config.json",
9
+ "add_cross_attention": true,
10
+ "architectures": [
11
+ "Bert"
12
+ ],
13
+ "attention_probs_dropout_prob": 0.1,
14
+ "bad_words_ids": null,
15
+ "begin_suppress_tokens": null,
16
+ "bos_token_id": 1,
17
+ "chunk_size_feed_forward": 0,
18
+ "classifier_dropout": null,
19
+ "cross_attention_hidden_size": null,
20
+ "decoder_start_token_id": 1,
21
+ "diversity_penalty": 0.0,
22
+ "do_sample": false,
23
+ "early_stopping": false,
24
+ "encoder_no_repeat_ngram_size": 0,
25
+ "eos_token_id": 2,
26
+ "exponential_decay_length_penalty": null,
27
+ "finetuning_task": null,
28
+ "forced_bos_token_id": null,
29
+ "forced_eos_token_id": null,
30
+ "hidden_act": "gelu",
31
+ "hidden_dropout_prob": 0.1,
32
+ "hidden_size": 300,
33
+ "id2label": {
34
+ "0": "LABEL_0",
35
+ "1": "LABEL_1"
36
+ },
37
+ "initializer_range": 0.02,
38
+ "intermediate_size": 512,
39
+ "is_decoder": true,
40
+ "is_encoder_decoder": false,
41
+ "label2id": {
42
+ "LABEL_0": 0,
43
+ "LABEL_1": 1
44
+ },
45
+ "layer_norm_eps": 1e-12,
46
+ "length_penalty": 1.0,
47
+ "mask_token_id": 4,
48
+ "max_length": 20,
49
+ "max_position_embeddings": 512,
50
+ "min_length": 0,
51
+ "model_type": "bert",
52
+ "no_repeat_ngram_size": 0,
53
+ "num_attention_heads": 4,
54
+ "num_beam_groups": 1,
55
+ "num_beams": 1,
56
+ "num_hidden_layers": 2,
57
+ "num_return_sequences": 1,
58
+ "output_attentions": false,
59
+ "output_hidden_states": false,
60
+ "output_scores": false,
61
+ "pad_token_id": 0,
62
+ "position_embedding_init": "random",
63
+ "position_embedding_type": "absolute",
64
+ "prefix": null,
65
+ "problem_type": null,
66
+ "pruned_heads": {},
67
+ "remove_invalid_values": false,
68
+ "repetition_penalty": 1.0,
69
+ "return_dict": true,
70
+ "return_dict_in_generate": false,
71
+ "sep_token_id": null,
72
+ "suppress_tokens": null,
73
+ "task_specific_params": null,
74
+ "temperature": 1.0,
75
+ "tf_legacy_loss": false,
76
+ "tie_encoder_decoder": false,
77
+ "tie_word_embeddings": true,
78
+ "tokenizer_class": null,
79
+ "top_k": 50,
80
+ "top_p": 1.0,
81
+ "torch_dtype": null,
82
+ "torchscript": false,
83
+ "transformers_version": "4.24.0",
84
+ "type_vocab_size": 2,
85
+ "typical_p": 1.0,
86
+ "unk_token_id": 3,
87
+ "use_bfloat16": false,
88
+ "use_cache": true,
89
+ "vocab_size": 729
90
+ },
91
+ "decoder_start_token_id": 1,
92
+ "encoder": {
93
+ "_name_or_path": "./model/encoder_config.json",
94
+ "add_cross_attention": false,
95
+ "architectures": [
96
+ "Bert"
97
+ ],
98
+ "attention_probs_dropout_prob": 0.1,
99
+ "bad_words_ids": null,
100
+ "begin_suppress_tokens": null,
101
+ "bos_token_id": 1,
102
+ "chunk_size_feed_forward": 0,
103
+ "classifier_dropout": null,
104
+ "cls_token_id": 5,
105
+ "cross_attention_hidden_size": null,
106
+ "decoder_start_token_id": null,
107
+ "diversity_penalty": 0.0,
108
+ "do_sample": false,
109
+ "early_stopping": false,
110
+ "encoder_no_repeat_ngram_size": 0,
111
+ "eos_token_id": 2,
112
+ "exponential_decay_length_penalty": null,
113
+ "finetuning_task": null,
114
+ "forced_bos_token_id": null,
115
+ "forced_eos_token_id": null,
116
+ "hidden_act": "gelu",
117
+ "hidden_dropout_prob": 0.1,
118
+ "hidden_size": 300,
119
+ "id2label": {
120
+ "0": "LABEL_0",
121
+ "1": "LABEL_1"
122
+ },
123
+ "initializer_range": 0.02,
124
+ "intermediate_size": 512,
125
+ "is_decoder": false,
126
+ "is_encoder_decoder": false,
127
+ "label2id": {
128
+ "LABEL_0": 0,
129
+ "LABEL_1": 1
130
+ },
131
+ "layer_norm_eps": 1e-12,
132
+ "length_penalty": 1.0,
133
+ "mask_token_id": 4,
134
+ "max_length": 20,
135
+ "max_position_embeddings": 512,
136
+ "min_length": 0,
137
+ "model_type": "bert",
138
+ "no_repeat_ngram_size": 0,
139
+ "nsp_token_id": 7,
140
+ "num_attention_heads": 4,
141
+ "num_beam_groups": 1,
142
+ "num_beams": 1,
143
+ "num_hidden_layers": 2,
144
+ "num_return_sequences": 1,
145
+ "output_attentions": false,
146
+ "output_hidden_states": false,
147
+ "output_scores": false,
148
+ "pad_token_id": 0,
149
+ "position_embedding_init": "random",
150
+ "position_embedding_type": "absolute",
151
+ "prefix": null,
152
+ "problem_type": null,
153
+ "pruned_heads": {},
154
+ "remove_invalid_values": false,
155
+ "repetition_penalty": 1.0,
156
+ "return_dict": true,
157
+ "return_dict_in_generate": false,
158
+ "sep_token_id": null,
159
+ "sum_token_id": 6,
160
+ "suppress_tokens": null,
161
+ "task_specific_params": null,
162
+ "temperature": 1.0,
163
+ "tf_legacy_loss": false,
164
+ "tie_encoder_decoder": false,
165
+ "tie_word_embeddings": true,
166
+ "tokenizer_class": null,
167
+ "top_k": 50,
168
+ "top_p": 1.0,
169
+ "torch_dtype": null,
170
+ "torchscript": false,
171
+ "transformers_version": "4.24.0",
172
+ "type_vocab_size": 2,
173
+ "typical_p": 1.0,
174
+ "unk_token_id": 3,
175
+ "use_bfloat16": false,
176
+ "use_cache": true,
177
+ "vocab_size": 762
178
+ },
179
+ "eos_token_id": 2,
180
+ "is_encoder_decoder": true,
181
+ "model_type": "encoder-decoder",
182
+ "pad_token_id": 0,
183
+ "torch_dtype": "float32",
184
+ "transformers_version": null
185
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:388697b1f6f2a6927b1e8fc6f115b8bf71beca0d3f5288035c91bb8dd053bdbc
3
+ size 17417321