arunreddy commited on
Commit
3b1785a
1 Parent(s): 2cfc66a

Upload LayoutLMv3ForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +66 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/layoutlmv3-base",
3
+ "architectures": [
4
+ "LayoutLMv3ForTokenClassification"
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": "O",
18
+ "1": "B-DOB",
19
+ "2": "B-Father's_Name",
20
+ "3": "B-Name",
21
+ "4": "B-PAN",
22
+ "5": "B-Signature",
23
+ "6": "I-DOB",
24
+ "7": "I-Father's_Name",
25
+ "8": "I-Name",
26
+ "9": "I-PAN",
27
+ "10": "I-Signature"
28
+ },
29
+ "initializer_range": 0.02,
30
+ "input_size": 224,
31
+ "intermediate_size": 3072,
32
+ "label2id": {
33
+ "B-DOB": 1,
34
+ "B-Father's_Name": 2,
35
+ "B-Name": 3,
36
+ "B-PAN": 4,
37
+ "B-Signature": 5,
38
+ "I-DOB": 6,
39
+ "I-Father's_Name": 7,
40
+ "I-Name": 8,
41
+ "I-PAN": 9,
42
+ "I-Signature": 10,
43
+ "O": 0
44
+ },
45
+ "layer_norm_eps": 1e-05,
46
+ "max_2d_position_embeddings": 1024,
47
+ "max_position_embeddings": 514,
48
+ "max_rel_2d_pos": 256,
49
+ "max_rel_pos": 128,
50
+ "model_type": "layoutlmv3",
51
+ "num_attention_heads": 12,
52
+ "num_channels": 3,
53
+ "num_hidden_layers": 12,
54
+ "pad_token_id": 1,
55
+ "patch_size": 16,
56
+ "rel_2d_pos_bins": 64,
57
+ "rel_pos_bins": 32,
58
+ "second_input_size": 112,
59
+ "shape_size": 128,
60
+ "text_embed": true,
61
+ "torch_dtype": "float32",
62
+ "transformers_version": "4.25.1",
63
+ "type_vocab_size": 1,
64
+ "visual_embed": true,
65
+ "vocab_size": 50265
66
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:601616197bbbf0ed3f1e0dc10edb63cfc91004eb2bf48299e5c71e68c0d8c249
3
+ size 503781199