rbrohithraj commited on
Commit
7fcee49
·
1 Parent(s): f0dcd49

Upload LayoutLMv3ForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +52 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/layoutlmv3-large",
3
+ "architectures": [
4
+ "LayoutLMv3ForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "coordinate_size": 171,
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": 1024,
16
+ "id2label": {
17
+ "0": "passport",
18
+ "1": "ssn",
19
+ "2": "ead",
20
+ "3": "i94"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "input_size": 224,
24
+ "intermediate_size": 4096,
25
+ "label2id": {
26
+ "ead": 2,
27
+ "i94": 3,
28
+ "passport": 0,
29
+ "ssn": 1
30
+ },
31
+ "layer_norm_eps": 1e-05,
32
+ "max_2d_position_embeddings": 1024,
33
+ "max_position_embeddings": 514,
34
+ "max_rel_2d_pos": 256,
35
+ "max_rel_pos": 128,
36
+ "model_type": "layoutlmv3",
37
+ "num_attention_heads": 16,
38
+ "num_channels": 3,
39
+ "num_hidden_layers": 24,
40
+ "pad_token_id": 1,
41
+ "patch_size": 16,
42
+ "rel_2d_pos_bins": 64,
43
+ "rel_pos_bins": 32,
44
+ "second_input_size": 112,
45
+ "shape_size": 170,
46
+ "text_embed": true,
47
+ "torch_dtype": "float32",
48
+ "transformers_version": "4.32.0",
49
+ "type_vocab_size": 1,
50
+ "visual_embed": true,
51
+ "vocab_size": 50265
52
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47862cc0de5e1a748a35fe7d2b9a2dc37f48ccb4cfe23f42c886a73605482c9b
3
+ size 1428372333