config
Browse files- config.json +9 -5
config.json
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
-
"
|
4 |
],
|
5 |
"attention_probs_dropout_prob": 0.1,
|
6 |
"bos_token_id": 0,
|
@@ -11,15 +12,18 @@
|
|
11 |
"hidden_size": 1024,
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 4096,
|
14 |
-
"layer_norm_eps": 1e-
|
15 |
-
"
|
|
|
16 |
"model_type": "roberta",
|
17 |
"num_attention_heads": 16,
|
18 |
"num_hidden_layers": 24,
|
|
|
19 |
"pad_token_id": 1,
|
20 |
"position_embedding_type": "absolute",
|
|
|
21 |
"transformers_version": "4.23.1",
|
22 |
-
"type_vocab_size":
|
23 |
"use_cache": true,
|
24 |
-
"vocab_size":
|
25 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "microsoft/layoutlm-large-uncased",
|
3 |
"architectures": [
|
4 |
+
"LayoutLMForQuestionAnswering"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
"bos_token_id": 0,
|
|
|
12 |
"hidden_size": 1024,
|
13 |
"initializer_range": 0.02,
|
14 |
"intermediate_size": 4096,
|
15 |
+
"layer_norm_eps": 1e-12,
|
16 |
+
"max_2d_position_embeddings": 1024,
|
17 |
+
"max_position_embeddings": 512,
|
18 |
"model_type": "roberta",
|
19 |
"num_attention_heads": 16,
|
20 |
"num_hidden_layers": 24,
|
21 |
+
"output_past": true,
|
22 |
"pad_token_id": 1,
|
23 |
"position_embedding_type": "absolute",
|
24 |
+
"torch_dtype": "float32",
|
25 |
"transformers_version": "4.23.1",
|
26 |
+
"type_vocab_size": 2,
|
27 |
"use_cache": true,
|
28 |
+
"vocab_size": 30522
|
29 |
}
|