Meem24 commited on
Commit
05659bf
1 Parent(s): 586015f

Upload LayoutLMv3ForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +50 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "tr_first",
18
+ "1": "tr_last",
19
+ "2": "tr_middle"
20
+ },
21
+ "initializer_range": 0.02,
22
+ "input_size": 224,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "tr_first": 0,
26
+ "tr_last": 1,
27
+ "tr_middle": 2
28
+ },
29
+ "layer_norm_eps": 1e-05,
30
+ "max_2d_position_embeddings": 1024,
31
+ "max_position_embeddings": 514,
32
+ "max_rel_2d_pos": 256,
33
+ "max_rel_pos": 128,
34
+ "model_type": "layoutlmv3",
35
+ "num_attention_heads": 12,
36
+ "num_channels": 3,
37
+ "num_hidden_layers": 12,
38
+ "pad_token_id": 1,
39
+ "patch_size": 16,
40
+ "rel_2d_pos_bins": 64,
41
+ "rel_pos_bins": 32,
42
+ "second_input_size": 112,
43
+ "shape_size": 128,
44
+ "text_embed": true,
45
+ "torch_dtype": "float32",
46
+ "transformers_version": "4.27.2",
47
+ "type_vocab_size": 1,
48
+ "visual_embed": true,
49
+ "vocab_size": 50265
50
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9904f5da3bc9fadcff3221f316b1ef2980b00c76f9b5a481780d28e409ec1dc0
3
+ size 503755950