Load model
Browse files- .gitattributes +2 -0
- config.json +144 -0
- pytorch_model.bin +3 -0
- vocab.txt +3 -0
.gitattributes
CHANGED
@@ -6,3 +6,5 @@
|
|
6 |
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
7 |
*.ot filter=lfs diff=lfs merge=lfs -text
|
8 |
*.onnx filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
6 |
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
7 |
*.ot filter=lfs diff=lfs merge=lfs -text
|
8 |
*.onnx filter=lfs diff=lfs merge=lfs -text
|
9 |
+
pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
|
10 |
+
vocab.txt filter=lfs diff=lfs merge=lfs -text
|
config.json
ADDED
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "models/gen_title",
|
3 |
+
"architectures": [
|
4 |
+
"BottleneckEncoderDecoderModel"
|
5 |
+
],
|
6 |
+
"decoder": {
|
7 |
+
"_name_or_path": "models/rubert",
|
8 |
+
"add_cross_attention": true,
|
9 |
+
"architectures": null,
|
10 |
+
"attention_probs_dropout_prob": 0.1,
|
11 |
+
"bad_words_ids": null,
|
12 |
+
"bos_token_id": null,
|
13 |
+
"chunk_size_feed_forward": 0,
|
14 |
+
"decoder_start_token_id": null,
|
15 |
+
"directionality": "bidi",
|
16 |
+
"do_sample": false,
|
17 |
+
"early_stopping": false,
|
18 |
+
"eos_token_id": null,
|
19 |
+
"finetuning_task": null,
|
20 |
+
"gradient_checkpointing": false,
|
21 |
+
"hidden_act": "gelu",
|
22 |
+
"hidden_dropout_prob": 0.1,
|
23 |
+
"hidden_size": 768,
|
24 |
+
"id2label": {
|
25 |
+
"0": "LABEL_0",
|
26 |
+
"1": "LABEL_1"
|
27 |
+
},
|
28 |
+
"initializer_range": 0.02,
|
29 |
+
"intermediate_size": 3072,
|
30 |
+
"is_decoder": true,
|
31 |
+
"is_encoder_decoder": false,
|
32 |
+
"label2id": {
|
33 |
+
"LABEL_0": 0,
|
34 |
+
"LABEL_1": 1
|
35 |
+
},
|
36 |
+
"layer_norm_eps": 1e-12,
|
37 |
+
"length_penalty": 1.0,
|
38 |
+
"max_length": 20,
|
39 |
+
"max_position_embeddings": 512,
|
40 |
+
"min_length": 0,
|
41 |
+
"model_type": "bert",
|
42 |
+
"no_repeat_ngram_size": 0,
|
43 |
+
"num_attention_heads": 12,
|
44 |
+
"num_beams": 1,
|
45 |
+
"num_hidden_layers": 12,
|
46 |
+
"num_return_sequences": 1,
|
47 |
+
"output_attentions": false,
|
48 |
+
"output_hidden_states": false,
|
49 |
+
"pad_token_id": 0,
|
50 |
+
"pooler_fc_size": 768,
|
51 |
+
"pooler_num_attention_heads": 12,
|
52 |
+
"pooler_num_fc_layers": 3,
|
53 |
+
"pooler_size_per_head": 128,
|
54 |
+
"pooler_type": "first_token_transform",
|
55 |
+
"prefix": null,
|
56 |
+
"pruned_heads": {},
|
57 |
+
"repetition_penalty": 1.0,
|
58 |
+
"return_dict": false,
|
59 |
+
"sep_token_id": null,
|
60 |
+
"task_specific_params": null,
|
61 |
+
"temperature": 1.0,
|
62 |
+
"tie_encoder_decoder": false,
|
63 |
+
"tie_word_embeddings": true,
|
64 |
+
"tokenizer_class": null,
|
65 |
+
"top_k": 50,
|
66 |
+
"top_p": 1.0,
|
67 |
+
"torchscript": false,
|
68 |
+
"type_vocab_size": 2,
|
69 |
+
"use_bfloat16": false,
|
70 |
+
"use_cache": true,
|
71 |
+
"vocab_size": 119547,
|
72 |
+
"xla_device": null
|
73 |
+
},
|
74 |
+
"encoder": {
|
75 |
+
"_name_or_path": "models/rubert",
|
76 |
+
"add_cross_attention": false,
|
77 |
+
"architectures": null,
|
78 |
+
"attention_probs_dropout_prob": 0.1,
|
79 |
+
"bad_words_ids": null,
|
80 |
+
"bos_token_id": null,
|
81 |
+
"chunk_size_feed_forward": 0,
|
82 |
+
"decoder_start_token_id": null,
|
83 |
+
"directionality": "bidi",
|
84 |
+
"do_sample": false,
|
85 |
+
"early_stopping": false,
|
86 |
+
"eos_token_id": null,
|
87 |
+
"finetuning_task": null,
|
88 |
+
"gradient_checkpointing": false,
|
89 |
+
"hidden_act": "gelu",
|
90 |
+
"hidden_dropout_prob": 0.1,
|
91 |
+
"hidden_size": 768,
|
92 |
+
"id2label": {
|
93 |
+
"0": "LABEL_0",
|
94 |
+
"1": "LABEL_1"
|
95 |
+
},
|
96 |
+
"initializer_range": 0.02,
|
97 |
+
"intermediate_size": 3072,
|
98 |
+
"is_decoder": false,
|
99 |
+
"is_encoder_decoder": false,
|
100 |
+
"label2id": {
|
101 |
+
"LABEL_0": 0,
|
102 |
+
"LABEL_1": 1
|
103 |
+
},
|
104 |
+
"layer_norm_eps": 1e-12,
|
105 |
+
"length_penalty": 1.0,
|
106 |
+
"max_length": 20,
|
107 |
+
"max_position_embeddings": 512,
|
108 |
+
"min_length": 0,
|
109 |
+
"model_type": "bert",
|
110 |
+
"no_repeat_ngram_size": 0,
|
111 |
+
"num_attention_heads": 12,
|
112 |
+
"num_beams": 1,
|
113 |
+
"num_hidden_layers": 12,
|
114 |
+
"num_return_sequences": 1,
|
115 |
+
"output_attentions": false,
|
116 |
+
"output_hidden_states": false,
|
117 |
+
"pad_token_id": 0,
|
118 |
+
"pooler_fc_size": 768,
|
119 |
+
"pooler_num_attention_heads": 12,
|
120 |
+
"pooler_num_fc_layers": 3,
|
121 |
+
"pooler_size_per_head": 128,
|
122 |
+
"pooler_type": "first_token_transform",
|
123 |
+
"prefix": null,
|
124 |
+
"pruned_heads": {},
|
125 |
+
"repetition_penalty": 1.0,
|
126 |
+
"return_dict": false,
|
127 |
+
"sep_token_id": null,
|
128 |
+
"task_specific_params": null,
|
129 |
+
"temperature": 1.0,
|
130 |
+
"tie_encoder_decoder": false,
|
131 |
+
"tie_word_embeddings": true,
|
132 |
+
"tokenizer_class": null,
|
133 |
+
"top_k": 50,
|
134 |
+
"top_p": 1.0,
|
135 |
+
"torchscript": false,
|
136 |
+
"type_vocab_size": 2,
|
137 |
+
"use_bfloat16": false,
|
138 |
+
"use_cache": true,
|
139 |
+
"vocab_size": 119547,
|
140 |
+
"xla_device": null
|
141 |
+
},
|
142 |
+
"is_encoder_decoder": true,
|
143 |
+
"model_type": "encoder-decoder"
|
144 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:56a9d488ac327a533d3428792c060f7058241a8614167a3f41ca63fb7376bff0
|
3 |
+
size 1537011642
|
vocab.txt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:78106a3d3ae8600d1ba573b967b9bb731d2c2282957cbc6e26ab20935c3da02b
|
3 |
+
size 1649718
|