Pasit commited on
Commit
1e03c76
·
verified ·
1 Parent(s): c18a211

Upload LayoutLMv3ForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +77 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "advertisement",
18
+ "1": "budget",
19
+ "2": "email",
20
+ "3": "file_folder",
21
+ "4": "form",
22
+ "5": "handwritten",
23
+ "6": "invoice",
24
+ "7": "letter",
25
+ "8": "memo",
26
+ "9": "news_article",
27
+ "10": "presentation",
28
+ "11": "questionnaire",
29
+ "12": "resume",
30
+ "13": "scientific_publication",
31
+ "14": "scientific_report",
32
+ "15": "specification"
33
+ },
34
+ "initializer_range": 0.02,
35
+ "input_size": 224,
36
+ "intermediate_size": 3072,
37
+ "label2id": {
38
+ "advertisement": 0,
39
+ "budget": 1,
40
+ "email": 2,
41
+ "file_folder": 3,
42
+ "form": 4,
43
+ "handwritten": 5,
44
+ "invoice": 6,
45
+ "letter": 7,
46
+ "memo": 8,
47
+ "news_article": 9,
48
+ "presentation": 10,
49
+ "questionnaire": 11,
50
+ "resume": 12,
51
+ "scientific_publication": 13,
52
+ "scientific_report": 14,
53
+ "specification": 15
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
+ "problem_type": "single_label_classification",
67
+ "rel_2d_pos_bins": 64,
68
+ "rel_pos_bins": 32,
69
+ "second_input_size": 112,
70
+ "shape_size": 128,
71
+ "text_embed": true,
72
+ "torch_dtype": "float32",
73
+ "transformers_version": "4.35.2",
74
+ "type_vocab_size": 1,
75
+ "visual_embed": true,
76
+ "vocab_size": 50265
77
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1de7e7ef3512e0e9de2cd9c3673f858d0b06e5fa093cecc00abab4f8b3f29c89
3
+ size 503745816