Upload LayoutReaderForSeq2SeqDecoding
Browse files- config.json +11 -0
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -3,20 +3,31 @@
|
|
3 |
"LayoutReaderForSeq2SeqDecoding"
|
4 |
],
|
5 |
"attention_probs_dropout_prob": 0.1,
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
"hidden_act": "gelu",
|
7 |
"hidden_dropout_prob": 0.1,
|
8 |
"hidden_size": 768,
|
9 |
"initializer_range": 0.02,
|
10 |
"intermediate_size": 3072,
|
11 |
"layer_norm_eps": 1e-12,
|
|
|
|
|
12 |
"max_2d_position_embeddings": 1024,
|
13 |
"max_position_embeddings": 1024,
|
14 |
"max_source_length": 513,
|
15 |
"model_type": "layoutreader",
|
|
|
16 |
"num_attention_heads": 12,
|
17 |
"num_hidden_layers": 12,
|
18 |
"pad_token_id": 0,
|
|
|
19 |
"position_embedding_type": "absolute",
|
|
|
20 |
"torch_dtype": "float32",
|
21 |
"transformers_version": "4.27.0.dev0",
|
22 |
"type_vocab_size": 2,
|
|
|
3 |
"LayoutReaderForSeq2SeqDecoding"
|
4 |
],
|
5 |
"attention_probs_dropout_prob": 0.1,
|
6 |
+
"beam_size": 1,
|
7 |
+
"eos_id": 102,
|
8 |
+
"forbid_duplicate_ngrams": true,
|
9 |
+
"forbid_ignore_set": [
|
10 |
+
1012
|
11 |
+
],
|
12 |
"hidden_act": "gelu",
|
13 |
"hidden_dropout_prob": 0.1,
|
14 |
"hidden_size": 768,
|
15 |
"initializer_range": 0.02,
|
16 |
"intermediate_size": 3072,
|
17 |
"layer_norm_eps": 1e-12,
|
18 |
+
"length_penalty": 0,
|
19 |
+
"mask_word_id": 103,
|
20 |
"max_2d_position_embeddings": 1024,
|
21 |
"max_position_embeddings": 1024,
|
22 |
"max_source_length": 513,
|
23 |
"model_type": "layoutreader",
|
24 |
+
"ngram_size": 3,
|
25 |
"num_attention_heads": 12,
|
26 |
"num_hidden_layers": 12,
|
27 |
"pad_token_id": 0,
|
28 |
+
"pos_shift": false,
|
29 |
"position_embedding_type": "absolute",
|
30 |
+
"sos_id": 102,
|
31 |
"torch_dtype": "float32",
|
32 |
"transformers_version": "4.27.0.dev0",
|
33 |
"type_vocab_size": 2,
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3bd894fc3f5cfd22cb524ef6fa6dcba75cb4ef743b2e5ef630781a99c01b9dc7
|
3 |
+
size 452161733
|