Upload 2 files
Browse files- config.json +40 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/layoutlmv3-base",
|
3 |
+
"architectures": [
|
4 |
+
"LayoutLMv3ForQuestionAnswering"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"coordinate_size": 128,
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"has_relative_attention_bias": true,
|
12 |
+
"has_spatial_attention_bias": true,
|
13 |
+
"hidden_act": "gelu",
|
14 |
+
"hidden_dropout_prob": 0.1,
|
15 |
+
"hidden_size": 768,
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"input_size": 224,
|
18 |
+
"intermediate_size": 3072,
|
19 |
+
"layer_norm_eps": 1e-05,
|
20 |
+
"max_2d_position_embeddings": 1024,
|
21 |
+
"max_position_embeddings": 514,
|
22 |
+
"max_rel_2d_pos": 256,
|
23 |
+
"max_rel_pos": 128,
|
24 |
+
"model_type": "layoutlmv3",
|
25 |
+
"num_attention_heads": 12,
|
26 |
+
"num_channels": 3,
|
27 |
+
"num_hidden_layers": 12,
|
28 |
+
"pad_token_id": 1,
|
29 |
+
"patch_size": 16,
|
30 |
+
"rel_2d_pos_bins": 64,
|
31 |
+
"rel_pos_bins": 32,
|
32 |
+
"second_input_size": 112,
|
33 |
+
"shape_size": 128,
|
34 |
+
"text_embed": true,
|
35 |
+
"torch_dtype": "float32",
|
36 |
+
"transformers_version": "4.26.1",
|
37 |
+
"type_vocab_size": 1,
|
38 |
+
"visual_embed": true,
|
39 |
+
"vocab_size": 250002
|
40 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c08b32e4ce7a958e13843136c7ae0e15f8f3eaa5f34c8cf23a053d99a4c167fc
|
3 |
+
size 1117347505
|