iamkhadke commited on
Commit
5428e28
1 Parent(s): 9f8332a

Upload LayoutLMv3ForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +74 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "advertisement": 1,
18
+ "budget": 4,
19
+ "email": 6,
20
+ "file_folder": 9,
21
+ "form": 0,
22
+ "invoice": 8,
23
+ "letter": 11,
24
+ "memo": 13,
25
+ "news_article": 12,
26
+ "presentation": 10,
27
+ "questionnaire": 5,
28
+ "resume": 14,
29
+ "scientific_publication": 3,
30
+ "scientific_report": 7,
31
+ "specification": 2
32
+ },
33
+ "initializer_range": 0.02,
34
+ "input_size": 224,
35
+ "intermediate_size": 3072,
36
+ "label2id": {
37
+ "0": "form",
38
+ "1": "advertisement",
39
+ "2": "specification",
40
+ "3": "scientific_publication",
41
+ "4": "budget",
42
+ "5": "questionnaire",
43
+ "6": "email",
44
+ "7": "scientific_report",
45
+ "8": "invoice",
46
+ "9": "file_folder",
47
+ "10": "presentation",
48
+ "11": "letter",
49
+ "12": "news_article",
50
+ "13": "memo",
51
+ "14": "resume"
52
+ },
53
+ "layer_norm_eps": 1e-05,
54
+ "max_2d_position_embeddings": 1024,
55
+ "max_position_embeddings": 514,
56
+ "max_rel_2d_pos": 256,
57
+ "max_rel_pos": 128,
58
+ "model_type": "layoutlmv3",
59
+ "num_attention_heads": 12,
60
+ "num_channels": 3,
61
+ "num_hidden_layers": 12,
62
+ "pad_token_id": 1,
63
+ "patch_size": 16,
64
+ "rel_2d_pos_bins": 64,
65
+ "rel_pos_bins": 32,
66
+ "second_input_size": 112,
67
+ "shape_size": 128,
68
+ "text_embed": true,
69
+ "torch_dtype": "float32",
70
+ "transformers_version": "4.35.2",
71
+ "type_vocab_size": 1,
72
+ "visual_embed": true,
73
+ "vocab_size": 50265
74
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e9136990b8153ef57cdce9e74328265d31424e971b4652e7a7afd6b87df6f83
3
+ size 503742740