Initial commit
Browse files- config.json +154 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- tokenizer_config.json +1 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/drive/MyDrive/Colab Notebooks/e2e-qg-scibert",
|
3 |
+
"architectures": [
|
4 |
+
"EncoderDecoderModel"
|
5 |
+
],
|
6 |
+
"decoder": {
|
7 |
+
"_name_or_path": "allenai/scibert_scivocab_uncased",
|
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 |
+
"diversity_penalty": 0.0,
|
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_beam_groups": 1,
|
45 |
+
"num_beams": 1,
|
46 |
+
"num_hidden_layers": 12,
|
47 |
+
"num_return_sequences": 1,
|
48 |
+
"output_attentions": false,
|
49 |
+
"output_hidden_states": false,
|
50 |
+
"output_scores": false,
|
51 |
+
"pad_token_id": 0,
|
52 |
+
"position_embedding_type": "absolute",
|
53 |
+
"prefix": null,
|
54 |
+
"pruned_heads": {},
|
55 |
+
"repetition_penalty": 1.0,
|
56 |
+
"return_dict": true,
|
57 |
+
"return_dict_in_generate": false,
|
58 |
+
"sep_token_id": null,
|
59 |
+
"task_specific_params": null,
|
60 |
+
"temperature": 1.0,
|
61 |
+
"tie_encoder_decoder": false,
|
62 |
+
"tie_word_embeddings": true,
|
63 |
+
"tokenizer_class": null,
|
64 |
+
"top_k": 50,
|
65 |
+
"top_p": 1.0,
|
66 |
+
"torchscript": false,
|
67 |
+
"transformers_version": "4.2.1",
|
68 |
+
"type_vocab_size": 2,
|
69 |
+
"use_bfloat16": false,
|
70 |
+
"use_cache": true,
|
71 |
+
"vocab_size": 31090,
|
72 |
+
"xla_device": null
|
73 |
+
},
|
74 |
+
"decoder_start_token_id": 102,
|
75 |
+
"early_stopping": true,
|
76 |
+
"encoder": {
|
77 |
+
"_name_or_path": "allenai/scibert_scivocab_uncased",
|
78 |
+
"add_cross_attention": false,
|
79 |
+
"architectures": null,
|
80 |
+
"attention_probs_dropout_prob": 0.1,
|
81 |
+
"bad_words_ids": null,
|
82 |
+
"bos_token_id": null,
|
83 |
+
"chunk_size_feed_forward": 0,
|
84 |
+
"decoder_start_token_id": null,
|
85 |
+
"diversity_penalty": 0.0,
|
86 |
+
"do_sample": false,
|
87 |
+
"early_stopping": false,
|
88 |
+
"eos_token_id": null,
|
89 |
+
"finetuning_task": null,
|
90 |
+
"gradient_checkpointing": false,
|
91 |
+
"hidden_act": "gelu",
|
92 |
+
"hidden_dropout_prob": 0.1,
|
93 |
+
"hidden_size": 768,
|
94 |
+
"id2label": {
|
95 |
+
"0": "LABEL_0",
|
96 |
+
"1": "LABEL_1"
|
97 |
+
},
|
98 |
+
"initializer_range": 0.02,
|
99 |
+
"intermediate_size": 3072,
|
100 |
+
"is_decoder": false,
|
101 |
+
"is_encoder_decoder": false,
|
102 |
+
"label2id": {
|
103 |
+
"LABEL_0": 0,
|
104 |
+
"LABEL_1": 1
|
105 |
+
},
|
106 |
+
"layer_norm_eps": 1e-12,
|
107 |
+
"length_penalty": 1.0,
|
108 |
+
"max_length": 20,
|
109 |
+
"max_position_embeddings": 512,
|
110 |
+
"min_length": 0,
|
111 |
+
"model_type": "bert",
|
112 |
+
"no_repeat_ngram_size": 0,
|
113 |
+
"num_attention_heads": 12,
|
114 |
+
"num_beam_groups": 1,
|
115 |
+
"num_beams": 1,
|
116 |
+
"num_hidden_layers": 12,
|
117 |
+
"num_return_sequences": 1,
|
118 |
+
"output_attentions": false,
|
119 |
+
"output_hidden_states": false,
|
120 |
+
"output_scores": false,
|
121 |
+
"pad_token_id": 0,
|
122 |
+
"position_embedding_type": "absolute",
|
123 |
+
"prefix": null,
|
124 |
+
"pruned_heads": {},
|
125 |
+
"repetition_penalty": 1.0,
|
126 |
+
"return_dict": true,
|
127 |
+
"return_dict_in_generate": false,
|
128 |
+
"sep_token_id": null,
|
129 |
+
"task_specific_params": null,
|
130 |
+
"temperature": 1.0,
|
131 |
+
"tie_encoder_decoder": false,
|
132 |
+
"tie_word_embeddings": true,
|
133 |
+
"tokenizer_class": null,
|
134 |
+
"top_k": 50,
|
135 |
+
"top_p": 1.0,
|
136 |
+
"torchscript": false,
|
137 |
+
"transformers_version": "4.2.1",
|
138 |
+
"type_vocab_size": 2,
|
139 |
+
"use_bfloat16": false,
|
140 |
+
"use_cache": true,
|
141 |
+
"vocab_size": 31090,
|
142 |
+
"xla_device": null
|
143 |
+
},
|
144 |
+
"eos_token_id": 103,
|
145 |
+
"is_encoder_decoder": true,
|
146 |
+
"length_penalty": 0.25,
|
147 |
+
"max_length": 30,
|
148 |
+
"model_type": "encoder-decoder",
|
149 |
+
"no_repeat_ngram_size": 2,
|
150 |
+
"num_beams": 5,
|
151 |
+
"pad_token_id": 0,
|
152 |
+
"temperature": 0.95,
|
153 |
+
"vocab_size": 31090
|
154 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d6822846f33da7617d40c5023eea1ae8567ab328e187cd76a7f89dc6cee5114a
|
3 |
+
size 993171115
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "special_tokens_map_file": null, "name_or_path": "allenai/scibert_scivocab_uncased", "do_basic_tokenize": true, "never_split": null}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|