m-daniyal-shaiq123 commited on
Commit
b7a568b
·
1 Parent(s): 59de39c

Upload LayoutLMv3ForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +76 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "LABEL_0",
18
+ "1": "LABEL_1",
19
+ "2": "LABEL_2",
20
+ "3": "LABEL_3",
21
+ "4": "LABEL_4",
22
+ "5": "LABEL_5",
23
+ "6": "LABEL_6",
24
+ "7": "LABEL_7",
25
+ "8": "LABEL_8",
26
+ "9": "LABEL_9",
27
+ "10": "LABEL_10",
28
+ "11": "LABEL_11",
29
+ "12": "LABEL_12",
30
+ "13": "LABEL_13",
31
+ "14": "LABEL_14",
32
+ "15": "LABEL_15"
33
+ },
34
+ "initializer_range": 0.02,
35
+ "input_size": 224,
36
+ "intermediate_size": 3072,
37
+ "label2id": {
38
+ "LABEL_0": 0,
39
+ "LABEL_1": 1,
40
+ "LABEL_10": 10,
41
+ "LABEL_11": 11,
42
+ "LABEL_12": 12,
43
+ "LABEL_13": 13,
44
+ "LABEL_14": 14,
45
+ "LABEL_15": 15,
46
+ "LABEL_2": 2,
47
+ "LABEL_3": 3,
48
+ "LABEL_4": 4,
49
+ "LABEL_5": 5,
50
+ "LABEL_6": 6,
51
+ "LABEL_7": 7,
52
+ "LABEL_8": 8,
53
+ "LABEL_9": 9
54
+ },
55
+ "layer_norm_eps": 1e-05,
56
+ "max_2d_position_embeddings": 1024,
57
+ "max_position_embeddings": 514,
58
+ "max_rel_2d_pos": 256,
59
+ "max_rel_pos": 128,
60
+ "model_type": "layoutlmv3",
61
+ "num_attention_heads": 12,
62
+ "num_channels": 3,
63
+ "num_hidden_layers": 12,
64
+ "pad_token_id": 1,
65
+ "patch_size": 16,
66
+ "rel_2d_pos_bins": 64,
67
+ "rel_pos_bins": 32,
68
+ "second_input_size": 112,
69
+ "shape_size": 128,
70
+ "text_embed": true,
71
+ "torch_dtype": "float32",
72
+ "transformers_version": "4.26.1",
73
+ "type_vocab_size": 1,
74
+ "visual_embed": true,
75
+ "vocab_size": 50265
76
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d67592c2de1af3e51957374c21c3831188ac1852584a60d45ca0a4f2f2f76b02
3
+ size 503798513