ZaNioxX commited on
Commit
e65c5ba
1 Parent(s): e1f46ae

Upload LayoutLMv3ForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +62 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "credit_note",
18
+ "1": "debit_note",
19
+ "2": "order",
20
+ "3": "proforma",
21
+ "4": "purchase_order",
22
+ "5": "receipt",
23
+ "6": "sales_order",
24
+ "7": "tax_invoice",
25
+ "8": "utility_bill"
26
+ },
27
+ "initializer_range": 0.02,
28
+ "input_size": 224,
29
+ "intermediate_size": 3072,
30
+ "label2id": {
31
+ "credit_note": 0,
32
+ "debit_note": 1,
33
+ "order": 2,
34
+ "proforma": 3,
35
+ "purchase_order": 4,
36
+ "receipt": 5,
37
+ "sales_order": 6,
38
+ "tax_invoice": 7,
39
+ "utility_bill": 8
40
+ },
41
+ "layer_norm_eps": 1e-05,
42
+ "max_2d_position_embeddings": 1024,
43
+ "max_position_embeddings": 514,
44
+ "max_rel_2d_pos": 256,
45
+ "max_rel_pos": 128,
46
+ "model_type": "layoutlmv3",
47
+ "num_attention_heads": 12,
48
+ "num_channels": 3,
49
+ "num_hidden_layers": 12,
50
+ "pad_token_id": 1,
51
+ "patch_size": 16,
52
+ "rel_2d_pos_bins": 64,
53
+ "rel_pos_bins": 32,
54
+ "second_input_size": 112,
55
+ "shape_size": 128,
56
+ "text_embed": true,
57
+ "torch_dtype": "float32",
58
+ "transformers_version": "4.32.1",
59
+ "type_vocab_size": 1,
60
+ "visual_embed": true,
61
+ "vocab_size": 50265
62
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67b795353e4f2ffac9f5a76c8aa8a270aa279ac47d6129ec4563d0c932dd7ef1
3
+ size 503772461