Bilgee commited on
Commit
cbfcf4c
·
1 Parent(s): 419dddd

Upload LayoutLMv3ForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +82 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "bank_confirmation",
18
+ "1": "company_intro",
19
+ "2": "company_registration",
20
+ "3": "content",
21
+ "4": "court_archives",
22
+ "5": "court_confirmation",
23
+ "6": "financial_docs",
24
+ "7": "front_page",
25
+ "8": "id",
26
+ "9": "nuat",
27
+ "10": "price_schedule",
28
+ "11": "pricing_quote",
29
+ "12": "provider_schedule",
30
+ "13": "social_insurance",
31
+ "14": "special_permits",
32
+ "15": "tax_payment",
33
+ "16": "technical_comparison",
34
+ "17": "tender_confirmation",
35
+ "18": "tender_creds"
36
+ },
37
+ "initializer_range": 0.02,
38
+ "input_size": 224,
39
+ "intermediate_size": 3072,
40
+ "label2id": {
41
+ "bank_confirmation": 0,
42
+ "company_intro": 1,
43
+ "company_registration": 2,
44
+ "content": 3,
45
+ "court_archives": 4,
46
+ "court_confirmation": 5,
47
+ "financial_docs": 6,
48
+ "front_page": 7,
49
+ "id": 8,
50
+ "nuat": 9,
51
+ "price_schedule": 10,
52
+ "pricing_quote": 11,
53
+ "provider_schedule": 12,
54
+ "social_insurance": 13,
55
+ "special_permits": 14,
56
+ "tax_payment": 15,
57
+ "technical_comparison": 16,
58
+ "tender_confirmation": 17,
59
+ "tender_creds": 18
60
+ },
61
+ "layer_norm_eps": 1e-05,
62
+ "max_2d_position_embeddings": 1024,
63
+ "max_position_embeddings": 514,
64
+ "max_rel_2d_pos": 256,
65
+ "max_rel_pos": 128,
66
+ "model_type": "layoutlmv3",
67
+ "num_attention_heads": 12,
68
+ "num_channels": 3,
69
+ "num_hidden_layers": 12,
70
+ "pad_token_id": 1,
71
+ "patch_size": 16,
72
+ "rel_2d_pos_bins": 64,
73
+ "rel_pos_bins": 32,
74
+ "second_input_size": 112,
75
+ "shape_size": 128,
76
+ "text_embed": true,
77
+ "torch_dtype": "float32",
78
+ "transformers_version": "4.27.4",
79
+ "type_vocab_size": 1,
80
+ "visual_embed": true,
81
+ "vocab_size": 50265
82
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e5d0dacd9236ba64a1699f482a03d5c190efc99423e639cd8d0d91acc90a07d
3
+ size 503802831