sarwarmursalincuet commited on
Commit
1450280
1 Parent(s): 50b510e

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": "AIRWAY_BILL",
18
+ "1": "BILL_OF_ENTRY_EXPORT",
19
+ "2": "BILL_OF_EXCHANGE",
20
+ "3": "BILL_OF_LADING",
21
+ "4": "COMMERCIAL_INVOICE",
22
+ "5": "CUSTOMER_FORWARDING",
23
+ "6": "EXP_FORM",
24
+ "7": "FORWARDING_CARGO_RECEIPT",
25
+ "8": "TRUCK_RECEIPT"
26
+ },
27
+ "initializer_range": 0.02,
28
+ "input_size": 224,
29
+ "intermediate_size": 3072,
30
+ "label2id": {
31
+ "AIRWAY_BILL": 0,
32
+ "BILL_OF_ENTRY_EXPORT": 1,
33
+ "BILL_OF_EXCHANGE": 2,
34
+ "BILL_OF_LADING": 3,
35
+ "COMMERCIAL_INVOICE": 4,
36
+ "CUSTOMER_FORWARDING": 5,
37
+ "EXP_FORM": 6,
38
+ "FORWARDING_CARGO_RECEIPT": 7,
39
+ "TRUCK_RECEIPT": 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.27.2",
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:7d009c4d87a40974e115c14e529083a7b99bad35a5bb2a0bd8f73f9e7ceeb066
3
+ size 503772047