edonath commited on
Commit
a0c0e43
1 Parent(s): 55156cf

Upload LayoutLMv3ForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +54 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/layoutlmv3-base",
3
+ "architectures": [
4
+ "LayoutLMv3ForSequenceClassification"
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
+ "id2label": {
17
+ "0": "balance_sheets",
18
+ "1": "cash_flow",
19
+ "2": "income_statement",
20
+ "3": "notes",
21
+ "4": "others"
22
+ },
23
+ "initializer_range": 0.02,
24
+ "input_size": 224,
25
+ "intermediate_size": 3072,
26
+ "label2id": {
27
+ "balance_sheets": 0,
28
+ "cash_flow": 1,
29
+ "income_statement": 2,
30
+ "notes": 3,
31
+ "others": 4
32
+ },
33
+ "layer_norm_eps": 1e-05,
34
+ "max_2d_position_embeddings": 1024,
35
+ "max_position_embeddings": 514,
36
+ "max_rel_2d_pos": 256,
37
+ "max_rel_pos": 128,
38
+ "model_type": "layoutlmv3",
39
+ "num_attention_heads": 12,
40
+ "num_channels": 3,
41
+ "num_hidden_layers": 12,
42
+ "pad_token_id": 1,
43
+ "patch_size": 16,
44
+ "rel_2d_pos_bins": 64,
45
+ "rel_pos_bins": 32,
46
+ "second_input_size": 112,
47
+ "shape_size": 128,
48
+ "text_embed": true,
49
+ "torch_dtype": "float32",
50
+ "transformers_version": "4.27.2",
51
+ "type_vocab_size": 1,
52
+ "visual_embed": true,
53
+ "vocab_size": 50265
54
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:abbbe7d12aa39a362778b6a732762734cdfc1162a714f4e07144605be6c6394f
3
+ size 503761649